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=1647f5a9040d8170df823f83092a6aacd7284f98;hb=83cde026568fe57a2ccaac2977ef21ae5de7bf38;hpb=fb15deeef32d80ef922a578d742ff49633d5f94e diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 1647f5a..f474223 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -3,10 +3,18 @@ Photo Index
- {if $count == 1} - {$count} image has been found for the selected tags - {else} + {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}