diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-01-06 09:40:29 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-01-06 09:40:29 +0100 |
commit | a8c8bd8ee5c29db5512230eaeb65e44794e21b89 (patch) | |
tree | 639edf3146d9de8eaf51d52d478fb92ebc9ee58d /themes/default/templates/single_photo.tpl | |
parent | 248141f2861881843e972c6f5f8a9ad4f71b06ef (diff) |
issue59, further cleanup code after removing html tables
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes/default/templates/single_photo.tpl')
-rw-r--r-- | themes/default/templates/single_photo.tpl | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index c87118a..39e3bf4 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -1,26 +1,28 @@ <!-- Single photo --> -<div class="content_title" style="text-align: left; float: left;"> - <b>Photo {$image_name}</b><br /> - {if $photo_count > 0} - {$photo_number} of {$photo_count} - {if $photo_count == 1} - Photo - {else} - Photos +<div class="header"> + <div style="text-align: left; float: left;"> + <b>Photo {$image_name}</b><br /> + {if $photo_count > 0} + {$photo_number} of {$photo_count} + {if $photo_count == 1} + Photo + {else} + Photos + {/if} + {if $description} + {$description}<br /> + {/if} {/if} - {if $description} - {$description}<br /> + </div> + <div style="text-align: right;"> + <a href="javascript:startAutoBrowse();" title="auto browsing"><img id="autobrowse_ico" src="resources/32_play.png" /></a> + {if $extern_link } + <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a> {/if} - {/if} -</div> -<div class="index_header" style="text-align: right;"> - <a href="javascript:startAutoBrowse();" title="auto browsing"><img id="autobrowse_ico" src="resources/32_play.png" /></a> - {if $extern_link } - <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a> - {/if} - <a href="{$image_url_full}" target="_blank" onclick="click(this);"> - <img src="resources/original.png" alt="original resolution" /> - </a> + <a href="{$image_url_full}" target="_blank" onclick="click(this);"> + <img src="resources/original.png" alt="original resolution" /> + </a> + </div> </div> <div> |