blob: cb397d7e9d56e770969dbd4639e4fefae289a02d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
function tagcloud_init() {
add_widget_type('tagcloud', elgg_echo('tagcloud:widget:title'), elgg_echo('tagcloud:widget:description'));
// Extend CSS
extend_view('css','tagcloud/css');
if(is_plugin_enabled('blog')) {
// extend blog sidebar with a tag-cloud
}
if(is_plugin_enabled('bookmarks')) {
// extend bkmrks sidebar with a tag-cloud
}
}
register_elgg_event_handler('init', 'system', 'tagcloud_init');
?>
|