diff options
Diffstat (limited to 'templates/photo_index.tpl')
-rw-r--r-- | templates/photo_index.tpl | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 97c9fb8..3172547 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,22 +1,41 @@ <!-- Image Matrix --> <table> <tr> - <td colspan="{$columns}"> - {$count} images have been found for the selected tags + <td class="index_header"> + <b>Photo Index</b><br /> + {if $count == 1} + {$count} image has been found for the selected tags + {else} + {$count} images have been found for the selected tags + {/if} </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]}&width={$width}" /> - </a> - {/if} + <div id="matrix"> + <table> + {section name="row" loop=$rows step=1} + <tr> + {section name="col" loop=$columns step=1} + <td class="thumb"> + {if $images[row][col] } + <div id="outter"> + <div id="inner"> + <a href="javascript:showImage({$images[row][col]});"> + <img class="thumb" src="phpfspot_img.php?idx={$images[row][col]}&width={$width}" /> + </a> + </div> + </div> + {else} + + {/if} + </td> + {/section} + </tr> + {/section} + </table> + </div> </td> - {/section} </tr> -{/section} </table> <!-- /Image Matrix --> |