diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-06-20 23:10:14 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-06-20 23:10:14 +0000 |
| commit | a3fd84048a675134ff4f9e61de265e4ce51f01e6 (patch) | |
| tree | d1f6ed30bda5e6088fc0a9513fd7d7db8748a0ff /templates | |
| parent | d28a63f5cd5f43976d85b883336245d83eacf62a (diff) | |
| download | fisheye-a3fd84048a675134ff4f9e61de265e4ce51f01e6.tar.gz fisheye-a3fd84048a675134ff4f9e61de265e4ce51f01e6.tar.bz2 fisheye-a3fd84048a675134ff4f9e61de265e4ce51f01e6.zip | |
Thought I commited this already. Fix liberty preview stuff.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/view_image.tpl | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/templates/view_image.tpl b/templates/view_image.tpl index 20b1dbc..49453a1 100644 --- a/templates/view_image.tpl +++ b/templates/view_image.tpl @@ -1,10 +1,10 @@ {strip} -{if !$preview} +{if !$liberty_preview} {include file="bitpackage:fisheye/gallery_nav.tpl"} {/if} <div class="display fisheye"> - {if !$preview} + {if !$liberty_preview} <div class="floaticon"> {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$gContent->mInfo} {if $gContent->hasUserPermission('p_fisheye_edit')} @@ -15,11 +15,9 @@ {/if} {formfeedback hash=$feedback} - {if !$preview} - <div class="header"> - <h1>{$gContent->getTitle()|default:$gContent->mInfo.image_file.filename|escape}</h1> - </div> - {/if} + <div class="header"> + <h1>{$gContent->getTitle()|default:$gContent->mInfo.image_file.filename|escape}</h1> + </div> <div class="body"> {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$gContent->mInfo} @@ -31,7 +29,7 @@ {/if} {/box} - {if !$preview} + {if !$liberty_preview} <div class="pagination"> {tr}View other sizes{/tr}<br /> {foreach name=size key=size from=$gContent->mInfo.image_file.thumbnail_url item=url} @@ -50,7 +48,7 @@ {attachhelp hash=$gContent->mInfo.image_file} {/if} </div> <!-- end .body --> - + {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo} {if $gGallery && $gGallery->getPreference('allow_comments') eq 'y'} |
