X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=8aea9bc2555b5455c9251644cfa3c28aad5b7128;hp=1647f5a9040d8170df823f83092a6aacd7284f98;hb=2d1b7b600731d0333acbbdf3c7f253eadbde71d6;hpb=fb15deeef32d80ef922a578d742ff49633d5f94e;ds=sidebyside diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 1647f5a..8aea9bc 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,17 +1,45 @@ - + - -
- 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} @@ -19,13 +47,13 @@ {section name="col" loop=$columns step=1} + + + + +
{if $images[row][col] } -
- {else}   {/if} @@ -37,10 +65,36 @@
+ { 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 + + { /if} +
- - +