From f3f35b08318d4ff1353bf801b583c7b0c323f361 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 30 Dec 2006 09:50:11 +0000 Subject: [PATCH] Fixed note from last commit, but NOT tested, sorry not an Opera regular git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12014 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/template.php b/functions/template.php index ded79f68..c6b46a11 100644 --- a/functions/template.php +++ b/functions/template.php @@ -47,8 +47,8 @@ $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")) { + } elseif (stristr($browser_user_agent, "msie") + && stristr($browser_user_agent, 'opera') === FALSE) { $browser = 'msie'; $dom_browser = true; $is_IE = true; -- 2.25.1