aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.menu2.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar.block.menu2.php')
-rw-r--r--templates/sidebar.block.menu2.php24
1 files changed, 4 insertions, 20 deletions
diff --git a/templates/sidebar.block.menu2.php b/templates/sidebar.block.menu2.php
index d571120..eee150e 100644
--- a/templates/sidebar.block.menu2.php
+++ b/templates/sidebar.block.menu2.php
@@ -14,12 +14,11 @@ if ($logged_on_userid === false) {
$logged_on_userid = NULL;
}
-if(!isset($user) || $user == '') {
- $cat_url = createURL('tags', '%2$s');
-}
+$cat_url = createURL('tags', '%2$s');
$menu2Tags = $GLOBALS['menu2Tags'];
+
if (sizeOf($menu2Tags) > 0) {
$this->includeTemplate("dojo.inc");
?>
@@ -41,23 +40,8 @@ foreach($menu2Tags as $menu2Tag) {
echo '</script>';
echo '</div>';
}
-?> <!-- /table--> <?php $cUser = $userservice->getUser($userid); ?> <?php if($userid>0): ?>
-<?php if($userid==$logged_on_userid): ?>
-<p style="text-align: right"><a
- href="<?php echo createURL('alltags', $cUser['username']); ?>"
- title="<?php echo T_('See all your tags')?>"><?php echo T_('all your tags'); ?></a>
-&rarr;</p>
-<?php else: ?>
-<p style="text-align: right"><a
- href="<?php echo createURL('alltags', $cUser['username']); ?>"
- title="<?php echo T_('See all tags from this user')?>"><?php echo T_('all tags from this user'); ?></a>
-&rarr;</p>
-<?php endif; ?> <?php else : ?>
-<p style="text-align: right"><a
- href="<?php echo createURL('populartags', $cUser['username']); ?>"
- title="<?php echo T_('See popular tags')?>"><?php echo T_('Popular Tags'); ?></a>
-&rarr;</p>
-<?php endif; ?></div>
+?>
+</div>
<?php
}