Ignore:
Timestamp:
10/10/07 14:29:38 (17 years ago)
Author:
niltonneto
Message:

Atualização do CVS Interno com CVS Externo.
Modificações, vide changelog no arquivo changelog.txt ou no site do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php

    r64 r81  
    1818                        'delete_managers'       => True, 
    1919                        'edit_managers'         => True, 
    20                         'copy_managers'         => True, 
    2120                        'validate'                      => True 
    2221                ); 
     
    398397                } 
    399398                 
    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 gerente 
    411                         $manager = $this->functions->read_acl($manager_lid); 
    412                         //Cria vetor da ACL 
    413                         $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                  
    433399                function make_lang($ram_lang) 
    434400                { 
Note: See TracChangeset for help on using the changeset viewer.