Some cleaning up ... shouldn't make much difference

This commit is contained in:
moodler
2003-10-15 02:48:40 +00:00
parent 68b32c8cf4
commit c53be4c013
3 changed files with 11 additions and 1 deletions
+3
View File
@@ -110,6 +110,9 @@
-->
<?php
include("../../config.php");
require_variable($id);
?>
<html><head>
<meta content="HTML 4.0" name="vs_targetSchema">
+7
View File
@@ -102,6 +102,13 @@
//
////////////////////////////////////////////////////////////////////////////////
<?php
include("../../config.php");
require_variable($id);
?>
// Internal (private) properties.
// RichEditor is the global RichEditor object (function) of which there is only
// 1 instance.
+1 -1
View File
@@ -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 "<object id=\"richedit\" style=\"background-color: buttonface\"";