diff options
-rw-r--r-- | templates/single_photo.tpl | 49 |
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 == "" } - - { else } - <a href="{$previous_url}">Previous</a> - { /if } - </td> - <td> </td> - <td style="text-align: right;"> - { if $next_url == "" } - - { 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 == "" } + + { else } + <a href="{$previous_url}">Previous</a> + { /if } + </td> + <td> </td> + <td style="text-align: right;"> + { if $next_url == "" } + + { else } + <a href="{$next_url}">Next</a> + { /if} + </td> + </tr> + </table> + </div> </td> </tr> </table> +<!-- /Single photo --> |