summaryrefslogtreecommitdiffstatshomepage
path: root/data/templates/sidebar.block.tagactions.php
diff options
context:
space:
mode:
authorGravatar Christian Weiske2011-05-25 19:43:36 +0200
committerGravatar Christian Weiske2011-05-25 19:43:36 +0200
commit5ba53394fcda4ae9cfa9af52b37fb67517deeb5a (patch)
tree4416be7903a2b339382e9f933284f50797edc239 /data/templates/sidebar.block.tagactions.php
parent63b0a4b8cb38a8a7c41410900b9dfcc84e6a33a9 (diff)
downloadscuttle-5ba53394fcda4ae9cfa9af52b37fb67517deeb5a.tar.gz
scuttle-5ba53394fcda4ae9cfa9af52b37fb67517deeb5a.zip
implement request #1989987: theme support. merge themes branch with --squash
Diffstat (limited to 'data/templates/sidebar.block.tagactions.php')
-rw-r--r--data/templates/sidebar.block.tagactions.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/data/templates/sidebar.block.tagactions.php b/data/templates/sidebar.block.tagactions.php
deleted file mode 100644
index 3351866..0000000
--- a/data/templates/sidebar.block.tagactions.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/* Service creation: only useful services are created */
-//No specific services
-
-if ($userservice->isLoggedOn()) {
-
- if ($currentUser->getUsername() == $user) {
- $tags = explode('+', $currenttag);
- $renametext = T_ngettext('Rename Tag', 'Rename Tags', count($tags));
- $renamelink = createURL('tagrename', $currenttag);
- $deletelink = createURL('tagdelete', $currenttag);
- $tagdesclink = createURL('tagedit', $currenttag);
- $commondesclink = createURL('tagcommondescriptionedit', $currenttag);
- $addtag2taglinklink = createURL('tag2tagadd', $currenttag);
-?>
-
-<h2><?php echo T_('Actions'); ?></h2>
-<div id="tagactions">
- <ul>
- <li><a href="<?php echo $renamelink; ?>"><?php echo $renametext ?></a></li>
- <?php if (count($tags) == 1): ?>
- <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'] && ($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>
- </ul>
-</div>
-
-<?php
- }
-}
-?>