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=20b59f8d6c49f9a540e27e5742bb9797f0769672;hb=ea36e81b91c8689ae44d413eca4697d1993ac30b;hpb=6da6a0bae7001a35ac6530fbd6ff9aeab140983f diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 20b59f8..f74b34c 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -9,7 +9,7 @@ {else} Photos {/if} - {if $description} + {if isset($description) } - {$description}
{/if} {/if} @@ -19,7 +19,7 @@  Auto-Browse - {if $extern_link } + {if isset($extern_link) }  External Link {/if} original resolution Fullsize @@ -29,27 +29,35 @@

- { 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}px
{ /if } Size: {$ExifFileSize}
- { if $image_rating } + { if isset($image_rating) && $image_rating > 0 } rating Rating:
{section name="rating" loop=$image_rating step=1} {/section}
{ /if } - { if $tags } + { if isset($has_versions) } +
+ Versions:
+ +
+ { /if } + { if isset($tags) }
available tags Tagged with:
{ foreach from=$tags key=id item=name } @@ -57,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:

@@ -74,7 +82,7 @@
- { if $next_url == "" } + { if !isset($next_url) || $next_url == "" } { else } @@ -86,17 +94,23 @@