Changeset 1117 for trunk/admin
- Timestamp:
- 07/14/09 08:49:48 (15 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/inc/class.uimainscreen.inc.php
r2 r1117 37 37 $acl_ok['loginscreen'] = True; 38 38 } 39 if (!$GLOBALS['phpgw']->acl->check('mainscreen_message_access',3,'admin')) 40 { 41 $acl_ok['loginhelp'] = True; 42 } 39 43 if ($_POST['cancel'] && !isset($_POST['message']) || 40 44 !count($acl_ok) || $_POST['submit'] && !isset($acl_ok[$section])) … … 70 74 $GLOBALS['phpgw_info']['flags']['app_header'] = lang('Admin').' - '.lang('Edit login screen message') . ': '.strtoupper($select_lang); 71 75 break; 76 case 'loginhelp': 77 $GLOBALS['phpgw_info']['flags']['app_header'] = lang('Admin').' - '.lang('Edit login help message') . ': '.strtoupper($select_lang); 78 break; 72 79 default: 73 80 $GLOBALS['phpgw_info']['flags']['app_header'] = lang('Admin').' - '.lang('Main screen message'); … … 120 127 $select_section .= ' <option value="'.$key.'"'. 121 128 ($key == $_POST['section'] ? ' selected' : '') . '>' . 122 ($key == 'mainscreen' ? lang('Main screen') : lang("Login screen")) . "</option>\n";129 lang($key) . "</option>\n"; 123 130 } 124 131 $select_section .= '</select>';
Note: See TracChangeset
for help on using the changeset viewer.