From 0c38388483bce45c86ac8ab9b2e6972b56294c09 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 30 Dec 2006 07:57:28 +0000 Subject: [PATCH] Note to fix naive user agent sniffing git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12013 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/template.php b/functions/template.php index 3d142742..ded79f68 100644 --- a/functions/template.php +++ b/functions/template.php @@ -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; -- 2.25.1