some style fixes
[phpfspot.git] / templates / photo_index.tpl
index f917364fcb589ea3bf32be4cfedd87bfdf80f2e1..97c9fb84bb93717030919c245ea72dc343a19b5a 100644 (file)
@@ -1 +1,22 @@
-{$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>
+   {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}
+  </td>
+ {/section}
+ </tr>
+{/section} 
+</table>
+<!-- /Image Matrix -->