-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinc-footer.php
executable file
·37 lines (36 loc) · 1.93 KB
/
inc-footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
</div> <!-- close wrappper -->
<div id="footer">
<div id="gradient"></div>
<div id="copy">
<span>© <?php echo getGalleryTitle();?></span>
<span>| <?php echo gettext('Subscribe: '); ?>
<?php
if (in_context(ZP_ALBUM)) { printRSSLink( "Collection","",gettext('This Album'),", ", false,"rsslink" ); }
printRSSLink( "Gallery","",(gettext('Gallery Images')),"",false,"rsslink" );
if (function_exists('printZenpageRSSLink')) { printZenpageRSSLink( "News",'',', ',gettext('News'),'',false ); }
?>
</span>
<span id="zpcredit">| <?php printZenphotoLink(); ?></span>
<?php if ($_zp_gallery_page == 'album.php') { ?>
<?php if ($_zp_current_album->getParent()) { $linklabel=gettext('Subalbum'); } else { $linklabel=gettext('Album'); } ?>
<div id="album-prev" class="album-nav">
<?php $albumnav = getPrevAlbum();
if (!is_null($albumnav)) { ?>
<a href="<?php echo getPrevAlbumURL(); ?>" title="<?php echo html_encode($albumnav->getTitle()); ?>"><?php echo '← '.$linklabel.': '.truncate_string($albumnav->getTitle(),20,'...'); ?></a>
<?php } ?>
</div>
<div id="album-next" class="album-nav">
<?php $albumnav = getNextAlbum();
if (!is_null($albumnav)) { ?>
<a href="<?php echo getNextAlbumURL(); ?>" title="<?php echo html_encode($albumnav->getTitle()); ?>"><?php echo $linklabel.': '.truncate_string($albumnav->getTitle(),20,'...').' →'; ?></a>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
<?php if ( ($_zp_gallery_page == 'image.php') && (function_exists('printPagedThumbsNav')) && (!function_exists('printjCarouselThumbNav')) ) { printPagedThumbsNav( '8',true,'','',50,50,true); } ?>
<?php if (function_exists('printLanguageSelector')) { printLanguageSelector("langselector"); } ?>
<div id="admin-toolbox"><?php printAdminToolbox(); ?></div>
<?php zp_apply_filter('theme_body_close'); ?>
</body>
</html>