aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-02 21:20:49 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-02 21:20:49 +0000
commit2c5c43f9a632b05d5557f980e83bcecdd3f1332a (patch)
tree6445d34a1ad106e069b2ad7e479e5ad35833585c /mod
parent81decf8b30a6814f7e0514fdacbadb1368fe306d (diff)
downloadelgg-2c5c43f9a632b05d5557f980e83bcecdd3f1332a.tar.gz
elgg-2c5c43f9a632b05d5557f980e83bcecdd3f1332a.tar.bz2
Moving new Site Tags functionality out of Tagcloud plugin and into core.
git-svn-id: http://code.elgg.org/elgg/trunk@6332 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/tagcloud/start.php16
-rw-r--r--mod/tagcloud/views/default/tagcloud/extend.php5
2 files changed, 0 insertions, 21 deletions
diff --git a/mod/tagcloud/start.php b/mod/tagcloud/start.php
index 11d970c25..a2e4f5143 100644
--- a/mod/tagcloud/start.php
+++ b/mod/tagcloud/start.php
@@ -6,23 +6,7 @@
function tagcloud_init() {
add_widget_type('tagcloud', elgg_echo('tagcloud:widget:title'), elgg_echo('tagcloud:widget:description'));
-
elgg_extend_view('css','tagcloud/css');
- register_page_handler('tagcloud', 'tagcloud_page_handler');
-}
-
-function tagcloud_page_handler($page) {
- global $CONFIG;
-
- switch ($page[0]) {
- default:
- $title = elgg_view_title(elgg_echo('tagcloud:site:title'));
- $tags = display_tagcloud(0, 100, 'tags');
- $body = elgg_view_layout('one_column_with_sidebar', $title . $tags);
-
- page_draw(elgg_echo('tagcloud:site:title'), $body);
- break;
- }
}
register_elgg_event_handler('init', 'system', 'tagcloud_init');
diff --git a/mod/tagcloud/views/default/tagcloud/extend.php b/mod/tagcloud/views/default/tagcloud/extend.php
deleted file mode 100644
index 4ab144d18..000000000
--- a/mod/tagcloud/views/default/tagcloud/extend.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
-echo '<p class="tags">';
-echo "<a href=\"{$vars['url']}pg/tagcloud\">All site tags</a>";
-echo '</p>'; \ No newline at end of file