diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/tagcloud/start.php | 16 | ||||
-rw-r--r-- | mod/tagcloud/views/default/tagcloud/extend.php | 5 |
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 |