From: moodler Date: Mon, 13 Oct 2003 14:03:48 +0000 (+0000) Subject: use format_text, not text_to_html X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=445b23013e3aa4202aaa722749e3c83948929b5b;p=moodle.git use format_text, not text_to_html --- diff --git a/course/format/topics.php b/course/format/topics.php index ded8580bca..cd5ea8e27d 100644 --- a/course/format/topics.php +++ b/course/format/topics.php @@ -128,7 +128,7 @@ "height=11 width=11 border=0 alt=\"$streditsummary\">

"; } - echo text_to_html($thissection->summary); + echo format_text($thissection->summary); print_section($course, $thissection, $mods, $modnamesused); @@ -216,7 +216,7 @@ "pixpath/t/edit.gif\" border=0 height=11 width=11>"; } - echo text_to_html($thissection->summary); + echo format_text($thissection->summary); print_section($course, $thissection, $mods, $modnamesused); diff --git a/course/format/weeks.php b/course/format/weeks.php index 4bcd202aa9..2932a6318e 100644 --- a/course/format/weeks.php +++ b/course/format/weeks.php @@ -115,7 +115,7 @@ "border=0 alt=\"$streditsummary\">

"; } - echo text_to_html($thissection->summary); + echo format_text($thissection->summary); print_section($course, $thissection, $mods, $modnamesused); @@ -206,7 +206,7 @@ "pixpath/t/edit.gif\" height=11 width=11 border=0>

"; } - echo text_to_html($thissection->summary); + echo format_text($thissection->summary); print_section($course, $thissection, $mods, $modnamesused);