From: moodler Date: Fri, 13 Dec 2002 08:12:14 +0000 (+0000) Subject: Tweaks for highlighting X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2e9e77eba0a07e0f1780a78efb369a16cb288121;p=moodle.git Tweaks for highlighting --- diff --git a/course/topics.php b/course/topics.php index f95c1a37e6..a750785d9a 100644 --- a/course/topics.php +++ b/course/topics.php @@ -144,17 +144,19 @@ $currenttopic = ($course->marker == $section); if ($currenttopic) { - $highlightcolor = "bgcolor=\"$THEME->cellheading2\" class=\"topicsoutlinesidehighlight\""; + $colorsides = "bgcolor=\"$THEME->cellheading2\" class=\"topicsoutlinesidehighlight\""; + $colormain = "bgcolor=\"$THEME->cellcontent\" class=\"topicsoutlinecontenthighlight\""; } else { - $highlightcolor = "bgcolor=\"$THEME->cellheading\" class=\"topicsoutlineside\""; + $colorsides = "bgcolor=\"$THEME->cellheading\" class=\"topicsoutlineside\""; + $colormain = "bgcolor=\"$THEME->cellcontent\" class=\"topicsoutlinecontent\""; } echo ""; - echo ""; + echo ""; echo "

$section

"; echo ""; - echo "cellcontent\" class=\"topicsoutlinecontent\" WIDTH=\"100%\">"; + echo ""; if (! $thissection = $sections[$section]) { $thissection->course = $course->id; // Create a new section structure @@ -166,7 +168,7 @@ } if (isediting($course->id)) { - $thissection->summary .= " id>\"$streditsummary\"

"; + $thissection->summary .= " id>\"$streditsummary\""; } echo text_to_html($thissection->summary); @@ -181,7 +183,7 @@ } echo ""; - echo ""; + echo ""; echo ""; if (isset($USER->topic)) { $strshowalltopics = get_string("showalltopics"); diff --git a/theme/cordoroyblue/styles.php b/theme/cordoroyblue/styles.php index 30cac48d33..7f1c7b9b19 100644 --- a/theme/cordoroyblue/styles.php +++ b/theme/cordoroyblue/styles.php @@ -197,6 +197,7 @@ form { } .topicsoutlinecontenthighlight { + background: #FDFBF1; border-width: 0px; border-top: 1px; border-bottom: 1px;