]> git.mjollnir.org Git - moodle.git/commitdiff
use format_text, not text_to_html
authormoodler <moodler>
Mon, 13 Oct 2003 14:03:48 +0000 (14:03 +0000)
committermoodler <moodler>
Mon, 13 Oct 2003 14:03:48 +0000 (14:03 +0000)
course/format/topics.php
course/format/weeks.php

index ded8580bcaa65722f8dc44cb659da6957fa31655..cd5ea8e27d6d72caf1f7ba2e786600e9143b0a38 100644 (file)
                                      "height=11 width=11 border=0 alt=\"$streditsummary\"></a></p>";
         }
     
-        echo text_to_html($thissection->summary);
+        echo format_text($thissection->summary);
     
         print_section($course, $thissection, $mods, $modnamesused);
     
                      "<img src=\"$CFG->pixpath/t/edit.gif\" border=0 height=11 width=11></a>";
             }
     
-            echo text_to_html($thissection->summary);
+            echo format_text($thissection->summary);
     
             print_section($course, $thissection, $mods, $modnamesused);
     
index 4bcd202aa919d2834a49e28a5575bcd2eacea822..2932a6318ead2c2a59e1b9cbac9693dacc999572 100644 (file)
                                   "border=0 alt=\"$streditsummary\"></a></p>";
         }
     
-        echo text_to_html($thissection->summary);
+        echo format_text($thissection->summary);
     
         print_section($course, $thissection, $mods, $modnamesused);
 
                       "<img src=\"$CFG->pixpath/t/edit.gif\" height=11 width=11 border=0></a></p>";
             }
 
-            echo text_to_html($thissection->summary);
+            echo format_text($thissection->summary);
 
             print_section($course, $thissection, $mods, $modnamesused);