summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-17 13:15:06 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-17 13:15:06 +0000
commit3f9a5210f18c5d4418c3c2d8788f9babf1a231c4 (patch)
tree702a2832d83aac4c5df414a3315c937c5e4064ce /templates
parent0025ca22a274865fa2a7a045323b3eb418705c4d (diff)
downloadsemanticscuttle-3f9a5210f18c5d4418c3c2d8788f9babf1a231c4.tar.gz
semanticscuttle-3f9a5210f18c5d4418c3c2d8788f9babf1a231c4.tar.bz2
Interface fix: option to allow admins to see easily tags from other admins when adding/editing a bookmark. [Config file modified: ]
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@289 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/editbookmark.tpl.php2
-rw-r--r--templates/sidebar.block.watchlist.php4
2 files changed, 1 insertions, 5 deletions
diff --git a/templates/editbookmark.tpl.php b/templates/editbookmark.tpl.php
index 8031aad..92357d1 100644
--- a/templates/editbookmark.tpl.php
+++ b/templates/editbookmark.tpl.php
@@ -68,7 +68,7 @@ $this->includeTemplate("dojo.inc");
<tr>
<th align="left"><?php echo T_('Tags'); ?></th>
<td class="scuttletheme">
- <span dojoType="dojo.data.ItemFileReadStore" jsId="memberTagStore" url="<?php echo ROOT?>ajax/gettags.php"></span>
+ <span dojoType="dojo.data.ItemFileReadStore" jsId="memberTagStore" url="<?php echo ROOT?>ajax/<?php echo ($GLOBALS['adminsAreAdvisedTagsFromOtherAdmins'] && $currentUser->isAdmin())?'getadmintags':'gettags'?>.php"></span>
<input type="text" dojoType="js.MultiComboBox" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" store="memberTagStore" delimiter="," searchAttr="tag" hasDownArrow="false" queryExpr="*${0}*" autoComplete="false" highlightMatch="all"/></td>
<td>&larr; <?php echo T_('Comma-separated'); ?></td>
</tr>
diff --git a/templates/sidebar.block.watchlist.php b/templates/sidebar.block.watchlist.php
index 5b476ea..686550b 100644
--- a/templates/sidebar.block.watchlist.php
+++ b/templates/sidebar.block.watchlist.php
@@ -36,10 +36,6 @@ foreach($watching as $watchuser) {
</form>
</li>
<?php endif; ?>
-
- <?php if(count($watching) == 0):?>
- <li><?php echo T_("Nobody");?></li>
- <?php endif; ?>
<?php foreach($watching as $watchuser): ?>
<li><a href="<?php echo createURL('bookmarks', $watchuser); ?>"><?php echo $watchuser; ?></a>