aboutsummaryrefslogtreecommitdiff
path: root/start.php
blob: d9bdf6af79d3dd5701ce486edf60867f621121d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Elgg identi.ca widget
 * This plugin allows users to pull in their identi.ca feed to display on their profile
 *
 * @package ElggIdentica
 */

elgg_register_event_handler('init', 'system', 'identica_init');

function identica_init() {
	elgg_extend_view('css/elgg', 'identica/css');
	elgg_register_js('identica', elgg_get_site_url() . "mod/identica/views/default/identica/js.php");
	elgg_register_js('friendly_time', elgg_get_site_url() . "mod/identica/views/default/js/friendly_time.php");
	elgg_register_widget_type('identica', elgg_echo('identica:title'), elgg_echo('identica:info'));
}