示例#1
0
if (!defined('WEBPATH')) {
    die;
}
?>
<!DOCTYPE html>
	<head>
		<?php 
include_once 'header.php';
?>
		<meta name="keywords" content="<?php 
echo html_encode(getFormattedMainSiteName('', ', ') . getGalleryTitle());
?>
" />
		<meta name="description" content="<?php 
echo html_encode(getGalleryDesc());
?>
" />
		<title>
			<?php 
echo strip_tags(getFormattedMainSiteName('', ' / ') . getGalleryTitle() . ' / ' . gettext('News'));
if (is_NewsArticle()) {
    echo strip_tags(' / ' . getNewsTitle());
}
?>
		</title>
	</head>
	<body id="gallery-index">
	<?php 
zp_apply_filter('theme_body_open');
?>
示例#2
0
if (!defined('WEBPATH')) {
    die;
}
?>
<!DOCTYPE html>
	<head>
		<?php 
include_once 'header.php';
?>
		<meta name="keywords" content="<?php 
echo html_encode(getMainSiteName() . ', ' . getGalleryTitle());
?>
" />
		<meta name="description" content="<?php 
echo html_encode(getMainSiteName() . ' / ' . getGalleryTitle() . ' / ' . getGalleryDesc());
?>
" />
		<title><?php 
echo strip_tags(getMainSiteName() . ' / ' . getGalleryTitle());
?>
</title>
	</head>
	<body id="gallery-index" class="<?php 
echo 'page-' . getCurrentPage();
?>
">
	<?php 
zp_apply_filter('theme_body_open');
?>
		<div id="wrapper">
示例#3
0
</h1>
					<?php 
}
?>
				</div>
			</div>
			
			<div id="home-bar">
				<div id="gal-desc-wrap">
					<?php 
if (getGalleryDesc()) {
    ?>
					<div id="gal-desc">
						<div class="inner pad">
							<div><?php 
    echo shortenContent(getGalleryDesc(), 400, '...');
    ?>
</div>
						</div>
					</div>
					<?php 
}
?>
					<div class="inner pad">
						<div id="cbp-bicontrols" class="cbp-bicontrols">	
							<span class="cbp-biprev"></span>
							<span class="cbp-bipause"></span>
							<span class="cbp-binext"></span>
						</div>
					</div>
				</div>
/**
 * Prints the description of the gallery.
 */
function printGalleryDesc()
{
    echo html_encodeTagged(getGalleryDesc());
}
/**
 * Prints the description of the gallery.
 */
function printGalleryDesc()
{
    echo getGalleryDesc();
}