summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/single_photo.tpl49
1 files changed, 33 insertions, 16 deletions
diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl
index 2acf924..3965edc 100644
--- a/templates/single_photo.tpl
+++ b/templates/single_photo.tpl
@@ -1,24 +1,41 @@
+<!-- Single photo -->
<table>
<tr>
- <td colspan="3">
- <img src="{$image_url}" />
+ <td class="index_header">
+ <b>Photo {$image_name}</b><br />
</td>
</tr>
<tr>
- <td style="text-align: left;">
- { if $previous_url == "" }
- &nbsp;
- { else }
- <a href="{$previous_url}">Previous</a>
- { /if }
- </td>
- <td>&nbsp;</td>
- <td style="text-align: right;">
- { if $next_url == "" }
- &nbsp;
- { else }
- <a href="{$next_url}">Next</a>
- { /if}
+ <td>
+ <div id='matrix'>
+ <table>
+ <tr>
+ <td colspan="3">
+ <a href="javascript:showPhotoIndex();">
+ <img src="{$image_url}" />
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td style="text-align: left;">
+ { if $previous_url == "" }
+ &nbsp;
+ { else }
+ <a href="{$previous_url}">Previous</a>
+ { /if }
+ </td>
+ <td>&nbsp;</td>
+ <td style="text-align: right;">
+ { if $next_url == "" }
+ &nbsp;
+ { else }
+ <a href="{$next_url}">Next</a>
+ { /if}
+ </td>
+ </tr>
+ </table>
+ </div>
</td>
</tr>
</table>
+<!-- /Single photo -->