X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=d94db182e82b091e0df6431c06f15f46bae94ad7;hp=97c9fb84bb93717030919c245ea72dc343a19b5a;hb=64aff8eab7dca9b848149d9061a33af0d44f24b9;hpb=57358ea6629f4fafdf383314c64efcea55c56492 diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 97c9fb8..d94db18 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} + +
- {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] } +
+
+ + + +
+
+ {else} +   + {/if} +
+
+