issue59, thumbnail matrix is now also free off HTML tables
[phpfspot.git] / themes / default / templates / photo_index.tpl
index 08c8999f81f0d746ba0eae73b5828ad7742ade76..1ca25b831e195164ef0060db4f3bf9e4aeeb16e9 100644 (file)
        <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a>
       {/if} 
       <a href="{$export_link}" target="_blank" title="this will open a new browser window where you can export this page in several formats"><img src="resources/export.png" /></a>
+      <a href="{$rss_link}" target="_blank" title="RSS feed"><img src="resources/rss.png" /></a>
      </td>
     </tr>
    </table>
   </td>
  </tr>
  <tr>
-  <td colspan="3">
+  <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>