Note to fix naive user agent sniffing
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 30 Dec 2006 07:57:28 +0000 (07:57 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 30 Dec 2006 07:57:28 +0000 (07:57 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12013 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/template.php

index 3d14274..ded79f6 100644 (file)
@@ -47,6 +47,7 @@ $xhtml_end='';
         $browser = 'msie4';
         $dom_browser = false;
         $is_IE = true;
+//FIXME: this fails for Opera because its user agent also contains MSIE
     } elseif (stristr($browser_user_agent, "msie")) {
         $browser = 'msie';
         $dom_browser = true;