Changeset 3666 for branches/2.2/reports1_0/inc/class.uireports.inc.php
- 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.inc.php
r3471 r3666 29 29 function uireports() 30 30 { 31 $this->user = CreateObject('reports 1_0.user');31 $this->user = CreateObject('reports.user'); 32 32 $this->nextmatchs = CreateObject('phpgwapi.nextmatchs'); 33 $this->functions = CreateObject('reports 1_0.functions');34 $this->ldap_functions = CreateObject('reports 1_0.ldap_functions');35 $this->db_functions = CreateObject('reports 1_0.db_functions');36 $this->fpdf = CreateObject('reports 1_0.fpdf'); // Class para PDF33 $this->functions = CreateObject('reports.functions'); 34 $this->ldap_functions = CreateObject('reports.ldap_functions'); 35 $this->db_functions = CreateObject('reports.db_functions'); 36 $this->fpdf = CreateObject('reports.fpdf'); // Class para PDF 37 37 38 $c = CreateObject('phpgwapi.config','reports 1_0'); // cria o objeto relatorio no $c38 $c = CreateObject('phpgwapi.config','reports'); // cria o objeto relatorio no $c 39 39 $c->read_repository(); // na classe config do phpgwapi le os dados da tabela phpgw_config where relatorio, como passagem acima 40 40 $this->current_config = $c->config_data; // carrega os dados em do array no current_config … … 44 44 $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript'); 45 45 } 46 $GLOBALS['phpgw']->js->validate_file('jscode','cc','reports 1_0');46 $GLOBALS['phpgw']->js->validate_file('jscode','cc','reports'); 47 47 } 48 48 … … 154 154 { 155 155 return '<a href="'.$GLOBALS['phpgw']->link('/index.php',Array( 156 'menuaction' => 'reports 1_0.uireports.'.$action.'_'.$type,156 'menuaction' => 'reports.uireports.'.$action.'_'.$type, 157 157 'account_id' => $account_id 158 158 )).'"> '.lang($action).' </a>';
Note: See TracChangeset
for help on using the changeset viewer.