blob: 0da095b969211f73031f29328f6d86ab52ab435c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
/**
* Elgg Friends widget
* This plugin allows users to put a list of their friends on their profile
*
* @package ElggFriends
*/
function friends_init() {
add_widget_type('friends', elgg_echo("friends"), elgg_echo('friends:widget:description'), 'profile');
}
elgg_register_event_handler('init', 'system', 'friends_init');
|