From: moodler Date: Mon, 9 Dec 2002 09:03:15 +0000 (+0000) Subject: Finish off topics display X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=42fddf0237ad0136d84936f36a110aa47a38cdb0;p=moodle.git Finish off topics display --- diff --git a/course/topics.php b/course/topics.php index 7f609aa94b..a42c4b2082 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();