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=ee11a4f15516225be236241194da80b6fd67fbe6;hb=29136b0fe2cbc7c1ba524f3483701f1a257ecb7c;hpb=4c5aa67169b34a02bd7c3b482f178cb93f6700f9 diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index ee11a4f..5d11c14 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,28 +1,42 @@ - + - - -
- -
- 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} - Extern - photo index + + {if $slideshow_link } + + {/if} + {if $extern_link } + + {/if} +
@@ -30,51 +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 @@ -83,4 +99,9 @@
- + +