]> git.mjollnir.org Git - moodle.git/commitdiff
Finish off topics display
authormoodler <moodler>
Mon, 9 Dec 2002 09:03:15 +0000 (09:03 +0000)
committermoodler <moodler>
Mon, 9 Dec 2002 09:03:15 +0000 (09:03 +0000)
course/topics.php

index 7f609aa94bfdb38030f9c278eac35416577458b4..a42c4b20821db6390e9858bdc198ee063782daf9 100644 (file)
@@ -86,8 +86,7 @@
 /// Start main column
     echo "</TD><TD WIDTH=\"*\">";
 
-    print_simple_box(get_string("topicoutline"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
-    
+    print_heading_block(get_string("topicoutline"));
 
 
     echo "<TABLE BORDER=0 CELLPADDING=8 CELLSPACING=0 WIDTH=100%>";
         /// Print all the news items.
 
         if ($news) {
-            print_simple_box(get_string("latestnews"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
+            print_heading_block(get_string("latestnews"));
             print_simple_box_start("CENTER", "100%", $THEME->cellcontent, 3, 0);
             echo "<FONT SIZE=1>";
             forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false);
         
         /// Print all the recent activity
         if ($course->showrecent) {
-            print_simple_box(get_string("recentactivity"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
+            print_heading_block(get_string("recentactivity"));
             print_simple_box_start("CENTER", "100%", $THEME->cellcontent, 3, 0);
             print_recent_activity($course);
             print_simple_box_end();