</a> </span> | <?php echo gettext("A password is required for the page you requested"); ?> </h2> </div> <div id="padbox"> <?php printPasswordForm($hint, $show, false); ?> </div> </div> <div id="credit"> <?php if (!zp_loggedin() && function_exists('printRegisterURL') && $_zp_gallery->isUnprotectedPage('register')) { echo '<p>'; printRegisterURL(gettext('Register for this site'), '<br />'); echo '</p>'; } ?> <?php printSoftwareLink(); ?> </div> <?php zp_apply_filter('theme_body_close'); ?> </body> </html>
<?php printSearchForm(); ?> </div> <?php } ?> <div class="span6 pull-left"> <div id="copyright"> <?php echo getMainSiteName(); if (getOption('zpB_show_archive')) { printCustomPageURL(gettext('Archive View'), 'archive', '', ' | '); } if (!zp_loggedin() && extensionEnabled('register_user')) { printRegisterURL(gettext('Register'), ' | '); } if (extensionEnabled('user_login-out')) { printUserLogin_out(' | ', '', 1); ?> <script type="text/javascript"> $('.passwordform').before('| <a href="#zpB_login_passwordform" data-toggle="modal" class="zpB_logonlink" title="<?php echo gettext('Login'); ?> "><?php echo gettext('Login'); ?> </a>'); $('#zpB_login_passwordform').modal({ show: true });
function printFooter($admin = true) { global $_zp_themeroot, $_zp_gallery, $_zp_gallery_page, $_zp_current_zenpage_news, $_zp_current_zenpage_page; $h = NULL; ?> <!-- Footer --> <div class="footlinks"> <?php $h = @call_user_func('getHitcounter'); if (!is_null($h)) { ?> <p> <?php printf(ngettext('%1$u hit on this %2$s', '%1$u hits on this %2$s', $h), $h, gettext('page')); ?> </p> <?php } if ($_zp_gallery_page == 'gallery.php') { ?> <p> <small> <?php $albumNumber = getNumAlbums(); echo sprintf(ngettext("%u Album", "%u Albums", $albumNumber), $albumNumber); ?> · <?php $c = get_subalbum_count(); echo sprintf(ngettext("%u Subalbum", "%u Subalbums", $c), $c); ?> · <?php $photosNumber = db_count('images'); echo sprintf(ngettext("%u Image", "%u Images", $photosNumber), $photosNumber); ?> <?php if (function_exists('printCommentForm')) { ?> · <?php $commentsNumber = db_count('comments', " WHERE inmoderation = 0"); echo sprintf(ngettext("%u Comment", "%u Comments", $commentsNumber), $commentsNumber); } ?> </small> </p> <?php } ?> <?php printThemeInfo(); ?> <?php printZenphotoLink(); ?> <br /> <?php if (function_exists('printFavoritesURL') && $_zp_gallery_page != 'password.php' && $_zp_gallery_page != 'favorites.php') { printFavoritesURL(NULL, '', ' | ', '<br />'); } ?> <?php if ($_zp_gallery_page == 'gallery.php') { if (class_exists('RSS')) { printRSSLink('Gallery', '', 'Gallery RSS', ''); } echo '<br />'; } ?> <?php @call_user_func('printUserLogin_out', '', '<br />'); ?> <?php if ($_zp_gallery_page != 'contact.php' && extensionEnabled('contact_form') && ($_zp_gallery_page != 'password.php' || $_zp_gallery->isUnprotectedPage('contact'))) { printCustomPageURL(gettext('Contact us'), 'contact', '', ''); echo '<br />'; } ?> <?php if ($_zp_gallery_page != 'register.php' && function_exists('printRegisterURL') && !zp_loggedin() && ($_zp_gallery_page != 'password.php' || $_zp_gallery->isUnprotectedPage('register'))) { printRegisterURL(gettext('Register for this site'), ''); echo '<br />'; } ?> <?php @call_user_func('mobileTheme::controlLink'); ?> <?php @call_user_func('printLanguageSelector'); ?> <br class="clearall" /> </div> <!-- Administration Toolbox --> <?php }
function footer() { global $_zp_gallery_page, $_zp_current_category, $_zp_gallery; ?> <div id="footer"> <?php if (function_exists('printFavoritesURL') && $_zp_gallery_page != 'password.php' && $_zp_gallery_page != 'favorites.php') { printFavoritesURL(NULL, '', ' | ', '<br />'); } if (class_exists('RSS')) { $prev = ' | '; switch ($_zp_gallery_page) { default: printRSSLink('Gallery', '', 'RSS', ''); break; case 'album.php': printRSSLink('Album', '', 'RSS', ''); break; case 'news.php': if (is_NewsCategory()) { printRSSLink('Category', '', 'RSS', '', true, null, '', NULL, $_zp_current_category->getTitlelink()); } else { printRSSLink('News', '', 'RSS', ''); } break; case 'password.php': $prev = ''; break; } } else { $prev = ''; } if ($_zp_gallery_page != 'password.php' && $_zp_gallery_page != 'archive.php') { printCustomPageURL(gettext('Archive View'), 'archive', '', $prev, ''); $prev = ' | '; } ?> <?php if ($_zp_gallery_page != 'contact.php' && extensionEnabled('contact_form') && ($_zp_gallery_page != 'password.php' || $_zp_gallery->isUnprotectedPage('contact'))) { printCustomPageURL(gettext('Contact us'), 'contact', '', $prev, ''); $prev = ' | '; } ?> <?php if ($_zp_gallery_page != 'register.php' && function_exists('printRegisterURL') && !zp_loggedin() && ($_zp_gallery_page != 'password.php' || $_zp_gallery->isUnprotectedPage('register'))) { printRegisterURL(gettext('Register for this site'), $prev, ''); $prev = ' | '; } ?> <?php @call_user_func('printUserLogin_out', $prev); ?> <br /> <?php @call_user_func('mobileTheme::controlLink'); ?> <br /> <?php @call_user_func('printLanguageSelector'); ?> <?php printZenphotoLink(); ?> </div> <?php }
</li> </ul> </div> <?php } if (function_exists("printUserLogin_out") || !zp_loggedin() && function_exists('printRegistrationForm') || class_exists('mobileTheme')) { ?> <div class="menu"> <ul> <?php if (!zp_loggedin() && function_exists('printRegisterURL')) { ?> <li> <?php if ($_zp_gallery_page != 'register.php') { printRegisterURL(gettext('Register for this site')); } else { echo gettext("Register for this site"); } ?> </li> <?php } if (function_exists('printFavoritesURL')) { printFavoritesURL(NULL, '<li>', '</li><li>', '</li>'); } if (function_exists("printUserLogin_out")) { printUserLogin_out("<li>", "</li>"); } if (class_exists('mobileTheme')) { ?>
if (class_exists('RSS')) { printRSSLink('Gallery', '', 'RSS', ' | '); } ?> <?php printCustomPageURL(gettext("Archive View"), "archive"); ?> | <?php if (extensionEnabled('contact_form')) { printCustomPageURL(gettext('Contact us'), 'contact', '', '', ' | '); } ?> <?php if (!zp_loggedin() && function_exists('printRegisterURL')) { printRegisterURL(gettext('Register for this site'), '', ' | '); } ?> <?php printZenphotoLink(); ?> </div> <?php @call_user_func('mobileTheme::controlLink'); ?> <?php @call_user_func('printLanguageSelector'); ?> <?php zp_apply_filter('theme_body_close'); ?>