aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-16 14:43:19 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-16 14:43:19 +0000
commitb69cabc08efeca61e175f40e9dfb9a14871abafc (patch)
tree1036fa7df773280702b6b34cf9c543d2e947fd75 /mod/blog
parentee118e3dc871133e528fdd5780769a608401764e (diff)
downloadelgg-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
Diffstat (limited to 'mod/blog')
-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