- Timestamp:
- 01/07/11 15:42:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/reports1_0/inc/class.uireports_maillists.inc.php
r3471 r3666 30 30 function uireports_maillists() 31 31 { 32 $this->user = CreateObject('reports 1_0.user');32 $this->user = CreateObject('reports.user'); 33 33 $this->nextmatchs = CreateObject('phpgwapi.nextmatchs'); 34 $this->functions = CreateObject('reports 1_0.functions');35 $this->ldap_functions = CreateObject('reports 1_0.ldap_functions');36 $this->db_functions = CreateObject('reports 1_0.db_functions');37 $this->fpdf = CreateObject('reports 1_0.uireports_fpdf'); // Class para PDF34 $this->functions = CreateObject('reports.functions'); 35 $this->ldap_functions = CreateObject('reports.ldap_functions'); 36 $this->db_functions = CreateObject('reports.db_functions'); 37 $this->fpdf = CreateObject('reports.uireports_fpdf'); // Class para PDF 38 38 39 $c = CreateObject('phpgwapi.config','reports 1_0'); // cria o objeto relatorio no $c39 $c = CreateObject('phpgwapi.config','reports'); // cria o objeto relatorio no $c 40 40 $c->read_repository(); // na classe config do phpgwapi le os dados da tabela phpgw_config where relatorio, como passagem acima 41 41 $this->current_config = $c->config_data; // carrega os dados em do array no current_config … … 45 45 $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript'); 46 46 } 47 $GLOBALS['phpgw']->js->validate_file('jscode','cc','reports 1_0');47 $GLOBALS['phpgw']->js->validate_file('jscode','cc','reports'); 48 48 } 49 49 … … 62 62 if (!$this->functions->check_acl($account_lid,'list_maillists')) 63 63 { 64 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/reports 1_0/inc/access_denied.php'));64 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/reports/inc/access_denied.php')); 65 65 } 66 66 … … 73 73 define('FPDF_FONTPATH','font/'); 74 74 $data_atual = date("d/m/Y"); 75 $titulo_system = $GLOBALS['phpgw_info']['apps']['reports 1_0']['title'];75 $titulo_system = $GLOBALS['phpgw_info']['apps']['reports']['title']; 76 76 77 77 $pdf=new uireports_fpdf(); … … 91 91 $SubTituloR = lang('report organization'); 92 92 $SubTitulo1 = $subtitulo1; 93 $GLOBALS['phpgw_info']['apps']['reports 1_0']['subtitle'] = $SubTituloR;93 $GLOBALS['phpgw_info']['apps']['reports']['subtitle'] = $SubTituloR; 94 94 $pdf->Cell(0,8,$SubTitulo,0,1,'C',0); 95 95 … … 161 161 if (!$this->functions->check_acl($account_lid,'list_sectors')) 162 162 { 163 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/reports 1_0/inc/access_denied.php'));163 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/reports/inc/access_denied.php')); 164 164 } 165 165 … … 167 167 unset($GLOBALS['phpgw_info']['flags']['nonavbar']); 168 168 169 $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['reports 1_0']['title'].' - '.lang('report maillists');169 $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['reports']['title'].' - '.lang('report maillists'); 170 170 $GLOBALS['phpgw']->common->phpgw_header(); 171 171 … … 179 179 $var = Array( 180 180 'th_bg' => $GLOBALS['phpgw_info']['theme']['th_bg'], 181 'back_url' => $GLOBALS['phpgw']->link('/reports 1_0/index.php'),181 'back_url' => $GLOBALS['phpgw']->link('/reports/index.php'), 182 182 'context_display' => $context_display 183 183 ); … … 322 322 323 323 $data_atual = date("d/m/Y"); 324 $titulo_system = $GLOBALS['phpgw_info']['apps']['reports 1_0']['title'];324 $titulo_system = $GLOBALS['phpgw_info']['apps']['reports']['title']; 325 325 326 326 $account_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; … … 335 335 if (!$this->functions->check_acl($account_lid,'list_maillists')) 336 336 { 337 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/reports 1_0/inc/access_denied.php'));337 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/reports/inc/access_denied.php')); 338 338 } 339 339 340 340 unset($GLOBALS['phpgw_info']['flags']['noheader']); 341 341 unset($GLOBALS['phpgw_info']['flags']['nonavbar']); 342 $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['reports 1_0']['title'].' - '.lang('report maillists');342 $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['reports']['title'].' - '.lang('report maillists'); 343 343 $GLOBALS['phpgw']->common->phpgw_header(); 344 344 … … 382 382 { 383 383 //url do paginador 384 $url = '/index.php?menuaction=reports 1_0.uireports_maillists.report_maillists_print';384 $url = '/index.php?menuaction=reports.uireports_maillists.report_maillists_print'; 385 385 386 386 // **** Grupo de paginas ****
Note: See TracChangeset
for help on using the changeset viewer.