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=97c9fb84bb93717030919c245ea72dc343a19b5a;hb=218b86247bd6fe415e616da268abff7faaa3e96a;hpb=57358ea6629f4fafdf383314c64efcea55c56492 diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 97c9fb8..89d348e 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,22 +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
- {if $images[row][col] } - - - - {/if} + +
+ + {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} +
+
+