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 3d1427421b837c8bc332165d6eb03dbd169758bd..ded79f6871d2b7c5d3d69a35b88a5011d680b159 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;