Changeset 1117
- Timestamp:
- 07/14/09 08:49:48 (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 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>'; -
trunk/login.php
r1111 r1117 103 103 } 104 104 $tmpl->set_file(array('login_form' => 'login.tpl')); 105 106 $tmpl->set_var('template',$GLOBALS['phpgw_info']['login_template_set']); 105 107 if (count($GLOBALS['phpgw_info']['server']['login_logo_file']) > 0) 106 108 $tmpl->set_var('logo_config',$GLOBALS['phpgw_info']['server']['login_logo_file']); -
trunk/phpgwapi/templates/azul/login.tpl
r1107 r1117 83 83 </div> 84 84 <div id="rodape_login"> 85 <div class="ajuda"><a href="#">Ajuda</a></div>85 <div class="ajuda"><a target="help" href="./phpgwapi/templates/{template}/help.php">Ajuda</a></div> 86 86 </div> 87 87 </div>
Note: See TracChangeset
for help on using the changeset viewer.