summaryrefslogtreecommitdiff
path: root/templates/view_image.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/view_image.tpl')
-rwxr-xr-xtemplates/view_image.tpl32
1 files changed, 12 insertions, 20 deletions
diff --git a/templates/view_image.tpl b/templates/view_image.tpl
index 0ef8992..86cedae 100755
--- a/templates/view_image.tpl
+++ b/templates/view_image.tpl
@@ -1,34 +1,26 @@
{strip}
-{if empty($liberty_preview)}
- {include file="bitpackage:fisheye/gallery_nav.tpl"}
-{/if}
-
<div class="display fisheye">
{if empty($liberty_preview)}
- <div class="floaticon">
- {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$gContent->mInfo}
- {if $gContent->hasUpdatePermission()}
- <a title="{tr}Refresh{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}image/{$gContent->mImageId}?rethumb=1">{biticon ipackage="icons" iname="view-refresh" iexplain="Refresh"}</a>
- <a title="{tr}Edit{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?image_id={$gContent->mImageId}">{biticon ipackage="icons" iname="edit" iexplain="Edit Image"}</a>
- <a title="{tr}Delete{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?image_id={$gContent->mImageId}&amp;delete=1">{biticon ipackage="icons" iname="user-trash" iexplain="Delete Image"}</a>
- {/if}
- </div>
+ <header>
+ {include file="bitpackage:fisheye/gallery_icons_inc.tpl"}
+ <h1>{$gContent->getTitle()|default:$gContent->mInfo.filename|escape}</h1>
+ {include file="bitpackage:fisheye/gallery_breadcrumb_inc.tpl"}
+ </header>
{/if}
{formfeedback hash=$feedback}
- <div class="header">
- <h1>{$gContent->getTitle()|default:$gContent->mInfo.filename|escape}</h1>
- </div>
-
- <div class="body">
+ <section class="body">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$gContent->mInfo}
<div class="image">
{include file=$gLibertySystem->getMimeTemplate('view',$gContent->mInfo.attachment_plugin_guid) attachment=$gContent->mInfo.image_file}
{if $gBitSystem->isFeatureActive('fisheye_image_list_description') && $gContent->mInfo.data ne ''}
<p class="description">{$gContent->mInfo.parsed_data|truncate:250:"..."}</p>
{/if}
- </div>
- </div> <!-- end .body -->
+ </div>
+ {if empty($liberty_preview)}
+ {include file="bitpackage:fisheye/gallery_nav.tpl"}
+ {/if}
+ </section>
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}
@@ -36,5 +28,5 @@
{include file="bitpackage:liberty/comments.tpl"}
{/if}
-</div> <!-- end .fisheye -->
+</div>
{/strip}