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 '← ' . gettext('prev') . ' ' . $linklabel; ?> </a> <?php } ?> </div> <div class="image-next"> <?php $albumnav = getNextAlbum();
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 />
?> </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>
echo 'Albums Index'; ?> "><?php echo getGalleryTitle(); ?> </a> | <?php printParentBreadcrumb(); ?> </span> <?php printAlbumTitle(true); ?> </h2> </div> ( <?php printLink(getPrevAlbumURL(), "« " . gettext("Prev Album")); ?> | <?php printLink(getNextAlbumURL(), gettext("Next Album") . " »"); ?> ) <hr /> <?php printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', ''); ?> <?php printAlbumDesc(true); ?> <br />