From d1c8eb14d10b955e9878e96e7cf16eda510f5fb9 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 21 May 2006 20:21:35 +0000 Subject: [PATCH] temporary workaround for bug #5534, html editor now disabled for IE when loginhttps on and wwwroot starts with http://; merged from MOODLE_16_STABLE --- user/edit.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/user/edit.php b/user/edit.php index 0b3656e5ae..63d574eae2 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"); -- 2.39.5