X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=57cf2ff1f7126e8511ae108759142cdc5ea81993;hp=3172547d6794287c884747c147453e3e7ef187e6;hb=38599c2345c2cd49dec2e7ae25093cdb15eb5a23;hpb=7c498e18d97daa7ae42e355adf24b8c77cacad33 diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 3172547..57cf2ff 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,17 +1,35 @@ - -
- Photo Index
- {if $count == 1} - {$count} image has been found for the selected tags - {else} - {$count} images have been found for the selected tags - {/if} +
+ + + + + +
+ Photo Index, + {if ! $searchfor } + {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}" + {else} + {$count} images are the result for your search about "{$searchfor}" + {/if} + {/if} + + Extern + photo index +
+
{section name="row" loop=$rows step=1} @@ -21,8 +39,8 @@ {if $images[row][col] } @@ -37,5 +55,32 @@ + + + + +
+ { if $previous_url == "" } + first page reached + { else } + + previous photo + + { /if } + + { if $page_selector == "" } +   + { else } + {$page_selector} + { /if} + + { if $next_url == "" } + last page reached + { else } + + next photo + + { /if} +