X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=themes%2Fdefault%2Ftemplates%2Fsingle_photo.tpl;h=25235df420fcb12aeca61800249e2575a0e490a1;hp=ea513d9c851d44490078837f56f2ac7b99e63451;hb=HEAD;hpb=ffc29441338ca87bec6f6f1a331f638818edf693 diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index ea513d9..25235df 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -1,6 +1,6 @@
-
+
Photo {$image_name}
{if $photo_count > 0} {$photo_number} of {$photo_count} @@ -9,69 +9,83 @@ {else} Photos {/if} - {if $description} + {if isset($description) && $description != "" } - {$description}
{/if} {/if}
-
- - - - - {if $extern_link } - +
+ + + +  Auto-Browse + {if isset($extern_link) } +  External Link {/if} - - original resolution - + original resolution Fullsize
-
-
- { if $ExifMadeWith } - camera icon Image taken with:
+

+ +

+ { if isset($ExifMadeWith) } + camera icon Image taken with:
{$ExifMadeWith}
{ /if } - { if $ExifMadeOn } - calendar icon Image made on:
+ { if isset($ExifMadeOn) } + calendar icon Image made on:
{$ExifMadeOn}
{ /if } - { if $ExifOrigResolution } - resolution icon Original resolution:
- {$ExifOrigResolution}
+ { if isset($ExifOrigResolution) } + resolution icon Original resolution:
+ {$ExifOrigResolution}px
{ /if } Size: {$ExifFileSize}
- { if $tags } + { if isset($image_rating) && $image_rating > 0 } + rating Rating:
+ {section name="rating" loop=$image_rating step=1} + + {/section} +
+ { /if } + { if isset($has_versions) } +
+ Versions:
+ +
+ { /if } + { if isset($tags) }
- available tags Tagged with:
+ available tags Tagged with:
{ foreach from=$tags key=id item=name } - {$name}
+ {$name}
{ /foreach } { /if }
- { if $prev_img } - photo icon Previous:
- -
+ { if isset($prev_img) && isset($previous_url) } + photo icon Previous:
+
+
{ /if} - { if $next_img } - photo icon Next:
- -
+ { if isset($next_img) && isset($next_url) } + photo icon Next:
+
+
{ /if}
-
- { if $next_url == "" } - +
+ { if !isset($next_url) || $next_url == "" } + { else } - + { /if } {$image_filename} @@ -79,30 +93,43 @@ -
- { if $previous_url == "" } - first photo reached +
+ + + { if !isset($previous_url) || $previous_url == "" } + first photo reached { else } - - previous photo + + previous photo { /if } - - photo index + + + + photo index - { if $next_url == "" } - last photo reached + + + { if !isset($next_url) || $next_url == "" } + last photo reached { else } - - next photo + + next photo { /if}
-
+