diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-16 14:43:19 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-16 14:43:19 +0000 |
commit | b69cabc08efeca61e175f40e9dfb9a14871abafc (patch) | |
tree | 1036fa7df773280702b6b34cf9c543d2e947fd75 | |
parent | ee118e3dc871133e528fdd5780769a608401764e (diff) | |
download | elgg-b69cabc08efeca61e175f40e9dfb9a14871abafc.tar.gz elgg-b69cabc08efeca61e175f40e9dfb9a14871abafc.tar.bz2 |
Tagcloud localized and updated on blogs.
git-svn-id: http://code.elgg.org/elgg/trunk@5771 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | languages/en.php | 2 | ||||
-rw-r--r-- | 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 <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 |