Some colour difference for my courses .... I'm not sure about it ...
authormoodler <moodler>
Fri, 29 Nov 2002 14:22:34 +0000 (14:22 +0000)
committermoodler <moodler>
Fri, 29 Nov 2002 14:22:34 +0000 (14:22 +0000)
course/lib.php

index 5bb1162c4024b58c8fffb14cb3938c44f745fc3e..a45c0049a005277fd270a248c0b38e9316e19a1c 100644 (file)
@@ -603,7 +603,7 @@ function print_course_categories($categories, $selected="none", $width=180) {
     if ($selected == "index") {  // Print comprehensive index of categories with courses
         if ($courses = get_records_sql("SELECT * FROM course WHERE category > 0 ORDER BY shortname")) {
             if (isset($USER->id) and !isadmin()) {
-                print_simple_box_start("CENTER", "100%");
+                print_simple_box_start("CENTER", "100%", $THEME->cellheading);
                 print_heading("<A HREF=\"course/index.php?category=my\">".get_string("mycourses")."</A>", "LEFT");
                 $some = false;
                 echo "<UL>";