session->offlineAlbums["albums.php"]=true;
/* Read the album list */
$albumDB = new AlbumDB(FALSE);
$gallery->session->albumName = "";
$page = 1;
/* If there are albums in our list, display them in the table */
$numAlbums = $albumDB->numAlbums($gallery->user);
$numPhotos = $albumDB->getCachedNumPhotos($gallery->user);
if (!$gallery->session->albumListPage) {
$gallery->session->albumListPage = 1;
}
$perPage = $gallery->app->default["albumsPerPage"];
$maxPages = max(ceil($numAlbums / $perPage), 1);
if ($gallery->session->albumListPage > $maxPages) {
$gallery->session->albumListPage = $maxPages;
}
$imageDir = $gallery->app->photoAlbumURL . '/images';
$pixelImage = "
";
$borderColor = $gallery->app->default["bordercolor"];
$navigator["page"] = $gallery->session->albumListPage;
$navigator["pageVar"] = "set_albumListPage";
$navigator["url"] = makeGalleryUrl("albums.php");
$navigator["maxPages"] = $maxPages;
$navigator["spread"] = 6;
$navigator["fullWidth"] = 100;
$navigator["widthUnits"] = "%";
$navigator["bordercolor"] = $borderColor;
?>
| Search: |
";
print "
| ";
print "|||
| app->showAlbumTree, "yes")) { ?> | |||
| html_wrap['borderColor'] = $borderColor; $gallery->html_wrap['borderWidth'] = 1; $gallery->html_wrap['pixelImage'] = $imageDir . "/pixel_trans.gif"; $scaleTo = $gallery->app->highlight_size; $highlightIndex = $gallery->album->getHighlight(); if (isset($highlightIndex)) { list($iWidth, $iHeight) = $gallery->album->getThumbDimensions($highlightIndex, $scaleTo); } else { $iWidth = $gallery->app->highlight_size; $iHeight = 100; } $gallery->html_wrap['thumbWidth'] = $iWidth; $gallery->html_wrap['thumbHeight'] = $iHeight; $gallery->html_wrap['thumbTag'] = $gallery->album->getHighlightTag($scaleTo); $gallery->html_wrap['thumbHref'] = $albumURL; includeHtmlWrap('inline_gallerythumb.frame'); ?> |
>
album, "title") ?>
album, "description") ?> app->default["showOwners"], "no")) { ?> Owner: getEmail()?>>getFullName()?> user->canDeleteAlbum($gallery->album)) { ?> user->canWriteToAlbum($gallery->album)) { ?> user->canChangeTextOfAlbum($gallery->album) && !$gallery->session->offline) { ?> $tmpAlbumName))?>>[edit captions] user->isAdmin() || $gallery->user->isOwnerOfAlbum($gallery->album)) { ?> album->fields["public_comments"],"yes")) { ?> $tmpAlbumName))?>>[view comments] url: > session->offline) { echo breakString($albumURL, 60, '&', 5); } else { echo $tmpAlbumName; } ?> session->offline) { ?> Hey! this album so that the URL is not so generic! album->versionOutOfDate()) { ?> user->isAdmin()) { ?> Note: This album is out of date! Last changed on album->getLastModificationDate()?>. This album contains album->numPhotos(0), "item", "no")?>. album->fields["display_clicks"] == "no") && !$gallery->session->offline) { ?> This album has been viewed album->getClicks(), "time", "0")?> since album->getClicksDate()?>. album->fields["name"]; if ($gallery->user->canWriteToAlbum($gallery->album) && (!($gallery->album->fields["display_clicks"] == "no"))) { ?> $albumName), "albums.php") . "'" , 1)?> |
app->showAlbumTree, "yes")) { ?>
||