Changeset 309 for trunk/expressoAdmin1_2/inc/class.uisectors.inc.php
- Timestamp:
- 06/10/08 16:40:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uisectors.inc.php
r283 r309 69 69 'back_url' => $GLOBALS['phpgw']->link('/expressoAdmin1_2/index.php'), 70 70 'context_display' => $context_display, 71 'lang_context' => lang(' Context'),72 'header_name' => lang('S ector 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'), 74 74 'header_edit' => lang('Edit'), 75 'lang_back' => lang('Back'),75 'lang_back' => lang('back'), 76 76 'header_delete' => lang('Delete') 77 77 ); … … 134 134 if (! $GLOBALS['phpgw']->acl->check('group_access',4,'admin')) 135 135 { 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') . '">'); 137 137 } 138 138 … … 160 160 unset($GLOBALS['phpgw_info']['flags']['noheader']); 161 161 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'); 163 163 $GLOBALS['phpgw']->common->phpgw_header(); 164 164 … … 174 174 'context' => $context == '' ? $GLOBALS['phpgw_info']['server']['ldap_context'] : $context, 175 175 'sector' => $_POST['sector'], 176 'sector_visible_checked' 176 'sector_visible_checked'=> $_POST['sector_visible'] ? 'checked' : '', 177 177 178 178 'lang_add' => lang('Add'), … … 181 181 'lang_context' => lang('Context'), 182 182 'lang_sector_name' => lang('Sector name'), 183 'lang_occult_ou' => lang('Hidden sector'),183 'lang_occult_ou' => lang('Occult Sector'), 184 184 'error_messages' => $_POST['error_messages'] == '' ? '' : "<script type='text/javascript'>alert('".$_POST['error_messages']."')</script>", 185 185 ); … … 209 209 unset($GLOBALS['phpgw_info']['flags']['noheader']); 210 210 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'); 212 212 $GLOBALS['phpgw']->common->phpgw_header(); 213 213 … … 229 229 'context' => $context == '' ? $manager_context : $context, 230 230 'sector' => $_POST['sector'] == '' ? $sector_name : $_POST['sector'], 231 'sector_visible_checked' 231 'sector_visible_checked'=> $_POST['sector_visible'] ? 'checked' : '', 232 232 233 233 'lang_add' => lang('Add'), … … 237 237 'lang_context' => lang('Context'), 238 238 'lang_sector_name' => lang('Sector name'), 239 'lang_occult_ou' => lang('Hidden sector'),239 'lang_occult_ou' => lang('Occult Sector'), 240 240 'error_messages' => $_POST['error_messages'] == '' ? '' : "<script type='text/javascript'>alert('".$_POST['error_messages']."')</script>", 241 241 ); … … 255 255 if ($sector_name == '') 256 256 { 257 $_POST['error_messages'] = lang('Sector name is empty ');257 $_POST['error_messages'] = lang('Sector name is empty.'); 258 258 ExecMethod('expressoAdmin1_2.uisectors.add_sector'); 259 259 return; … … 287 287 unset($GLOBALS['phpgw_info']['flags']['noheader']); 288 288 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'); 290 290 $GLOBALS['phpgw']->common->phpgw_header(); 291 291 … … 333 333 'lang_back' => lang('Back'), 334 334 'lang_delete' => lang('Delete'), 335 'lang_delete_sector' => lang('Do you realy want todelete 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!'), 340 340 341 341 'manager_context' => $manager_context,
Note: See TracChangeset
for help on using the changeset viewer.