Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
Warning: chmod(): Operation not permitted in /mounted-storage/home7/.../plogger/admin/plog-admin-functions.php on line 100
function generate_title(){
switch ($GLOBALS['plogger_level']) {
case 'collection':
$row = get_collection_by_id($GLOBALS['plogger_id']);
$breadcrumbs = SmartStripSlashes($row["name"]);
if ($GLOBALS['plogger_mode'] == "slideshow") $breadcrumbs .= ' » Slideshow';
break;
case 'slideshow':
case 'album':
$row = get_album_by_id($GLOBALS['plogger_id']);
$album_name = SmartStripSlashes($row["name"]);
$row = get_collection_by_id($row["parent_id"]);
if ($GLOBALS['plogger_mode'] == "slideshow") {
$breadcrumbs = SmartStripSlashes($row["name"]) . ' » ' . $album_name.' » ' . ' Slideshow';
} else {
$breadcrumbs = $album_name;
}
break;
case 'picture':
$row = get_picture_by_id($GLOBALS['plogger_id']);
$picture_name = basename($row["path"]);
$row = get_album_by_id($row["parent_album"]);
$album_name = SmartStripSlashes($row["name"]);
$row = get_collection_by_id($row["parent_id"]);
$collection_name = SmartStripSlashes($row["name"]);
$breadcrumbs = $album_name . ' » ' . $picture_name . ' | ' . SmartStripSlashes($config["gallery_name"]);
if ($GLOBALS['plogger_mode'] == "slideshow") $breadcrumbs .= ' » Slideshow';
break;
default:
$breadcrumbs = ' Collections';
}
return $breadcrumbs;
}
print "<title>" . SmartStripSlashes($config["gallery_name"]) . ": $title </title>\n";
print "<title>$title</title>\n";
function generate_header() {
global $config;
if ($GLOBALS['plogger_level'] == "collection") {
$desc = get_collection_by_id($GLOBALS['plogger_id']);
$collection_name = SmartStripSlashes($desc["name"]);
$output = '<h2 id="gallery-name">'.$collection_name.'</h2>';
} elseif ($GLOBALS['plogger_level'] == "album") {
$desc = get_album_by_id($GLOBALS['plogger_id']);
$album_name = SmartStripSlashes($desc["name"]);
$output = '<h2 id="gallery-name">'.$album_name.'</h2>';
} elseif ($GLOBALS['plogger_level'] == "picture") {
$desc = get_album_by_id($GLOBALS['plogger_id']);
$album_name = SmartStripSlashes($desc["name"]);
$output = '<h2 id="gallery-name">'.$album_name.'</h2>';
}
return $output;
}
if ($GLOBALS['plogger_level'] == "album") {
$desc = get_album_by_id($GLOBALS['plogger_id']);
$album_name = SmartStripSlashes($desc["name"]);
print '<meta name="Description" content="' . $album_name . '">';
}
$imgtag = '<img class="photos-large" src="'.plogger_get_picture_thumb(THUMB_LARGE).'" title="'.$capt.'" alt="'.$capt.'" />';
$imgtag = '<img class="photos-large" src="'.plogger_get_picture_thumb(THUMB_LARGE).'" title="'. $picture_caption .'" alt="'. $picture_caption .'" />';
if (1 == $thumb_config['disabled']) {
return $config['baseurl'] . '/images/' . $path;
}
I don't see the rss feed button on my single picture pages.
$desc = get_album_by_id($GLOBALS['plogger_id']);
$album_name = SmartStripSlashes($desc["description"]);
print '<meta name="Description" content="' . $album_name . '">';