Ignore:
Timestamp:
06/10/08 16:40:13 (16 years ago)
Author:
niltonneto
Message:

Sincronização com versão publicada em 04/06/2008.

File:
1 edited

Legend:

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

    r283 r309  
    6969                                'back_url'                              => $GLOBALS['phpgw']->link('/expressoAdmin1_2/index.php'), 
    7070                                'context_display'               => $context_display, 
    71                                 'lang_context'                  => lang('Context'), 
    72                                 'header_name'                   => lang('Sector name'), 
    73                                 'lang_add_sub_sectors'          => lang('Create sub-sectors'), 
     71                                'lang_context'                  => lang('context'), 
     72                                'header_name'                   => lang('SECTORS'), 
     73                                'lang_add_sub_sectors'  => lang('Add Sub-Sectors'), 
    7474                                'header_edit'                   => lang('Edit'), 
    75                                 'lang_back'                     => lang('Back'), 
     75                                'lang_back'                             => lang('back'), 
    7676                                'header_delete'                 => lang('Delete') 
    7777                        ); 
     
    134134                        if (! $GLOBALS['phpgw']->acl->check('group_access',4,'admin')) 
    135135                        { 
    136                                 $p->set_var('input_add','<input type="submit" value="' . lang('Create sector') . '">'); 
     136                                $p->set_var('input_add','<input type="submit" value="' . lang('Add Sectors') . '">'); 
    137137                        } 
    138138                         
     
    160160                        unset($GLOBALS['phpgw_info']['flags']['noheader']); 
    161161                        unset($GLOBALS['phpgw_info']['flags']['nonavbar']); 
    162                         $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['expressoAdmin1_2']['title'].' - '.lang('Create sector'); 
     162                        $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['expressoAdmin1_2']['title'].' - '.lang('Create Sector'); 
    163163                        $GLOBALS['phpgw']->common->phpgw_header(); 
    164164                         
     
    174174                                'context'                       => $context == '' ? $GLOBALS['phpgw_info']['server']['ldap_context'] : $context, 
    175175                                'sector'                        => $_POST['sector'], 
    176                                 'sector_visible_checked'        => $_POST['sector_visible'] ? 'checked' : '', 
     176                                'sector_visible_checked'=> $_POST['sector_visible'] ? 'checked' : '', 
    177177                                 
    178178                                'lang_add'                      => lang('Add'), 
     
    181181                                'lang_context'          => lang('Context'), 
    182182                                'lang_sector_name'      => lang('Sector name'), 
    183                                 'lang_occult_ou'                => lang('Hidden sector'), 
     183                                'lang_occult_ou'        => lang('Occult Sector'), 
    184184                                'error_messages'        => $_POST['error_messages'] == '' ? '' : "<script type='text/javascript'>alert('".$_POST['error_messages']."')</script>", 
    185185                        ); 
     
    209209                        unset($GLOBALS['phpgw_info']['flags']['noheader']); 
    210210                        unset($GLOBALS['phpgw_info']['flags']['nonavbar']); 
    211                         $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['expressoAdmin1_2']['title'].' - '.lang('Edit sector'); 
     211                        $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['expressoAdmin1_2']['title'].' - '.lang('Edit Sector'); 
    212212                        $GLOBALS['phpgw']->common->phpgw_header(); 
    213213                         
     
    229229                                'context'                       => $context == '' ? $manager_context : $context, 
    230230                                'sector'                                => $_POST['sector'] == '' ? $sector_name : $_POST['sector'], 
    231                                 'sector_visible_checked'        => $_POST['sector_visible'] ? 'checked' : '', 
     231                                'sector_visible_checked'=> $_POST['sector_visible'] ? 'checked' : '', 
    232232                                 
    233233                                'lang_add'                      => lang('Add'), 
     
    237237                                'lang_context'          => lang('Context'), 
    238238                                'lang_sector_name'      => lang('Sector name'), 
    239                                 'lang_occult_ou'                => lang('Hidden sector'), 
     239                                'lang_occult_ou'        => lang('Occult Sector'), 
    240240                                'error_messages'        => $_POST['error_messages'] == '' ? '' : "<script type='text/javascript'>alert('".$_POST['error_messages']."')</script>", 
    241241                        ); 
     
    255255                        if ($sector_name == '') 
    256256                        { 
    257                                 $_POST['error_messages'] = lang('Sector name is empty'); 
     257                                $_POST['error_messages'] = lang('Sector name is empty.'); 
    258258                                ExecMethod('expressoAdmin1_2.uisectors.add_sector'); 
    259259                                return; 
     
    287287                        unset($GLOBALS['phpgw_info']['flags']['noheader']); 
    288288                        unset($GLOBALS['phpgw_info']['flags']['nonavbar']); 
    289                         $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['expressoAdmin1_2']['title'].' - '.lang('Delete sector'); 
     289                        $GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps']['expressoAdmin1_2']['title'].' - '.lang('Delete Sectors'); 
    290290                        $GLOBALS['phpgw']->common->phpgw_header(); 
    291291 
     
    333333                                'lang_back'                                     => lang('Back'), 
    334334                                'lang_delete'                           => lang('Delete'), 
    335                                 'lang_delete_sector'            => lang('Do you realy want to delete this sector?'), 
    336                                 'lang_content_the_users'        => lang('Users'), 
    337                                 'lang_content_the_groups'       => lang('Groups'), 
    338                                 'lang_content_the_sectors'      => lang('Sub-sectors'), 
    339                                 'lang_obs'                      => lang('All users, groups and sub-sectors of this sector will be deleted!'), 
     335                                'lang_delete_sector'            => lang('Do you realy want delete this sector?'), 
     336                                'lang_content_the_users'        => lang('Content the folling users'), 
     337                                'lang_content_the_groups'       => lang('Content the folling groups'), 
     338                                'lang_content_the_sectors'      => lang('Content the folling sectors'), 
     339                                'lang_obs'                                      => lang('All users, groups and sub-sectors of this sector will be DELETED!'), 
    340340                                 
    341341                                'manager_context'                       => $manager_context, 
Note: See TracChangeset for help on using the changeset viewer.