From c53be4c0137de3c45bb28de6cf1b7da342e2feee Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 15 Oct 2003 02:48:40 +0000 Subject: [PATCH] Some cleaning up ... shouldn't make much difference --- lib/rte/richedit.php | 3 +++ lib/rte/rte.php | 7 +++++++ lib/weblib.php | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/rte/richedit.php b/lib/rte/richedit.php index 275b682a23..a7adf3b560 100644 --- a/lib/rte/richedit.php +++ b/lib/rte/richedit.php @@ -110,6 +110,9 @@ --> diff --git a/lib/rte/rte.php b/lib/rte/rte.php index ec214c660a..388401acb2 100644 --- a/lib/rte/rte.php +++ b/lib/rte/rte.php @@ -102,6 +102,13 @@ // //////////////////////////////////////////////////////////////////////////////// + + // Internal (private) properties. // RichEditor is the global RichEditor object (function) of which there is only // 1 instance. diff --git a/lib/weblib.php b/lib/weblib.php index a26c99fbe9..2e75c98abb 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1259,7 +1259,7 @@ function print_textarea($richedit, $rows, $cols, $width, $height, $name, $value= if ($richedit) { $richediturl = "$CFG->wwwroot/lib/rte/richedit.html"; if (!empty($courseid) and isteacher($courseid)) { - $richediturl = "$CFG->wwwroot/lib/rte/richedit.php?id=$courseid&wwwroot=$CFG->wwwroot"; + $richediturl = "$CFG->wwwroot/lib/rte/richedit.php?id=$courseid"; } echo "