From efc346b5ca57366d41673705602bc06d50c8b7a6 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 21 May 2006 20:20:45 +0000 Subject: [PATCH] temporary workaround for bug #5534, html editor now disabled for IE when loginhttps on and wwwroot starts with http:// --- user/edit.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/user/edit.php b/user/edit.php index 0b3656e5aea..63d574eae22 100644 --- a/user/edit.php +++ b/user/edit.php @@ -277,6 +277,12 @@ $usehtmleditor = can_use_html_editor(); + //temporary hack to disable htmleditor in IE when loginhttps on and wwwroot starts with http:// + //see bug #5534 + if (!empty($CFG->loginhttps) and check_browser_version('MSIE', 5.5) and (strpos($CFG->wwwroot, 'http://') === 0)) { + $usehtmleditor = false; + } + $streditmyprofile = get_string("editmyprofile"); $strparticipants = get_string("participants"); $strnewuser = get_string("newuser");