- Timestamp:
- 07/14/09 10:57:52 (15 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/login.php
r1117 r1118 105 105 106 106 $tmpl->set_var('template',$GLOBALS['phpgw_info']['login_template_set']); 107 $tmpl->set_var('lang',$_GET['lang']?$_GET['lang']:preg_replace("/\,.*/","",$GLOBALS['_SERVER']['HTTP_ACCEPT_LANGUAGE'])); 108 107 109 if (count($GLOBALS['phpgw_info']['server']['login_logo_file']) > 0) 108 110 $tmpl->set_var('logo_config',$GLOBALS['phpgw_info']['server']['login_logo_file']); -
trunk/phpgwapi/templates/azul/help.php
r1117 r1118 15 15 $GLOBALS['phpgw']->translation->init(); 16 16 $GLOBALS['phpgw']->translation->add_app('loginhelp'); 17 18 if(lang('loginhelp_message') == 'loginhelp_message*') 19 { 20 $GLOBALS['phpgw']->translation->add_app('loginhelp','en'); 21 } 17 $GLOBALS['phpgw']->translation->add_app('loginhelp',$_GET['lang']); 22 18 if(lang('loginhelp_message') != 'loginhelp_message*') 23 19 { -
trunk/phpgwapi/templates/azul/help.tpl
r1117 r1118 11 11 <TITLE>{website_title} - {lang_login}</TITLE> 12 12 <BODY> 13 <div id="caixa_login"> 14 <div id="reflexo">{login_help} 15 <div id="rodape_login"> 16 </div> 17 </div> 13 <div id="conteudo"> 14 {login_help} 18 15 </div> 19 16 </BODY> -
trunk/phpgwapi/templates/azul/login.tpl
r1117 r1118 83 83 </div> 84 84 <div id="rodape_login"> 85 <div class="ajuda"><a target="help" href="./phpgwapi/templates/{template}/help.php ">Ajuda</a></div>85 <div class="ajuda"><a target="help" href="./phpgwapi/templates/{template}/help.php?lang={lang}">Ajuda</a></div> 86 86 </div> 87 87 </div>
Note: See TracChangeset
for help on using the changeset viewer.