aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/views/default')
-rw-r--r--mod/blog/views/default/blog/sidebar_menu.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php
index aa43ed08e..8051463b5 100644
--- a/mod/blog/views/default/blog/sidebar_menu.php
+++ b/mod/blog/views/default/blog/sidebar_menu.php
@@ -60,7 +60,10 @@ if ($page_owner) {
echo '</ul>';
}
+
+ // friends page lists all tags; mine lists owner's
+ $owner_guid = ($vars['page'] == 'friends') ? '' : $page_owner->getGUID();
+ echo display_tagcloud(0, 50, 'tags', 'object', 'blog', $owner_guid);
+} else {
+ echo display_tagcloud(0, 50, 'tags', 'object', 'blog');
}
-
-// tag-cloud display
-echo display_tagcloud(0, 50, 'tags');