X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=8111b1bad80719f0990cfe4ef55ebae27683e780;hp=7f3af463864b9a14723a83dcae17469af3464d44;hb=8f56c03f5e097d31ba940e6f97f65e0e23ae3861;hpb=ca33ffdcbb65a0b344e450966c2fcff1d9e9212b diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 7f3af46..8111b1b 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,20 +1,88 @@ - -{section name="row" loop=$rows step=1} - {section name="col" loop=$columns step=1} - + + + + + - {/section} -{/section}
- {$count} images have been found for the selected tags + + + + + + +
+ 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 } + Extern + {/if} + photo index +
- - + +
+ + {section name="row" loop=$rows step=1} + + {section name="col" loop=$columns step=1} + + {/section} + + {/section} +
+ {if $images[row][col] } +
+
+ + thumb_{$images[row][col]} + +
+
+ {else} +   + {/if} +
+
+
+ { 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}