function printBreadCrumb($after = '') { global $_zp_current_album; if (isset($this->album)) { $b = $_zp_current_album; $_zp_current_album = $this->album; echo "< "; if ($_zp_current_album->getParent()) { printParentBreadCrumb('', ' : ', ' : '); } echo "<span id='album-title-span'>"; printAlbumTitle(); echo "</span>"; echo $after; echo " >"; $_zp_current_album = $b; } }
printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 95, 95, 95, 95); ?> </a> </div> <div class="albumdesc"> <h3><a href="<?php echo html_encode(getAlbumURL()); ?> " title="<?php echo gettext('View album:'); ?> <?php printBareAlbumTitle(); ?> "><?php printAlbumTitle(); ?> </a></h3> <?php printAlbumDate(""); ?> <p><?php echo truncate_string(getAlbumDesc(), 45); ?> </p> </div> </div> <?php } ?> </div>
<div class="section"><?php printCommentForm(); ?> </div><?php } ?> </div> <div id="sidebar"<?php if ($zpmin_switch) { echo ' class="switch"'; } ?> > <div class="sidebar-divide"> <h3><?php printAlbumTitle(true); ?> </h3> <div class="sidebar-section"><?php printAlbumDate('', '', null, true); ?> </div> <?php if (getAlbumDesc() || zp_loggedin()) { ?> <div class="sidebar-section"><?php printAlbumDesc(true); ?> </div><?php } ?>
function zp_side_bar() { ?> <div id="sidebar"> <?php //-------------If you are in the Image Page if (in_context(ZP_IMAGE)) { ?> <div class="imgnav"> <?php if (hasPrevImage()) { ?> <div class="imgprevious"><a href="<?php echo getPrevImageURL(); ?> " title="Previous Image"><img src="<?php echo getPrevImageThumb(); ?> " /><br /><small>« prev |</small></a></div> <?php } if (hasNextImage()) { ?> <div class="imgnext"><a href="<?php echo getNextImageURL(); ?> " title="Next Image"><img src="<?php echo getNextImageThumb(); ?> " /><br /><small>| next »</small></a></div> <?php } ?> </div> <div id="sbinfo"> <b>Album Name:</b> <?php printAlbumTitle(true); ?> <br /> <b>Number of Photos:</b> <?php echo getNumImages(); ?> <br /> <b>Album Date:</b> <?php printAlbumDate($before = "Date: ", $format = "%F"); ?> <br /> <b>Album Description:</b> <?php printAlbumDesc(true); ?> <br /> <b>Image Name:</b> <?php echo getImageTitle(); ?> <br /> <b>Image Description:</b> <?php printImageDesc(true); ?> <br /> </div> <?php //--------------- If you are in the Album Page } else { if (in_context(ZP_ALBUM)) { ?> <b>Album Name:</b> <?php printAlbumTitle(true); ?> <br /> <b>Number of Pictures:</b> <?php echo getNumImages(); ?> <br /> <b>Album Date:</b> <?php printAlbumDate($before = "Date: ", $format = "%F"); ?> <br /> <b>Album Description:</b> <?php printAlbumDesc(true); ?> <br /> <?php //--------------- If you are in the Index Page } else { if (in_context(ZP_INDEX)) { } } } ?> </div> <?php }
?> " title="Gallery Index"><?php echo getGalleryTitle(); ?> </a></h2> </div> <div id="breadcrumb"> <div class="left"><a title="Home" href="<?php echo getGalleryIndexURL(); ?> ">home</a> > <a href="<?php echo getAlbumURL(); ?> "> <?php printAlbumTitle(false); ?> </a> > <?php printImageTitle(true); ?> </div><div class="right">use arrow keys to navigate </div> </div> <div id="imgnav"> <?php if (hasNextImage()) { ?> <a id="forw" href="<?php echo getNextImageURL(); ?> " title="Next Image"><span>Next Image</span></a>
$videopresent = true; } ?> <?php } ?> </div> <?php } ?> <div> <?php printParentBreadcrumb('', ' » ', ' » ', 30, '...'); ?> <?php echo shortenContent(printAlbumTitle(true), 30, '...'); ?> <small>( <?php if (getNumAlbums() > 0) { echo getNumAlbums() . gettext(' Subalbums, '); } ?> <?php echo getTotalImagesIn($_zp_current_album) . gettext(' Total Images'); ?> )</small> </div> </div> </div> </div>