diff --git a/course/topics.php b/course/topics.php index 7f609aa94bf..a42c4b20821 100644 --- a/course/topics.php +++ b/course/topics.php @@ -86,8 +86,7 @@ /// Start main column echo ""; - print_simple_box(get_string("topicoutline"), $align="CENTER", $width="100%", $color="$THEME->cellheading"); - + print_heading_block(get_string("topicoutline")); echo ""; @@ -210,7 +209,7 @@ /// 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 ""; forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false); @@ -221,7 +220,7 @@ /// 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();