summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-06 19:41:44 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-06 19:41:44 +0000
commitca33ffdcbb65a0b344e450966c2fcff1d9e9212b (patch)
treef665c49cb35e8c2be96ba6598cbe6707df6f9ec7 /templates
parent112ac9e09c81b3cb4babe6b8246a6576ecb5df5e (diff)
display photo index as matrix
show a larger pic when user clicks on it git-svn-id: file:///var/lib/svn/phpfspot/trunk@25 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates')
-rw-r--r--templates/photo_index.tpl21
1 files changed, 20 insertions, 1 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl
index f917364..7f3af46 100644
--- a/templates/photo_index.tpl
+++ b/templates/photo_index.tpl
@@ -1 +1,20 @@
-{$image_matrix}
+<!-- Image Matrix -->
+<table>
+ <tr>
+ <td colspan="{$columns}">
+ {$count} images have been found for the selected tags
+ </td>
+ </tr>
+{section name="row" loop=$rows step=1}
+ <tr>
+ {section name="col" loop=$columns step=1}
+ <td>
+ <a href="javascript:showImage({$images[row][col]});">
+ <img src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" />
+ </a>
+ </td>
+ {/section}
+ </tr>
+{/section}
+</table>
+<!-- /Image Matrix -->