summaryrefslogtreecommitdiffstatshomepage
path: root/templates/sidebar.block.tagactions.php
diff options
context:
space:
mode:
authorGravatar mensonge2009-02-09 14:05:21 +0000
committerGravatar mensonge2009-02-09 14:05:21 +0000
commit3a5dafcdc4efff42ff7f6d4f630b7666ff73248f (patch)
treecefb61dde7f3ca7837761e90249e91c47a51619e /templates/sidebar.block.tagactions.php
parent6a7316fe016688453c1eec93f5f2b9fdb09aa048 (diff)
downloadscuttle-3a5dafcdc4efff42ff7f6d4f630b7666ff73248f.tar.gz
scuttle-3a5dafcdc4efff42ff7f6d4f630b7666ff73248f.zip
Minor Fix: improve common description of tags and add variable into config file to allow or not everybody to edit these descriptions [Config file modified: ]
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@263 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/sidebar.block.tagactions.php')
-rw-r--r--templates/sidebar.block.tagactions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sidebar.block.tagactions.php b/templates/sidebar.block.tagactions.php
index 37bf5c6..3351866 100644
--- a/templates/sidebar.block.tagactions.php
+++ b/templates/sidebar.block.tagactions.php
@@ -22,7 +22,7 @@ if ($userservice->isLoggedOn()) {
<li><a href="<?php echo $deletelink; ?>"><?php echo T_('Delete Tag') ?></a></li>
<?php endif; ?>
<li><a href="<?php echo $tagdesclink; ?>"><?php echo T_('Edit Tag Description') ?></a></li>
- <?php if ($GLOBALS['enableCommonTagDescription']): ?>
+ <?php if ($GLOBALS['enableCommonTagDescription'] && ($GLOBALS['enableCommonTagDescriptionEditedByAll'] || $currentUser->isAdmin() )): ?>
<li><a href="<?php echo $commondesclink; ?>"><?php echo T_('Edit Tag Common Description') ?></a></li>
<?php endif; ?>
<li><a href="<?php echo $addtag2taglinklink; ?>"><?php echo T_('Create a link to another tag') ?></a></li>