From 445b23013e3aa4202aaa722749e3c83948929b5b Mon Sep 17 00:00:00 2001
From: moodler
Date: Mon, 13 Oct 2003 14:03:48 +0000
Subject: [PATCH] use format_text, not text_to_html
---
course/format/topics.php | 4 ++--
course/format/weeks.php | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
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);
--
2.39.5