X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=f4742237dc38188cff4184858df8d3a2df84e994;hp=97c9fb84bb93717030919c245ea72dc343a19b5a;hb=83cde026568fe57a2ccaac2977ef21ae5de7bf38;hpb=57358ea6629f4fafdf383314c64efcea55c56492 diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 97c9fb8..f474223 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,22 +1,54 @@ - -{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} +
+
+