True ); function boaclmanager() { //$this->so = createobject('admin.soaclmanager'); $this->ui = createobject('admin.uiaclmanager'); } function submit() { if ($GLOBALS['cancel']) { $this->ui->list_apps(); return False; } $location = base64_decode($GLOBALS['location']); $total_rights = 0; while (is_array($GLOBALS['acl_rights']) && list(,$rights) = each($GLOBALS['acl_rights'])) { $total_rights += $rights; } $GLOBALS['phpgw']->acl->add_repository($GLOBALS['acl_app'], $location, $GLOBALS['account_id'], $total_rights); $this->ui->list_apps(); } }