]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed layout with multiplem categories
authormoodler <moodler>
Thu, 12 Dec 2002 02:58:05 +0000 (02:58 +0000)
committermoodler <moodler>
Thu, 12 Dec 2002 02:58:05 +0000 (02:58 +0000)
course/index.php

index 2ff1185761df6dda227774d9623d80de3f68f653..d49849fcfb67c8b7cb86f431c288096da31b1e1e 100644 (file)
 
     $showcategories = (count($categories) > 1);
     if ($showcategories) {
-        echo "<TABLE WIDTH=\"100%\" CELLPADDING=10 BORDER=0>";
-        echo "<TR><TD WIDTH=180 VALIGN=TOP>";
-        print_course_categories($categories, $category, 180);
-        echo "</TD><TD WIDTH=\"100%\" VALIGN=TOP>";
+        echo "<TABLE WIDTH=\"100%\" CELLPADDING=\"8\" BORDER=\"0\">";
+        echo "<TR><TD WIDTH=\"200\" VALIGN=\"TOP\">";
+        print_course_categories($categories, $category, 200);
+        echo "</TD><TD WIDTH=\"*\" VALIGN=\"TOP\">";
     } else {
         echo "<TABLE WIDTH=80% ALIGN=CENTER><TR><TD VALIGN=top>";
         $category="all";