X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=5d11c145cdd8d6f5a834299831428f01ce772ef4;hp=9ac74585afaf38509d3bfb99e2815eb9f0a85376;hb=29136b0fe2cbc7c1ba524f3483701f1a257ecb7c;hpb=bfd5316327702904d69fe454ff9cce23f6206826;ds=sidebyside diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 9ac7458..5d11c14 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -4,34 +4,39 @@ -
- Photo Index, - {if ! $searchfor } + + Photo Index + {if $searchfor } {if $count == 1} - {$count} image has been found for the selected tags + {$count} image is the result for your search about "{$searchfor}". {else} - {$count} images have been found for the selected tags + {$count} images are the result for your search about "{$searchfor}". + {/if} + {elseif $tag_result} + {if $count == 1} + {$count} image has been found for the selected tags. + {else} + {$count} images have been found for the selected tags. {/if} {else} {if $count == 1} - {$count} image is the result for your search about "{$searchfor}" + {$count} image has been found. {else} - {$count} images are the result for your search about "{$searchfor}" + {$count} images have been found. {/if} {/if} + {if $from_date && $to_date } + Results are limited to a date within {$from_date} to {$to_date}. + {/if} -
+ {if $slideshow_link } + + {/if} {if $extern_link } {/if} - - -
+
@@ -39,52 +44,53 @@ +
-
- +
{section name="row" loop=$rows step=1} {section name="col" loop=$columns step=1} - {/if} - {/section} {/section}
{if $images[row][col] } -
- +
+ thumb_{$images[row][col]}
{$img_name[row][col]}
{else} -   +
 
-
- + { if $previous_url == "" } + { if $count != 0 } first page reached + { /if } { else } previous photo { /if } - + { if $page_selector == "" }   { else } {$page_selector} { /if} - + { if $next_url == "" } + { if $count != 0 } last page reached + { /if } { else } next photo @@ -93,4 +99,9 @@ +