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/index.tpl | 32 ++++++++++++++++++++++++++------ templates/photo_index.tpl | 41 ++++++++++++++++++++++++++++++----------- templates/tags.tpl | 18 ++++++------------ 3 files changed, 62 insertions(+), 29 deletions(-) (limited to 'templates') diff --git a/templates/index.tpl b/templates/index.tpl index 38af584..bec381b 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -1,11 +1,31 @@ {include file="header.tpl"} - -
- {include file="tags.tpl"} -
-
- {include file="welcome.tpl"} +
+ + + + + + + + + + + +
+
+ {include file="tags.tpl"} +
+
+
+ {include file="welcome.tpl"} +
+
{include file="footer.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} +
+
diff --git a/templates/tags.tpl b/templates/tags.tpl index 2a6a7a8..084c1ea 100644 --- a/templates/tags.tpl +++ b/templates/tags.tpl @@ -1,31 +1,25 @@ - - - - -
- The following tags are available: + Available Tags:
-
+
+
- The following tags have been selected: + Selected Tags:
-
+
+
 
- Photo Index - Reset Tags -
-- cgit v1.2.3-18-g5258