Changeset 3949 for branches/2.2/reports/inc/class.uireports_cota.inc.php
- Timestamp:
- 04/01/11 15:43:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/reports/inc/class.uireports_cota.inc.php
r3666 r3949 73 73 } 74 74 75 // Verifica se tem acesso a este modulo76 if (!$this->functions->check_acl($account_lid,'list_sectors'))77 {78 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/reports/inc/access_denied.php'));79 }80 81 75 unset($GLOBALS['phpgw_info']['flags']['noheader']); 82 76 unset($GLOBALS['phpgw_info']['flags']['nonavbar']); … … 110 104 $varorganizacao_nome = trim(strtoupper(ereg_replace("DC=","",$varorganizacao_nome))); 111 105 $user_logon = $GLOBALS['phpgw_info']['user'][account_lid]; 112 113 // carrega os grupos no listbox114 /************* DESCOMENTE ESTE PARTE DO CODIGO PARA LISTAR TODOS OS GRUPOS, SEM LISTAR POR USUSARIO LOGADO ***********115 $sectors_info = $this->functions->get_groups_list($contexts,"*");116 $sectors_info_dn = $this->functions->get_groups_list_dn($contexts,"*");117 /* ************************************* FIM *********************************************************************** */118 106 119 107 $sectors_info = $this->functions->get_list_context_logon($user_logon,$contexts,0);
Note: See TracChangeset
for help on using the changeset viewer.