From 3df49694a9ca6532d9362db8100dc513a9a31b32 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 12 Oct 2002 15:00:34 +0000 Subject: [PATCH] New function to print richtext javascript --- lib/moodlelib.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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; -- 2.39.5