Skip to content
Browse files

Fixed background colours of recent activity and news

  • Loading branch information...
1 parent 1e77d20 commit 6e07f680397ee130db47db0a6512ce60ca796fc0 moodler committed Nov 20, 2002
Showing with 7 additions and 7 deletions.
  1. +3 −3 course/social.php
  2. +2 −2 course/topics.php
  3. +2 −2 course/weeks.php
View
6 course/social.php
@@ -38,10 +38,10 @@
/// Print all the recent activity
- print_simple_box(get_string("recentactivity"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
- echo "<TABLE CELLPADDING=4 CELLSPACING=0><TR><TD>";
+ print_simple_box(get_string("recentactivity"), "CENTER", "100%", $THEME->cellheading);
+ print_simple_box_start("CENTER", "100%", $THEME->body, 3, 0);
print_recent_activity($course);
- echo "</TD></TR></TABLE>";
+ print_simple_box_end();
echo "<BR>";
View
4 course/topics.php
@@ -214,7 +214,7 @@
if ($news) {
print_simple_box(get_string("latestnews"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
- print_simple_box_start("CENTER", "100%", "#FFFFFF", 3, 0);
+ 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);
echo "</FONT>";
@@ -225,7 +225,7 @@
/// Print all the recent activity
if ($course->showrecent) {
print_simple_box(get_string("recentactivity"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
- print_simple_box_start("CENTER", "100%", "#FFFFFF", 3, 0);
+ print_simple_box_start("CENTER", "100%", $THEME->cellcontent, 3, 0);
print_recent_activity($course);
print_simple_box_end();
}
View
4 course/weeks.php
@@ -208,7 +208,7 @@
if ($news) {
print_simple_box(get_string("latestnews"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
- print_simple_box_start("CENTER", "100%", "#FFFFFF", 3, 0);
+ 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);
echo "</FONT>";
@@ -219,7 +219,7 @@
// Print all the recent activity
if ($course->showrecent) {
print_simple_box(get_string("recentactivity"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
- print_simple_box_start("CENTER", "100%", "#FFFFFF", 3, 0);
+ print_simple_box_start("CENTER", "100%", $THEME->cellcontent, 3, 0);
print_recent_activity($course);
print_simple_box_end();
}

0 comments on commit 6e07f68

Please sign in to comment.
Something went wrong with that request. Please try again.