comanchify connedit, group
This commit is contained in:
@@ -31,24 +31,6 @@ function connedit_init(&$a) {
|
||||
|
||||
}
|
||||
|
||||
function connedit_aside(&$a) {
|
||||
|
||||
|
||||
if (! local_user())
|
||||
return;
|
||||
|
||||
if($a->poi) {
|
||||
$a->set_widget('vcard',vcard_from_xchan($a->poi,$a->get_observer()));
|
||||
$a->set_widget('collections', group_side('connections','group',false,0,$a->poi['abook_xchan']));
|
||||
}
|
||||
|
||||
$a->set_widget('suggest',widget_suggestions(array()));
|
||||
$a->set_widget('findpeople',findpeople_widget());
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function connedit_post(&$a) {
|
||||
|
||||
if(! local_user())
|
||||
|
||||
@@ -2,12 +2,6 @@
|
||||
|
||||
require_once('include/group.php');
|
||||
|
||||
function group_aside(&$a) {
|
||||
if(local_user()) {
|
||||
$a->set_widget('groups_edit',group_side('connections','group',false,(($a->argc > 1) ? intval($a->argv[1]) : 0)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function group_post(&$a) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user