1 | <?php
|
---|
2 | /*************************************************************************************\
|
---|
3 | * Expresso Relatório *
|
---|
4 | * by Elvio Rufino da Silva (elviosilva@yahoo.com.br, elviosilva@cepromat.mt.gov.br) *
|
---|
5 | * -----------------------------------------------------------------------------------*
|
---|
6 | * This program is free software; you can redistribute it and/or modify it *
|
---|
7 | * under the terms of the GNU General Public License as published by the *
|
---|
8 | * Free Software Foundation; either version 2 of the License, or (at your *
|
---|
9 | * option) any later version. *
|
---|
10 | \*************************************************************************************/
|
---|
11 | $GLOBALS['phpgw_info'] = array();
|
---|
12 | $GLOBALS['phpgw_info']['flags']['currentapp'] = 'reports';
|
---|
13 | include('../header.inc.php');
|
---|
14 |
|
---|
15 | $c = CreateObject('phpgwapi.config','reports');
|
---|
16 | $c->read_repository();
|
---|
17 | $current_config = $c->config_data;
|
---|
18 | $boemailadmin = CreateObject('emailadmin.bo');
|
---|
19 | $emailadmin_profile = $boemailadmin->getProfileList();
|
---|
20 | $_SESSION['phpgw_info']['expresso']['email_server'] = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']);
|
---|
21 |
|
---|
22 | $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
---|
23 | $template->set_file(Array('reports' => 'index.tpl'));
|
---|
24 | $template->set_block('reports','body');
|
---|
25 |
|
---|
26 | $var = Array(
|
---|
27 | 'lang_rel_user_all' => lang('report user'),
|
---|
28 | 'lang_rel_title' => lang('reports'),
|
---|
29 | 'lang_rel_user_org' => lang('report organization'),
|
---|
30 | 'lang_rel_cota_org' => lang('report cota organization'),
|
---|
31 | 'lang_rel_logon_org' => lang('report of time without logging by Organization'),
|
---|
32 | 'lang_rel_maillists_org' => lang('report maillists organization'),
|
---|
33 | 'lang_rel_usersgroups_org' => lang('report usersgroups organization'),
|
---|
34 | 'page' => $_GET[page]
|
---|
35 | );
|
---|
36 | $template->set_var($var);
|
---|
37 | $template->pfp('out','body');
|
---|
38 | $GLOBALS['phpgw']->common->phpgw_footer();
|
---|
39 | ?> |
---|