X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=87cd6aaee906567dff898deefdde21ffefafc15f;hp=1647f5a9040d8170df823f83092a6aacd7284f98;hb=0f50117ed5b287ce472e288c3b3eb7be2783b064;hpb=fb15deeef32d80ef922a578d742ff49633d5f94e diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 1647f5a..87cd6aa 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,17 +1,36 @@ - -
- 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} + + {if $extern_link } + + {/if} +
+
{section name="row" loop=$rows step=1} @@ -21,8 +40,8 @@ {if $images[row][col] } @@ -37,10 +56,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} +
-