Esempio n. 1
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";
    }
}
Esempio n. 2
0
$GLOBALS['plogger_level'] = 'picture';
$GLOBALS['plogger_id'] = intval($_GET['id']);
$GLOBALS['plogger_mode'] = 'print';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="<?php 
echo $language;
?>
" lang="<?php 
echo $language;
?>
" xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<title><?php 
echo get_head_title();
?>
</title>
</head>

<body onload="window.print();">

<div><img src="<?php 
echo $picture['url'];
?>
" alt="<?php 
echo $picture['caption'];
?>
" /></div>

<?php