Changeset 471


Ignore:
Timestamp:
09/24/08 09:58:49 (16 years ago)
Author:
niltonneto
Message:

Alterações feitas por Joao Alfredo:

  • Corrigido bug que gerava tela branca após criação de setor.
  • Corrigido tradução.
  • Escondido Exibir registro de acesso na criação de contas.
Location:
trunk/expressoAdmin1_2
Files:
7 edited

Legend:

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

    r414 r471  
    2020                var $so; 
    2121                var $functions; 
    22  
     22                var $db_functions; 
     23         
    2324                function bosectors() 
    2425                { 
    2526                        $this->so = createobject('expressoAdmin1_2.sosectors'); 
    2627                        $this->functions = $this->so->functions; 
     28                        $this->db_functions = $this->so->db_functions; 
    2729                        $this->soaccounts = createobject('expressoAdmin1_2.soaccounts'); 
    2830                        $this->sogroups = createobject('expressoAdmin1_2.sogroups'); 
  • trunk/expressoAdmin1_2/inc/class.ldap_functions.inc.php

    r458 r471  
    148148                { 
    149149                        $result['status'] = false; 
    150                         $result['msg'] = $this->functions->lang('This LOGIN can not be used because is a System Account') . "."; 
     150                        $result['msg'] = $this->functions->lang('this login can not be used because is a system account') . "."; 
    151151                        return $result; 
    152152                } 
     
    209209                        { 
    210210                                $result['status'] = false; 
    211                                 $result['msg'] = $this->functions->lang('This LOGIN is being used by a group') . "."; 
     211                                $result['msg'] = $this->functions->lang('This login is being used by a group') . "."; 
    212212                                return $result; 
    213213                        } 
     
    255255                                        { 
    256256                                                $result['status'] = false; 
    257                                                 $result['msg'] = $this->functions->lang('This LOGIN is already used by a user in another organization') . "."; 
     257                                                $result['msg'] = $this->functions->lang('this login is already used by a user in another organization') . "."; 
    258258                                                ldap_close($ldap_connection2); 
    259259                                                return $result; 
     
    277277                        if ($entries[0]['uid'][0] != $uid){ 
    278278                                $result['status'] = false; 
    279                                 $result['msg'] = $this->functions->lang('Email is being used by 1 user') . ": " . $entries[0]['uid'][0]; 
     279                                $result['msg'] = $this->functions->lang('this email address is being used by 1 user') . ": " . $entries[0]['uid'][0]; 
    280280                                return $result; 
    281281                        } 
     
    283283                else if ($entries['count'] > 1){ 
    284284                        $result['status'] = false; 
    285                         $result['msg'] = $this->functions->lang('Email is being used by 2 or more users') . "."; 
     285                        $result['msg'] = $this->functions->lang('this email address is being used by 2 or more users') . "."; 
    286286                        return $result; 
    287287                } 
     
    295295                        if ($entries[0]['uid'][0] != $uid){ 
    296296                                $result['status'] = false; 
    297                                 $result['msg'] = $this->functions->lang('Alternative email is being used by 1 user') . ": " . $entries[0]['uid'][0]; 
     297                                $result['msg'] = $this->functions->lang('alternative email is being used by 1 user') . ": " . $entries[0]['uid'][0]; 
    298298                                return $result; 
    299299                        } 
     
    301301                else if ($entries['count'] > 1){ 
    302302                        $result['status'] = false; 
    303                         $result['msg'] = $this->functions->lang('Alternative email is being used by 2 or more users') . "."; 
     303                        $result['msg'] = $this->functions->lang('alternative email is being used by 2 or more users') . "."; 
    304304                        return $result; 
    305305                } 
     
    485485                { 
    486486                        $result['status'] = false; 
    487                         $result['msg'] = $this->functions->lang('This email list LOGIN is already used') . "."; 
     487                        $result['msg'] = $this->functions->lang('this email list login is already used') . "."; 
    488488                        return $result; 
    489489                } 
     
    497497                { 
    498498                        $result['status'] = false; 
    499                         $result['msg'] = $this->functions->lang('EMAIL is already used') . "."; 
     499                        $result['msg'] = $this->functions->lang('this email address is already used') . "."; 
    500500                        return $result; 
    501501                } 
  • trunk/expressoAdmin1_2/inc/class.sosectors.inc.php

    r414 r471  
    1414                var $functions; 
    1515                var $ldap_connection; 
     16                var $db_functions; 
    1617                 
    1718                function sosectors() 
    1819                { 
    1920                        $this->functions = createobject('expressoAdmin1_2.functions'); 
     21                        $this->db_functions = CreateObject('expressoAdmin1_2.db_functions'); 
    2022                         
    2123                        if ( (!empty($GLOBALS['phpgw_info']['server']['ldap_master_host'])) && 
  • trunk/expressoAdmin1_2/inc/class.uiaccounts.inc.php

    r414 r471  
    234234                                'display_samba_suport'  => $this->current_config['expressoAdmin_samba_support'] == 'true' ? '' : 'none', 
    235235                                'disabled_access_button'=> 'disabled', 
     236                                'display_samba_suport'  => 'none', 
    236237                                 
    237238                                // First ABA 
  • trunk/expressoAdmin1_2/templates/default/accounts_form.tpl

    r430 r471  
    115115                </tr>            
    116116 
    117                 <tr bgcolor={row_on}> 
    118                         <td><input type='button' {disabled} {disabled_access_button} value='Exibir registros de acesso' onclick="document.location.href='./index.php?menuaction=expressoAdmin1_2.uiaccounts.show_access_log&account_id={uidnumber}';"></td> 
     117                <tr bgcolor={row_on} style="display:{display_samba_suport}"> 
     118                        <td><input type='button' {disabled} {disabled_access_button} value='{lang_show_access_logs}' onclick="document.location.href='./index.php?menuaction=expressoAdmin1_2.uiaccounts.show_access_log&account_id={uidnumber}';"></td> 
    119119                </tr> 
    120120        </table> 
  • trunk/expressoAdmin1_2/templates/default/logs.tpl

    r414 r471  
    1010                                <tr> 
    1111                                        <td align="left" width="20%"> 
    12                                                 {lang_manager_lid}: 
     12                                                {lang_manager}: 
    1313                                        </td> 
    1414                                        <td align="left" width="80%"> 
     
    6363                        <tr bgcolor="{th_bg}"> 
    6464                                <td width="10%" align="center">{lang_date}</td> 
    65                                 <td width="10%" align="center">{lang_manager_lid}</td> 
     65                                <td width="10%" align="center">{lang_manager}</td> 
    6666                                <td width="35%" align="center">{lang_action}</td> 
    6767                                <td width="35%" align="center">{lang_about}</td> 
Note: See TracChangeset for help on using the changeset viewer.