From: moodler Date: Fri, 13 Dec 2002 07:37:47 +0000 (+0000) Subject: Different styles for content when week is highlighted X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bfca4cffdc4c9aa0131ae7b288a456868589a05e;p=moodle.git Different styles for content when week is highlighted --- diff --git a/course/weeks.php b/course/weeks.php index a2aa1bd19a..1c713474a9 100644 --- a/course/weeks.php +++ b/course/weeks.php @@ -110,7 +110,7 @@ echo ""; echo "cellheading\" class=\"weeklyoutlineside\" VALIGN=top ALIGN=CENTER WIDTH=10>"; - echo ""; + echo " "; echo ""; echo ""; } @@ -141,17 +141,19 @@ $endweekday = userdate($weekdate+518400, " %d %B"); if ($thisweek) { - $highlightcolor = "bgcolor=\"$THEME->cellheading2\" class=\"weeklyoutlinesidehighlight\""; + $colorsides = "bgcolor=\"$THEME->cellheading2\" class=\"weeklyoutlinesidehighlight\""; + $colormain = "bgcolor=\"$THEME->cellcontent\" class=\"weeklyoutlinecontenthighlight\""; } else { - $highlightcolor = "bgcolor=\"$THEME->cellheading\" class=\"weeklyoutlineside\""; + $colorsides = "bgcolor=\"$THEME->cellheading\" class=\"weeklyoutlineside\""; + $colormain = "bgcolor=\"$THEME->cellcontent\" class=\"weeklyoutlinecontent\""; } echo ""; - echo ""; + echo ""; echo "

$week

"; echo ""; - echo "cellcontent\" class=\"weeklyoutlinecontent\" WIDTH=\"100%\">"; + echo ""; echo "

cellheading2\">$weekday - $endweekday

"; if (! $thisweek = $sections[$week]) { @@ -179,7 +181,7 @@ } echo ""; - echo ""; + echo ""; echo ""; if (isset($USER->section)) { $strshowallweeks = get_string("showallweeks");