From b69cabc08efeca61e175f40e9dfb9a14871abafc Mon Sep 17 00:00:00 2001 From: pete Date: Fri, 16 Apr 2010 14:43:19 +0000 Subject: Tagcloud localized and updated on blogs. git-svn-id: http://code.elgg.org/elgg/trunk@5771 36083f99-b078-4883-b0ff-0f9b5a30f544 --- languages/en.php | 2 ++ mod/blog/views/default/blog/sidebar_menu.php | 11 +++-------- 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 Widget gallery.", '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 -

Tagcloud

- -All site tags -___END; - +// tag-cloud display +$tags = display_tagcloud(0, 50, 'tags'); +echo "

".elgg_echo('tagcloud')."

wwwroot."mod/tagcloud/tagcloud.php\">".elgg_echo('tagcloud:allsitetags').""; ?> \ No newline at end of file -- cgit v1.2.3