예제 #1
0
function plogger_head()
{
    global $config;
    $title = generate_title($GLOBALS['plogger_level'], $GLOBALS['plogger_id']);
    if ($config["embedded"] == 0) {
        print "<title>" . SmartStripSlashes($config["gallery_name"]) . ": {$title} </title>\n";
    }
    print generate_slideshow_js($GLOBALS["plogger_id"], "album");
    print "\n";
    // Embed URL to RSS feed for proper level.
    print '<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="' . plogger_rss_link() . '" />' . "\n";
    print '<meta http-equiv="Content-Type" content="text/html;charset=' . $config['charset'] . '"/>' . "\n";
}
예제 #2
0
function plogger_head()
{
    global $config;
    if ($config['embedded'] == 0) {
        // Include title and charset in <head> if gallery is not embedded in another program (i.e., WordPress)
        // Prevents duplication of title and charset if gallery is embedded
        echo "\t" . '<title>' . get_head_title() . '</title>';
        echo "\n\t" . '<meta http-equiv="Content-Type" content="text/html;charset=' . $config['charset'] . '" />';
    }
    echo "\n\t" . '<meta http-equiv="imagetoolbar" content="false" />' . "\n";
    echo generate_slideshow_js();
    // Embed URL to RSS feed for proper level
    if (plogger_rss_link()) {
        echo "\t" . '<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="' . plogger_rss_link() . '" />' . "\n";
    }
}