diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-01-27 12:45:57 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-01-27 12:45:57 +0000 |
| commit | 8c70e4fddba48381edfc29597501fa3f74a30e16 (patch) | |
| tree | d0ea6ccc3ce71d8256340edc1e69778f707d3596 /templates | |
| parent | cba520df3d05b7d6090255bb432d40bbbb305b04 (diff) | |
| download | fisheye-8c70e4fddba48381edfc29597501fa3f74a30e16.tar.gz fisheye-8c70e4fddba48381edfc29597501fa3f74a30e16.tar.bz2 fisheye-8c70e4fddba48381edfc29597501fa3f74a30e16.zip | |
fix upload link display when gallery admin is wandering around and he is allowed to upload to all galleries
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/view_gallery.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/view_gallery.tpl b/templates/view_gallery.tpl index c429760..281fc06 100644 --- a/templates/view_gallery.tpl +++ b/templates/view_gallery.tpl @@ -9,7 +9,7 @@ <a title="{tr}Edit{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}edit.php?gallery_id={$gContent->mGalleryId}">{biticon ipackage="icons" iname="document-properties" iexplain="Edit"}</a> <a title="{tr}Image Order{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}image_order.php?gallery_id={$gContent->mGalleryId}">{biticon ipackage=fisheye iname="order" iexplain="Image Order"}</a> {/if} - {if $gContent->hasUserPermission('p_fisheye_upload') || $gContent->getPreference('is_public')} + {if ( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->hasPermission( 'p_fisheye_admin' )) || ( $gContent->hasUserPermission('p_fisheye_upload') || $gContent->getPreference('is_public'))} <a title="{tr}Add Image{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}upload.php?gallery_id={$gContent->mGalleryId}">{biticon ipackage="icons" iname="go-up" iexplain="Add Image"}</a>{if $gContent->getPreference('is_public')}<span class="small">({tr}Public{/tr})</span>{/if} {/if} {if $gContent->hasUserPermission('p_fisheye_admin')} |
