From: skodak Date: Sun, 21 May 2006 20:21:35 +0000 (+0000) Subject: temporary workaround for bug #5534, html editor now disabled for IE when loginhttps... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d1c8eb14d10b955e9878e96e7cf16eda510f5fb9;p=moodle.git temporary workaround for bug #5534, html editor now disabled for IE when loginhttps on and wwwroot starts with http://; merged from MOODLE_16_STABLE --- 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");