From: moodler Date: Sat, 12 Oct 2002 15:00:34 +0000 (+0000) Subject: New function to print richtext javascript X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3df49694a9ca6532d9362db8100dc513a9a31b32;p=moodle.git New function to print richtext javascript --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 1faf0ba823..f285c0e3af 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -321,17 +321,24 @@ function print_textarea($richedit, $rows, $cols, $width, $height, $name, $value= echo "wwwroot/lib/rte/richedit.html\""; echo " width=\"$width\" height=\"$height\" "; - echo " type=\"text/x-scriptlet\" VIEWASTEXT>"; + echo " type=\"text/x-scriptlet\" VIEWASTEXT>\n"; echo ""; + echo "\n"; } else { echo ""; + echo "\n"; } } +function print_richedit_javascript($form, $name, $source="no") { + echo ""; +} + function update_course_icon($courseid) { global $CFG, $USER;