aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.menu2.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-10 11:40:07 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-10 11:40:07 +0000
commit834b3aedb86bf5a7f76e01646201c495a9da8faf (patch)
tree6f5d653373335e2ef3a066b3d0c1530cbde58e72 /templates/sidebar.block.menu2.php
parentf39821d848d9b788d5591fdd33dfddcc2fb9a652 (diff)
downloadsemanticscuttle-834b3aedb86bf5a7f76e01646201c495a9da8faf.tar.gz
semanticscuttle-834b3aedb86bf5a7f76e01646201c495a9da8faf.tar.bz2
Minor fix: translations, improve watchlist, improve search behaviour...
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@266 b3834d28-1941-0410-a4f8-b48e95affb8f
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
}