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.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php
index 93af0c5ba..5d051640b 100644
--- a/mod/blog/views/default/blog/sidebar_menu.php
+++ b/mod/blog/views/default/blog/sidebar_menu.php
@@ -62,12 +62,7 @@ if ($page_owner) {
}
}
-// temporarily force tag-cloud display
-$tags = display_tagcloud(0, 100, 'tags');
-echo <<<___END
-<h3>Tagcloud</h3>
-<div class="tagcloud sidebar">$tags</div>
-<a href="{$vars['url']}mod/tagcloud/tagcloud.php">All site tags</a>
-___END;
-
+// tag-cloud display
+$tags = display_tagcloud(0, 50, 'tags');
+echo "<h3>".elgg_echo('tagcloud')."</h3><div class='tagcloud sidebar'>{$tags}</div><a href=\"".$CONFIG->wwwroot."mod/tagcloud/tagcloud.php\">".elgg_echo('tagcloud:allsitetags')."</a>";
?> \ No newline at end of file