summaryrefslogtreecommitdiffstats
path: root/templates/photo_index.tpl
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-07 07:09:52 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-07 07:09:52 +0000
commit7c498e18d97daa7ae42e355adf24b8c77cacad33 (patch)
tree0caa18f0a640452b1a738260ccabc19eba92d93b /templates/photo_index.tpl
parentf5ebd8bd36353e5920031e7424ae02c212060b1b (diff)
some style improvements
git-svn-id: file:///var/lib/svn/phpfspot/trunk@32 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates/photo_index.tpl')
-rw-r--r--templates/photo_index.tpl41
1 files changed, 30 insertions, 11 deletions
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 @@
<!-- Image Matrix -->
<table>
<tr>
- <td colspan="{$columns}">
- {$count} images have been found for the selected tags
+ <td class="index_header">
+ <b>Photo Index</b><br />
+ {if $count == 1}
+ {$count} image has been found for the selected tags
+ {else}
+ {$count} images have been found for the selected tags
+ {/if}
</td>
</tr>
-{section name="row" loop=$rows step=1}
<tr>
- {section name="col" loop=$columns step=1}
<td>
- {if $images[row][col] }
- <a href="javascript:showImage({$images[row][col]});">
- <img src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" />
- </a>
- {/if}
+ <div id="matrix">
+ <table>
+ {section name="row" loop=$rows step=1}
+ <tr>
+ {section name="col" loop=$columns step=1}
+ <td class="thumb">
+ {if $images[row][col] }
+ <div id="outter">
+ <div id="inner">
+ <a href="javascript:showImage({$images[row][col]});">
+ <img class="thumb" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" />
+ </a>
+ </div>
+ </div>
+ {else}
+ &nbsp;
+ {/if}
+ </td>
+ {/section}
+ </tr>
+ {/section}
+ </table>
+ </div>
</td>
- {/section}
</tr>
-{/section}
</table>
<!-- /Image Matrix -->