True, 'edit_conf' => True, ); final function __construct() { //$this->bo = new bomodule(); } public final function edit_conf() { if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) { $GLOBALS['phpgw']->redirect_link('/index.php'); } $GLOBALS['phpgw_info']['flags']['app_header'] = lang('Admin') .' - ' . 'Configurar o Atributo de Autenticação'; $_SESSION['phpgwinfo']['db_host'] = $GLOBALS['phpgw_info']['server']['db_host']; $_SESSION['phpgwinfo']['db_port'] = $GLOBALS['phpgw_info']['server']['db_port']; $_SESSION['phpgwinfo']['db_name'] = $GLOBALS['phpgw_info']['server']['db_name']; $_SESSION['phpgwinfo']['db_user'] = $GLOBALS['phpgw_info']['server']['db_user']; $_SESSION['phpgwinfo']['db_pass'] = $GLOBALS['phpgw_info']['server']['db_pass']; $_SESSION['phpgwinfo']['db_type'] = $GLOBALS['phpgw_info']['server']['db_type']; $webserver_url = $GLOBALS['phpgw_info']['server']['webserver_url']; $webserver_url = ( !empty($webserver_url) ) ? $webserver_url : '/'; $GLOBALS['phpgw']->common->phpgw_header(); echo parse_navbar(); $options_attributes = array('uid','mail','description'); $attributes .= ""; foreach($options_attributes as $tmp ) $attributes .= ""; $options_orgAttributes = explode(",",$GLOBALS['phpgw_info']['server']['attributes_org_ldap_jabberit']); natcasesort($options_orgAttributes); foreach($options_orgAttributes as $key => $tmp) { if( $tmp != "" ) { $attr = explode(";", $tmp); $orgAttributes .= "