summaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-06 12:01:32 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-06 12:01:32 +0100
commite54e729719c29d263c140d91fd3b93167ceb188e (patch)
treecefad4864efb7b8807a9dbe52132f1fb86516a66 /themes/default
parent7eaf3d147420cb0a99296bafe91ac62be0700dcb (diff)
remove the rows x cols logic
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/templates/photo_index.tpl12
1 files changed, 5 insertions, 7 deletions
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index 6453725..35a9491 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -42,18 +42,16 @@
</div>
<div id="index">
- {section name="row" loop=$rows step=1}
- {section name="col" loop=$columns step=1}
- {if $images[row][col] }
+ {section name="thumb" loop=$thumbs step=1}
+ {if $images[thumb] }
<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]}" />
+ <a href="javascript:showImage({$images[thumb]});" id="{$images[thumb]}" name="image{$img_id[thumb]}" class="thumblink" onclick="click(this);" title="{$img_title[thumb]}">
+ <img class="thumb" id="{$images[thumb]}" src="phpfspot_img.php?idx={$images[thumb]}&amp;width={$width}" alt="thumb_{$images[thumb]}" width="{$img_width[thumb]}" height="{$img_height[thumb]}" />
<br />
- {$img_name[row][col]}
+ {$img_name[thumb]}
</a>
</div>
{/if}
- {/section}
{/section}
</div>
<br class="clearboth" />