read_repository(); $current_config = $c->config_data; $boemailadmin = CreateObject('emailadmin.bo'); $emailadmin_profile = $boemailadmin->getProfileList(); $_SESSION['phpgw_info']['expresso']['email_server'] = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $template->set_file(Array('reports' => 'index.tpl')); $template->set_block('reports','body'); $var = Array( 'lang_rel_user_all' => lang('report user'), 'lang_rel_title' => lang('reports'), 'lang_rel_user_org' => lang('report organization'), 'lang_rel_share_account_org' => lang('report share account organization'), 'lang_rel_institutional_account_org' => lang('report institutional account organization'), 'lang_rel_cota_org' => lang('report cota organization'), 'lang_rel_logon_org' => lang('report of time without logging by Organization'), 'lang_rel_maillists_org' => lang('report maillists organization'), 'lang_rel_usersgroups_org' => lang('report usersgroups organization'), 'page' => $_GET['page'] ); $template->set_var($var); $template->pfp('out','body'); $GLOBALS['phpgw']->common->phpgw_footer(); ?>