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=f74b34c3b6a224be966049dbafab634058304b87;hp=a9ecec4df9f2d5a0da8e266e41eb8ed7bfd2b6e9;hb=ea36e81b91c8689ae44d413eca4697d1993ac30b;hpb=8a050d435329e91cf33fc12f56c82b7a4b479d0a diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index a9ecec4..f74b34c 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,39 +9,55 @@ {else} Photos {/if} - {if $description} + {if isset($description) } - {$description}
{/if} {/if}
-
- - - -  Auto-Browse - {if $extern_link } +
+ + + +  Auto-Browse + {if isset($extern_link) }  External Link {/if} - original resolution Fullsize + original resolution Fullsize
-
-
- { if $ExifMadeWith } +

+ +

+ { if isset($ExifMadeWith) } camera icon Image taken with:
{$ExifMadeWith}
{ /if } - { if $ExifMadeOn } + { if isset($ExifMadeOn) } calendar icon Image made on:
{$ExifMadeOn}
{ /if } - { if $ExifOrigResolution } + { if isset($ExifOrigResolution) } resolution icon Original resolution:
- {$ExifOrigResolution}
+ {$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:
{ foreach from=$tags key=id item=name } @@ -49,13 +65,13 @@ { /foreach } { /if }
- { if $prev_img } + { if isset($prev_img) && isset($previous_url) } photo icon Previous:

{ /if} - { if $next_img } + { if isset($next_img) && isset($next_url) } photo icon Next:

@@ -65,8 +81,8 @@ -
- { if $next_url == "" } +
+ { if !isset($next_url) || $next_url == "" } { else } @@ -77,18 +93,24 @@ -
- { if $previous_url == "" } +
+ + + { if !isset($previous_url) || $previous_url == "" } first photo reached { else } previous photo { /if } + + photo index - { if $next_url == "" } + + + { if !isset($next_url) || $next_url == "" } last photo reached { else } @@ -96,11 +118,11 @@ { /if}
-
+