comanchify connedit, group

This commit is contained in:
friendica
2013-12-19 23:56:37 -08:00
parent cd78f9d13d
commit 2c0fbc508e
6 changed files with 42 additions and 28 deletions

View File

@@ -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())

View File

@@ -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) {