X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=89d348e51a3c90e4c4cb8d0f11015c6a69093213;hp=7f3af463864b9a14723a83dcae17469af3464d44;hb=218b86247bd6fe415e616da268abff7faaa3e96a;hpb=ca33ffdcbb65a0b344e450966c2fcff1d9e9212b diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 7f3af46..89d348e 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,20 +1,57 @@ - + -{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} + + 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} +
+
+