From 7c498e18d97daa7ae42e355adf24b8c77cacad33 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Thu, 7 Jun 2007 07:09:52 +0000 Subject: some style improvements git-svn-id: file:///var/lib/svn/phpfspot/trunk@32 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- templates/photo_index.tpl | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) (limited to 'templates/photo_index.tpl') diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 97c9fb8..3172547 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,22 +1,41 @@ - -{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}
- {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} +
+
-- cgit v1.2.3-18-g5258