source: sandbox/newExpressoMail/newExpressoMail2/index.php @ 7212

Revision 7212, 1.6 KB checked in by gustavo, 12 years ago (diff)

Ticket #0000 - Criado novo modulo para o desenvolvimento do novo ExpressoMail?

  • Property svn:executable set to *
Line 
1<?php
2
3        $GLOBALS['phpgw_info']['flags'] = Array(   'currentapp'    =>      'newExpressoMail',
4                                                   'noheader'      =>      true,
5                                                   'nonavbar'      =>      false,
6                                                   'noappheader'   =>      true,
7                                                   'noappfooter'   =>      true,
8                                                   'nofooter'      =>      true,
9                                                   //'noapi' => false
10                                                   );
11                                                 
12        require_once( dirname(__FILE__).'/../prototype/api/config.php' );
13       
14        require_once (dirname(__FILE__).'/../header.inc.php');
15        $update_version = $GLOBALS['phpgw_info']['apps']['newExpressoMail']['version'];
16
17        $_SESSION['flags']['currentapp'] = 'newExpressoMail';
18
19        $c = CreateObject('phpgwapi.config','expressoMail1_2');
20        $c->read_repository();
21        $current_config = $c->config_data;
22
23        $ldap_manager = CreateObject('contactcenter.bo_ldap_manager');
24        $boemailadmin = CreateObject('emailadmin.bo');
25        $emailadmin_profile = $boemailadmin->getProfileList();
26        $imap_configs = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']);
27
28        define( 'MODULESURL' , '../prototype/modules/newMail' );
29        define( 'PLUGINSURL' , '../prototype/plugins' );
30        define( 'HOMEURL' , dirname(__FILE__) );
31       
32        include ROOTPATH.'/modules/newMail/templates/index.ejs';
33?>
Note: See TracBrowser for help on using the repository browser.