From 96266abf5f67523584f7650695f16f92743888ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Sun, 1 Feb 2009 01:37:15 +0100 Subject: [PATCH] [svn r18106] fix asociation images --- main/document/slideshow.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main/document/slideshow.php b/main/document/slideshow.php index 65065490f8..83976d688a 100644 --- a/main/document/slideshow.php +++ b/main/document/slideshow.php @@ -1,4 +1,4 @@ -"; $i = 0; foreach ($image_tag as $image_tag_item) { + $link=$i; // starting new table row if ($i == 0) { echo "\n\n"; - $i ++; + $i ++; + } - - echo "\t".$image_tag_item."\n"; + $link=$i-1; + echo "\t".$image_tag_item."\n"; if ($i % 6 == 0 and $i !== 0) // 6 cols {