Exemplo n.º 1
0
if ($_zp_current_album->getParent()) {
    $linklabel = gettext('subalbum');
    $parent = $_zp_current_album->getParent();
    $totalalbums = $parent->getNumAlbums();
} else {
    $linklabel = gettext('album');
    $totalalbums = $_zp_gallery->getNumAlbums();
}
?>
							<div class="image-prev">
								<?php 
$albumnav = getPrevAlbum();
if (!is_null($albumnav)) {
    ?>
								<a href="<?php 
    echo getPrevAlbumURL();
    ?>
" title="<?php 
    echo html_encode($albumnav->getTitle());
    ?>
"><?php 
    echo '&larr; ' . gettext('prev') . ' ' . $linklabel;
    ?>
</a>
								<?php 
}
?>
							</div>
							<div class="image-next">
								<?php 
$albumnav = getNextAlbum();
Exemplo n.º 2
0
echo 'Albums Index';
?>
"><?php 
echo getGalleryTitle();
?>
</a> | <?php 
printParentBreadcrumb();
?>
</span> <?php 
printAlbumTitle();
?>
</h2>
		</div>

		( <?php 
printLinkHTML(getPrevAlbumURL(), "« " . gettext("Prev Album"));
?>
 | <?php 
printLinkHTML(getNextAlbumURL(), gettext("Next album") . " »");
?>
 )

		<hr />
		<?php 
printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', '');
?>
	<?php 
printAlbumDesc(true);
?>
		<br />
Exemplo n.º 3
0
    ?>
</div><?php 
}
?>
				</div>
				
				<div class="gallery-sidebar pad">
					<?php 
if ($_zp_gallery_page == 'album.php') {
    ?>
					<div class="single-nav">
						<?php 
    if ($prev = getPrevAlbum()) {
        ?>
						<a class="button prev-link" href="<?php 
        echo html_encode(getPrevAlbumURL());
        ?>
" title="<?php 
        echo gettext('Prev album') . ': ' . html_encode($prev->getTitle());
        ?>
"><i class="fa fa-caret-left"></i> <?php 
        echo gettext("Prev album");
        ?>
</a>
						<?php 
    } else {
        ?>
						<span class="button prev-link"><i class="fa fa-caret-left"></i> <?php 
        echo gettext("Prev Album");
        ?>
</span>
Exemplo n.º 4
0
echo 'Albums Index';
?>
"><?php 
echo getGalleryTitle();
?>
</a> | <?php 
printParentBreadcrumb();
?>
</span> <?php 
printAlbumTitle(true);
?>
</h2>
		</div>

		( <?php 
printLink(getPrevAlbumURL(), "&laquo; " . gettext("Prev Album"));
?>
 | <?php 
printLink(getNextAlbumURL(), gettext("Next Album") . " &raquo;");
?>
 )

		<hr />
		<?php 
printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', '');
?>
	<?php 
printAlbumDesc(true);
?>
		<br />