-
Notifications
You must be signed in to change notification settings - Fork 4
/
image.php
70 lines (55 loc) · 2.51 KB
/
image.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php include ('inc_header.php'); ?>
<div id="image-page" class="clearfix">
<div id="headline" class="clearfix">
<div class="control-nav">
<div class="nav-img clearfix">
<ul class="clearfix">
<?php if (hasPrevImage()) { ?>
<li><a href="<?php echo html_encode(getPrevImageURL()); ?>" title="<?php echo gettext('Previous Image'); ?>">« <?php echo gettext('prev'); ?></a></li>
<?php } else { ?>
<li class="disabledlink"><span>« <?php echo gettext('prev'); ?></span></li>
<?php } ?>
<?php if (hasNextImage()) { ?>
<li><a href="<?php echo html_encode(getNextImageURL()); ?>" title="<?php echo gettext('Next Image'); ?>"><?php echo gettext('next'); ?> »</a></li>
<?php } else { ?>
<li class="disabledlink"><span><?php echo gettext('next'); ?> »</span></li>
<?php } ?>
</ul>
</div>
<?php if (function_exists('printSlideShowLink')) { ?>
<div class="control-slide">
<?php printSlideShowLink(gettext('Slideshow')); ?>
</div>
<?php } ?>
</div>
<h3><?php printGalleryIndexURL(' » ', getGalleryTitle(), false); ?><?php printParentBreadcrumb('', ' » ', ' » '); ?><?php printAlbumBreadcrumb('', ' » '); ?><?php printImageTitle(); ?></h3>
</div>
<div id="image">
<?php $fullimage = getFullImageURL(); ?>
<?php if ((getOption('use_colorbox_image')) && (!empty($fullimage))) { ?>
<a class="colorbox" href="<?php echo html_encode(pathurlencode($fullimage)); ?>" title="<?php echo html_encode(getBareImageTitle());?>"><?php printDefaultSizedImage(getBareImageTitle()); ?></a>
<?php } else { ?>
<?php printDefaultSizedImage(getBareImageTitle()); ?>
<?php } ?>
</div>
<div id="img-title"><?php printImageTitle(); ?></div>
<div id="img-infos"><?php printImageDesc(); ?></div>
<?php if (getOption('show_exif')) { ?>
<div id="exif-infos">
<?php zpardoise_printEXIF() ?>
</div>
<?php } ?>
<?php if (getOption('show_tag')) { ?>
<div class="headline-tags"><?php printTags('links', '', 'hor-list'); ?></div>
<?php } ?>
<?php if ((zp_loggedin()) && (extensionEnabled('favoritesHandler'))) { ?>
<div class="favorites"><?php printAddToFavorites($_zp_current_image); ?></div>
<?php } ?>
<?php if (extensionEnabled('rating')) { ?>
<div id="rating-wrap"><?php printRating(); ?></div>
<?php } ?>
</div>
<?php if (extensionEnabled('comment_form')) { ?>
<?php include('inc_print_comment.php'); ?>
<?php } ?>
<?php include('inc_footer.php'); ?>