From: pdontthink Date: Sat, 30 Dec 2006 09:50:11 +0000 (+0000) Subject: Fixed note from last commit, but NOT tested, sorry not an Opera regular X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=f3f35b08318d4ff1353bf801b583c7b0c323f361 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 --- 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;