X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=themes%2Fdefault%2Ftemplates%2Fphoto_index.tpl;h=ddc3229df5a6b00ed6da0dafa0a99a5fd7890e68;hp=b14afe4a65583ff2e08e5f0ba828c6df3ee99ffe;hb=ea36e81b91c8689ae44d413eca4697d1993ac30b;hpb=a3a90c2dc722e2b2a81dd1ee5eedea96e5f9fd4d diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index b14afe4..ddc3229 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -3,15 +3,15 @@
-
+
Photo Index - {if $searchfor } + {if isset($searchfor) } {if $count == 1} {$count} image is the result for your search about "{$searchfor}". {else} {$count} images are the result for your search about "{$searchfor}". {/if} - {elseif $tag_result} + {elseif isset($tag_result)} {if $count == 1} {$count} image has been found for the selected tags. {else} @@ -24,22 +24,22 @@ {$count} images have been found. {/if} {/if} - {if $from_date && $to_date } + {if isset($from_date) && isset($to_date) }
Results are limited to a date within {$from_date} to {$to_date}. {/if}
-
- {if $slideshow_link } +
+ {if isset($slideshow_link) }  Slideshow {/if} - {if $extern_link } + {if isset($extern_link) }  External Link {/if} - {if $export_link } + {if isset($export_link) }  Export {/if} - {if $rss_link } + {if isset($rss_link) }  RSS-Feed {/if}
@@ -48,16 +48,16 @@ -{ if $tag_result } +{ if isset($tag_result) } -
- -
-
+
+ +
Tags:
- { $selected_tags } -
+
+ { $selected_tags } +
{ /if } @@ -66,17 +66,29 @@ {section name="thumb" loop=$thumbs step=1} - {if $images[thumb] } + {if isset($images[thumb]) }
- + { if isset($user_friendly_url) } + + { else } + + { /if }
{$img_name[thumb]}
- { if $use_lightbox } + + { if isset($use_lightbox) } { /if } + + { if isset($img_rating[thumb]) } +
+ {section name="rating" loop=$img_rating[thumb] step=1} + + {/section} + { /if }
{/if} @@ -84,12 +96,12 @@ {/section}
-
+
- { if $next_url == "" } + { if !isset($next_url) || $next_url == "" } { if $count != 0 } last page reached { /if } @@ -102,7 +114,7 @@
- { if $previous_url == "" } + { if !isset($previous_url) || $previous_url == "" } { if $count != 0 } first page reached { /if } @@ -115,15 +127,21 @@
- { if $page_selector != "" } + { if isset($page_selector) && $page_selector != "" } {$page_selector} { /if}
-
+