read_repository(); $current_config = $c->config_data; $ldap_manager = CreateObject('contactcenter.bo_ldap_manager'); $boemailadmin = CreateObject('emailadmin.bo'); $emailadmin_profile = $boemailadmin->getProfileList(); $_SESSION['phpgw_info']['expresso']['email_server'] = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); $_SESSION['phpgw_info']['expresso']['user'] = $GLOBALS['phpgw_info']['user']; $_SESSION['phpgw_info']['expresso']['server'] = $GLOBALS['phpgw_info']['server']; $_SESSION['phpgw_info']['expresso']['ldap_server'] = $ldap_manager ? $ldap_manager->srcs[1] : null; $_SESSION['phpgw_info']['expresso']['expressoAdmin'] = $current_config; $_SESSION['phpgw_info']['expresso']['global_denied_users'] = $GLOBALS['phpgw_info']['server']['global_denied_users']; $_SESSION['phpgw_info']['expresso']['global_denied_groups'] = $GLOBALS['phpgw_info']['server']['global_denied_groups']; $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $template->set_file(Array('listAdmin' => 'index.tpl')); $template->set_block('listAdmin','body'); $exibir = 'inline'; $ocultar = 'none'; if($GLOBALS['phpgw_info']['server']['use_mailman'] == 0) { $msg = '-- M�DULO INDISPON�VEL --
'; $msg .= 'Senhor administrador, por favor fa�a a configura��o do servidor de listas na p�gina de setup, '; $msg .= 'op��o Header Admin Login.'; $exibir = 'none'; $ocultar = 'inline'; } $var = Array( 'lang_email_lists' => lang('Email Lists'), 'msg' => $msg, 'exibir' => $exibir, 'ocultar' => $ocultar ); $template->set_var($var); $template->pfp('out','body'); $GLOBALS['phpgw']->common->phpgw_footer(); ?>