aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages/en.php2
-rw-r--r--mod/blog/views/default/blog/sidebar_menu.php11
2 files changed, 5 insertions, 8 deletions
diff --git a/languages/en.php b/languages/en.php
index 7b711c725..bb57d2b16 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -635,6 +635,8 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
'annotations' => "Annotations",
'relationships' => "Relationships",
'metadata' => "Metadata",
+ 'tagcloud' => "Tag cloud",
+ 'tagcloud:allsitetags' => "All site tags",
/**
* Input / output strings
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