<!-- PRINTS ZENPAGE EXTRA CONTENT FOR NEW ITEMS, IF APPLICABLE --> <?php if ($zenpage && getNewsExtraContent()) { ?> <div class="extracontent"> <?php printNewsExtraContent(); ?> </div> <?php } ?> <!-- PRINTS ZENPAGE EXTRA CONTENT FOR PAGE ITEMS, IF APPLICABLE --> <?php if ($zenpage && getPageExtraContent()) { ?> <div class="extracontent"> <?php printPageExtraContent(); ?> </div> <?php } ?> <!-- PRINTS GALLERY DESCRIPTION --> <h4 class="blockhead"><span><?php echo gettext('About'); ?> </span></h4>
?> <div class="section"><?php printCommentForm(); ?> </div><?php } ?> </div> <div id="sidebar"<?php if ($zpmin_switch) { echo ' class="switch"'; } ?> > <?php if (getPageExtraContent()) { ?> <div class="sidebar-divide"> <div class="extra-content"><?php printPageExtraContent(); ?> </div> </div> <?php } ?> <?php include "inc-sidemenu.php"; ?> <?php if (function_exists('printCommentForm')) {
/** * Prints page extra content if on a page either of the current page or if requested by titlelink directly. If not both return false * Set the titlelink of a page to call a specific even un-published page ($published = false) as a gallery description or on another custom page for example * * @param string $titlelink the titlelink of the page to print the content from * @param bool $published If titlelink is set, set this to false if you want to call an un-published page's extra content. True is default * @return mixed */ function printPageExtraContent($titlelink = NULL, $published = true) { echo getPageExtraContent($titlelink, $published); }
</span> <?php if (getOption('zpbase_social')) { include 'inc/socialshare.php'; } ?> </div> </div> <?php $hasFeaturedImage = false; if (function_exists('printSizedFeaturedImage')) { $hasFeaturedImage = getFeaturedImage(); } ?> <?php if (getCodeBlock() || $hasFeaturedImage || getPageExtraContent()) { ?> <div class="page-inset"> <?php if ($hasFeaturedImage) { printSizedFeaturedImage(null, null, getOption('thumb_size'), null, null, null, null, null, null, 'remove-attributes', null, true, null); } ?> <?php printCodeblock(); ?> <?php if (getNewsExtraContent()) { printNewsExtraContent(); } ?>