summaryrefslogtreecommitdiffstats
path: root/themes/default/templates
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-01 16:17:35 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-01 20:13:15 +0100
commit131666c458388902ed2b28dff2b7101aac661e1e (patch)
tree77d406300e95544c5f9647510d95ff70d6029950 /themes/default/templates
parent588fd031d13053af2008a74a0292a95595c7c02a (diff)
issue59, thumbnail matrix is now also free off HTML tables
Diffstat (limited to 'themes/default/templates')
-rw-r--r--themes/default/templates/photo_index.tpl9
1 files changed, 2 insertions, 7 deletions
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index 9ceb0dc..1ca25b8 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -46,25 +46,20 @@
<tr>
<td colspan="3" style="width: 100%;">
<div id="adinfo"></div>
- <table class="matrix" id="matrix">
{section name="row" loop=$rows step=1}
- <tr>
{section name="col" loop=$columns step=1}
{if $images[row][col] }
- <td class="thumb" onmouseover="setBackGrdColor(this, 'mouseover');" onmouseout="setBackGrdColor(this, 'mouseout');">
+ <div class="thumb" onmouseover="setBackGrdColor(this, 'mouseover');" onmouseout="setBackGrdColor(this, 'mouseout');" style="width: { $thumb_container_width }px; height: { $thumb_container_height }px;">
<a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" name="image{$img_id[row][col]}" class="thumblink" onclick="click(this);" title="{$img_title[row][col]}">
<img class="thumb" id="{$images[row][col]}" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" alt="thumb_{$images[row][col]}" width="{$img_width[row][col]}" height="{$img_height[row][col]}" />
<br />
{$img_name[row][col]}
</a>
</div>
- {else}
- <td>&nbsp;</td>
{/if}
{/section}
- </tr>
{/section}
- </table>
+ <br class="clearboth" />
</td>
</tr>
<tr>