aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.recent.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-02-20 13:43:06 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-02-20 13:43:06 +0000
commitfd6dca81042d7a1a200657e4975ada2564404db3 (patch)
tree0524e26a44326dffc3a2e99850b717630a25700f /templates/sidebar.block.recent.php
parent76ed2e494b220780d8e247f9348f8f09a9d5fee8 (diff)
downloadsemanticscuttle-fd6dca81042d7a1a200657e4975ada2564404db3.tar.gz
semanticscuttle-fd6dca81042d7a1a200657e4975ada2564404db3.tar.bz2
Interface fix: make consistent the general navigation between personal and common spaces
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@47 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/sidebar.block.recent.php')
-rw-r--r--templates/sidebar.block.recent.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/sidebar.block.recent.php b/templates/sidebar.block.recent.php
index f489e49..58a9f84 100644
--- a/templates/sidebar.block.recent.php
+++ b/templates/sidebar.block.recent.php
@@ -16,6 +16,11 @@ if ($recentTags && count($recentTags) > 0) {
<div id="recent">
<?php
$contents = '<p class="tags">';
+
+ if(strlen($user)==0) {
+ $cat_url = createURL('tags', '%2$s');
+ }
+
foreach ($recentTags as $row) {
$entries = T_ngettext('bookmark', 'bookmarks', $row['bCount']);
$contents .= '<a href="'. sprintf($cat_url, $user, filter($row['tag'], 'url')) .'" title="'. $row['bCount'] .' '. $entries .'" rel="tag" style="font-size:'. $row['size'] .'">'. filter($row['tag']) .'</a> ';
@@ -27,4 +32,4 @@ if ($recentTags && count($recentTags) > 0) {
<?php
}
-?> \ No newline at end of file
+?>