mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Fixed background colours of recent activity and news
This commit is contained in:
parent
1e77d2035c
commit
6e07f68039
@ -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>";
|
||||
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user