Some cleaning up ... shouldn't make much difference
This commit is contained in:
@@ -110,6 +110,9 @@
|
||||
-->
|
||||
<?php
|
||||
include("../../config.php");
|
||||
|
||||
require_variable($id);
|
||||
|
||||
?>
|
||||
<html><head>
|
||||
<meta content="HTML 4.0" name="vs_targetSchema">
|
||||
|
||||
@@ -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
@@ -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\"";
|
||||
|
||||
Reference in New Issue
Block a user