X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;h=1647f5a9040d8170df823f83092a6aacd7284f98;hp=7f3af463864b9a14723a83dcae17469af3464d44;hb=ad475b7bd059945962e48363cefba03a4f547221;hpb=ca33ffdcbb65a0b344e450966c2fcff1d9e9212b diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 7f3af46..1647f5a 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,20 +1,46 @@ - -{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 $count == 1} + {$count} image has been found for the selected tags + {else} + {$count} images have been found for the selected tags + {/if}
- - - +
+ + {section name="row" loop=$rows step=1} + + {section name="col" loop=$columns step=1} + + {/section} + + {/section} +
+ {if $images[row][col] } +
+
+ + + +
+
+ {else} +   + {/if} +
+
+