function group_init(&$a) {
require_once('include/group.php');
- $a->page['aside'] .= group_side();
+ $a->page['aside'] = group_side();
}
}
else
notice("Could not create group." . EOL );
-// goaway($a->get_baseurl() . '/group');
+ goaway($a->get_baseurl() . '/group');
return; // NOTREACHED
}
if(($a->argc == 2) && (intval($a->argv[1]))) {
intval($_SESSION['uid']),
intval($group['id'])
);
+ if($r)
+ notice("Group name changed." . EOL );
}
$members = $_POST['group_members_select'];
array_walk($members,'validate_members');
intval($a->argv[1]),
intval($_SESSION['uid'])
);
+ $result = true;
if(count($members)) {
foreach($members as $member) {
$r = q("INSERT INTO `group_member` ( `uid`, `gid`, `contact-id`)
intval($group['id']),
intval($member)
);
+ if(! $r)
+ $result = false;
}
}
+ if($result)
+ notice("Membership list updated." . EOL);
+ $a->page['aside'] = group_side();
}
}
use photo hash to notify of changes?
-contact editor
- block photo
+>>>>>>>>contact editor
+>>>>>>>> block photo
-profile "you name it" field
+>>>>>>>>profile "you name it" field
-group - delete, theme
+group - delete (keep id in acl lists to prvent them from breaking security)
pager - photos
item delete
-item edit
+>>>>>>>>item edit
dfrn_poll - import items
-local/remote indicator
+>>>>>>>>local/remote indicator
-side/text
+>>>>>>>>side/text
notififier abstraction
chat
-plugin api
+>>>>>>>>plugin api
-theme api
+>>>>>>>>theme api
ajax