issue29, when the mouse keeps staying over the link, show also the full photo name
[phpfspot.git] / templates / photo_index.tpl
1 <!-- Photo Index -->
2 <table>
3  <tr>
4   <td colspan="3">
5    <table style="width: 100%;">
6     <tr>
7      <td class="index_header">
8       <b>Photo Index,</b>
9       {if ! $searchfor }
10        {if $count == 1}
11         {$count} image has been found for the selected tags
12        {else}
13         {$count} images have been found for the selected tags
14        {/if}
15       {else}
16        {if $count == 1}
17         {$count} image is the result for your search about "{$searchfor}"
18        {else}
19         {$count} images are the result for your search about "{$searchfor}"
20        {/if}
21       {/if}
22      </td>
23      <td class="index_header" style="text-align: right">
24       {if $extern_link }
25        <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a>
26       {/if} 
27       <a href="{$export_link}" target="_blank">Export</a>
28      </td>
29     </tr>
30    </table>
31   </td>
32  </tr>
33  <tr>
34   <td colspan="3">
35    <div id="adinfo"></div>
36    <div id="matrix">
37    <table>
38    {section name="row" loop=$rows step=1}
39     <tr>
40     {section name="col" loop=$columns step=1}
41      <td class="thumb">
42       {if $images[row][col] }
43       <div id="inner" onmouseover="setBackGrdColor(this, 'mouseover');" onmouseout="setBackGrdColor(this, 'mouseout');">
44        <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]}">
45         <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]}" />
46         <br />
47         {$img_name[row][col]}
48        </a>
49       </div>
50       {else}
51        &nbsp;
52       {/if}
53      </td>
54     {/section}
55     </tr>
56    {/section} 
57    </table>
58    </div>
59   </td>
60  </tr>
61  <tr>
62   <td style="text-align: left; width: 33%;">
63   { if $previous_url == "" }
64    { if $count != 0 }
65     <img src="resources/arrow_left_gray.png" alt="first page reached" />
66    { /if }
67   { else }
68    <a href="{$previous_url}">
69     <img src="resources/arrow_left.png" alt="previous photo" />
70    </a>
71   { /if }
72   </td>
73   <td style="text-align: center; width: 33%;">
74   { if $page_selector == "" }
75    &nbsp;
76   { else }
77    {$page_selector}
78   { /if}
79   </td>
80   <td style="text-align: right; width: 33%;">
81   { if $next_url == "" }
82    { if $count != 0 }
83     <img src="resources/arrow_right_gray.png" alt="last page reached" />
84    { /if }
85   { else }
86    <a href="{$next_url}">
87     <img src="resources/arrow_right.png" alt="next photo" />
88    </a>
89   { /if}
90   </td>
91  </tr>
92 </table>
93 <!-- /Photo Index -->