Changeset 4951
- Timestamp:
- 08/18/11 15:59:27 (13 years ago)
- Location:
- branches/2.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/expressoMail1_2/js/main.js
r4938 r4951 21 21 preferences = data; 22 22 current_folder="INBOX"; 23 24 version = (navigator.userAgent.match( /.+ie\s([\d.]+)/i ) || [])[1]; 25 if(parseInt(version)==7 && (/trident\/\d/i.test(navigator.userAgent))) 26 preferences.use_local_messages="0"; 23 27 24 28 if( (window.google && google.gears) && !google.gears.factory.getPermission()) 25 29 preferences.use_local_messages=0; 26 30 27 31 if ((preferences.use_local_messages==1) && (!window.google || !google.gears)) { 28 32 temp = confirm(get_lang("To use local messages you have to install google gears. Would you like to be redirected to gears installation page?")); -
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.