Changeset 81 for trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php
- Timestamp:
- 10/10/07 14:29:38 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php
r64 r81 18 18 'delete_managers' => True, 19 19 'edit_managers' => True, 20 'copy_managers' => True,21 20 'validate' => True 22 21 ); … … 398 397 } 399 398 400 function copy_managers()401 {402 403 404 405 /*406 echo '<pre>';407 print_r($_GET);408 $manager_lid = $_GET['manager_lid'];409 410 //Pego ACL do gerente411 $manager = $this->functions->read_acl($manager_lid);412 //Cria vetor da ACL413 $manager_acl = $this->functions->make_array_acl($manager[0]['acl']);414 415 //Pesquisa no Banco e pega os valores dos apps.416 $query = "SELECT * FROM phpgw_expressoadmin_apps WHERE manager_lid = '" . $manager_lid . "' AND context = '" . $_GET['context'] . "'";417 $GLOBALS['phpgw']->db->query($query);418 $i=0;419 $manager[0]['apps'] = array();420 while($GLOBALS['phpgw']->db->next_record())421 {422 $tmp[$i] = $GLOBALS['phpgw']->db->row();423 $_POST['applications_list'][$tmp[$i]['app']] = 1;424 $manager[0]['apps'][$tmp[$i]['app']] = 1;425 $i++;426 }427 428 print_r($manager);429 430 */431 }432 433 399 function make_lang($ram_lang) 434 400 {
Note: See TracChangeset
for help on using the changeset viewer.