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=0965b078bc4bfb4c9085df939c34813030621f55;hb=ea36e81b91c8689ae44d413eca4697d1993ac30b;hpb=168f6243a42314347bf385c9f79ccf0fdd7729c2 diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 0965b07..f74b34c 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -1,110 +1,135 @@ - - - - - - - - - -
- Photo {$image_name}
- {if $photo_count > 0} - {$photo_number} of {$photo_count} - {if $photo_count == 1} - Photo - {else} - Photos - {/if} - {if $description} -  {$description}
- {/if} +
+
+ Photo {$image_name}
+ {if $photo_count > 0} + {$photo_number} of {$photo_count} + {if $photo_count == 1} + Photo + {else} + Photos {/if} -
- - {if $extern_link } - + {if isset($description) } + - {$description}
{/if} - - original resolution - -
-
- - - - - - - - - -
- { if $next_url == "" } - - { else } - - { /if } - photo - -
- { if $previous_url == "" } - first photo reached - { else } - - previous photo - - { /if } - - - photo index - - - { if $next_url == "" } - last photo reached - { else } - - next photo - - { /if} -
-
-
-
- { if $ExifMadeWith } - camera icon Image taken with:
+ {/if} +
+
+ + + +  Auto-Browse + {if isset($extern_link) } +  External Link + {/if} + original resolution Fullsize +
+ + +

+ +

+ { 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) }
- available tags Tagged with:
+ Versions:
+ +
+ { /if } + { if isset($tags) } +
+ 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 !isset($next_url) || $next_url == "" } + + { else } + + { /if } + {$image_filename} + +
+ + + +
+ + + { if !isset($previous_url) || $previous_url == "" } + first photo reached + { else } + + previous photo + + { /if } + + + + photo index + + + + { if !isset($next_url) || $next_url == "" } + last photo reached + { else } + + next photo + + { /if} +
+

+