aboutsummaryrefslogtreecommitdiff
path: root/mod/tagcloud/tagcloud.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-21 13:21:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-21 13:21:44 +0000
commit9eae841ec5c036fa74565a3a06e6f53f2dc80af4 (patch)
tree4a8747bd1466b1b072f208e6254e35899d3ef4ae /mod/tagcloud/tagcloud.php
parent75187715f6d7a04bbda4858d6a17138001da4807 (diff)
downloadelgg-9eae841ec5c036fa74565a3a06e6f53f2dc80af4.tar.gz
elgg-9eae841ec5c036fa74565a3a06e6f53f2dc80af4.tar.bz2
removed deprecated tag library calls
git-svn-id: http://code.elgg.org/elgg/trunk@7397 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/tagcloud/tagcloud.php')
-rw-r--r--mod/tagcloud/tagcloud.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/tagcloud/tagcloud.php b/mod/tagcloud/tagcloud.php
index f5554ccba..ecbfc130c 100644
--- a/mod/tagcloud/tagcloud.php
+++ b/mod/tagcloud/tagcloud.php
@@ -7,7 +7,13 @@
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
$title = elgg_view_title(elgg_echo('tagcloud:site:title'));
-$tags = display_tagcloud(0, 100, 'tags');
+
+$options = array(
+ 'threshold' => 0,
+ 'limit' => 100,
+ 'tag_name' => 'tags',
+);
+$tags = elgg_view_tagcloud($options);
$params = array(
'content' => $title . $tags,