Changeset 4951 for branches/2.3/phpgwapi/templates/default
- Timestamp:
- 08/18/11 15:59:27 (13 years ago)
- Location:
- branches/2.3/phpgwapi/templates/default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/phpgwapi/templates/default/login.tpl
r3999 r4951 12 12 <script language="Javascript"> 13 13 <!-- 14 15 16 function isCompat(){ 17 version = (navigator.userAgent.match( /.+ie\s([\d.]+)/i ) || [])[1]; 18 if(parseInt(version)==7 && (/trident\/\d/i.test(navigator.userAgent))) 19 alert("{compatIE8}"); 20 } 14 21 15 22 function setLogin(){ … … 132 139 </script> 133 140 </HEAD> 134 <body scroll="no" style="overflow:hidden" onLoad="javascript:getLogin() " bgcolor="#ffffff">141 <body scroll="no" style="overflow:hidden" onLoad="javascript:getLogin();isCompat();" bgcolor="#ffffff"> 135 142 <form id="loginForm" name="flogin" method="post" action="{login_url}" {autocomplete}> 136 143 <div id="conteudo"> -
branches/2.3/phpgwapi/templates/default/login_default.php
r4867 r4951 386 386 $tmpl->set_var('website_title', $GLOBALS['phpgw_info']['server']['site_title']); 387 387 $tmpl->set_var('template_set', $template); 388 $tmpl->set_var('compatIE8',lang("The compatibility mode for internet explorer 8 is active. Turn it of if you want to use the local mail functionality.")); 388 389 389 390 // loads the template's login.css
Note: See TracChangeset
for help on using the changeset viewer.