aboutsummaryrefslogtreecommitdiff
path: root/mod/tagcloud/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tagcloud/all.php')
-rw-r--r--mod/tagcloud/all.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/tagcloud/all.php b/mod/tagcloud/all.php
new file mode 100644
index 000000000..0927e3683
--- /dev/null
+++ b/mod/tagcloud/all.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Display site tagcloud
+ **/
+
+// Load Elgg engine
+require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+$tags = display_tagcloud(0, 100, 'tags');
+
+//select the correct canvas area
+$body = elgg_view_layout("one_column_with_sidebar", $tags);
+
+// Display page
+page_draw(sprintf(elgg_echo('tagcloud:site:title'),$page_owner->name),$body); \ No newline at end of file