summaryrefslogtreecommitdiff
path: root/templates/sidebar.block.linked.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar.block.linked.php')
-rw-r--r--templates/sidebar.block.linked.php19
1 files changed, 11 insertions, 8 deletions
diff --git a/templates/sidebar.block.linked.php b/templates/sidebar.block.linked.php
index 101e0de..d415c27 100644
--- a/templates/sidebar.block.linked.php
+++ b/templates/sidebar.block.linked.php
@@ -100,6 +100,16 @@ if ($currenttag) {
?>
+<?php
+if(($logged_on_userid != null) && ($userid === $logged_on_userid)) {
+ $editingMode = true;
+} else {
+ $editingMode = false;
+}
+?>
+
+<?php if(count($explodedTags)>0 || $editingMode):?>
+
<h2>
<?php
echo T_('Linked Tags').' ';
@@ -109,18 +119,11 @@ if ($currenttag) {
//}
?>
</h2>
-
-<?php if(count($explodedTags)>0):?>
+<?php //endif?>
<div id="linked">
<table>
<?php
- if(($logged_on_userid != null) && ($userid === $logged_on_userid)) {
- $editingMode = true;
- } else {
- $editingMode = false;
- }
-
if($editingMode) {
echo '<tr><td></td><td>';
echo ' (<a href="'. createURL('tag2tagadd','') .'" rel="tag">'.T_('Add new link').'</a>) ';