summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-10-10 01:10:02 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-10-10 01:10:02 +0000
commit5ddff92e7ef2674c5e533fa1d368c9f3caa3202a (patch)
treefde8a95f4f5b71a16c6429851a3f7506dbca7819
parent23db543a339dadf6bd25d7096dc828eb6456bb46 (diff)
downloadfisheye-5ddff92e7ef2674c5e533fa1d368c9f3caa3202a.tar.gz
fisheye-5ddff92e7ef2674c5e533fa1d368c9f3caa3202a.tar.bz2
fisheye-5ddff92e7ef2674c5e533fa1d368c9f3caa3202a.zip
icon (or text) instead of text, when publicpre_update_permission
-rw-r--r--templates/view_gallery.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/view_gallery.tpl b/templates/view_gallery.tpl
index 223b21d..4b5496e 100644
--- a/templates/view_gallery.tpl
+++ b/templates/view_gallery.tpl
@@ -10,7 +10,10 @@
<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', 1, 0) || $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}
+ <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}
+ {if $gContent->getPreference('is_public')}
+ {biticon ipackage="icons" iname="weather-clear" iexplain="Public"}
{/if}
{if $gContent->hasAdminPermission()}
<a title="{tr}User Permissions{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}edit.php?gallery_id={$gContent->mGalleryId}&amp;delete=1">{biticon ipackage="icons" iname="edit-delete" iexplain="Delete Gallery"}</a>