adeb9f85e3173e410bbc0ae22e7b82e52a46f5a4
[phpfspot.git] / templates / single_photo.tpl
1 <!-- Single photo -->
2 <table>
3  <tr>
4   <td class="index_header" style="text-align: left;">
5    <b>Photo {$image_name}</b><br />
6    &nbsp;{$description}<br />
7   </td>
8   <td class="index_header" style="text-align: right;">
9    <a href="{$image_url_full}" target="_blank" onclick="click(this);">
10     <img src="resources/original.png" />
11    </a>
12    <img src="resources/information.png" />
13   </td>
14  </tr>
15  <tr>
16   <td colspan="2">
17    <div id='single'>
18    <table>
19     <tr>
20      <td colspan="3">
21      { if $next_url == "" }
22       <a href="javascript:showPhotoIndex();">
23      { else }
24       <a href="{$next_url}"> 
25      { /if }
26        <img src="{$image_url}" width="{$width}" height="{$height}" />
27       </a>
28      </td>
29     </tr>
30     <tr>
31      <td style="text-align: left; width: 33%;">
32       { if $previous_url == "" }
33        &nbsp;
34       { else }
35       <a href="{$previous_url}">
36        <img src="resources/arrow_left.png" />
37       </a>
38       { /if }
39      </td>
40      <td style="text-align: center; width: 33%;">
41       <a href="javascript:showPhotoIndex();">
42        <img src="resources/arrow_up.png" />
43       </a>
44      </td>
45      <td style="text-align: right; width: 33%;">
46       { if $next_url == "" }
47       &nbsp;
48       { else }
49       <a href="{$next_url}"> 
50        <img src="resources/arrow_right.png" />
51       </a>
52       { /if}
53      </td>
54     </tr>
55    </table>
56    </div>
57   </td>
58   <td style="white-space: nowrap;">
59    { if $ExifMadeWith }
60    With: {$ExifMadeWith}<br />
61    { /if }
62    { if $ExifMadeOn }
63    On: {$ExifMadeOn}<br />
64    { /if }
65    { if $ExifOrigResolution }
66    Res: {$ExifOrigResolution}<br />
67    { /if }
68    Size: {$ExifFileSize}kbyte<br />
69    Tagged:<br />
70    { foreach from=$tags key=id item=name }
71    <a href="javascript:Tags('add', '{$id}');" onclick="click(this);">{$name}</a><br />
72    { /foreach }
73   </td>
74  </tr>
75 </table>
76 <!-- /Single photo -->