]> git.mjollnir.org Git - moodle.git/commitdiff
Remove margins on UL tag
authormoodler <moodler>
Thu, 7 Aug 2003 16:17:34 +0000 (16:17 +0000)
committermoodler <moodler>
Thu, 7 Aug 2003 16:17:34 +0000 (16:17 +0000)
course/lib.php

index e7c52c3aaf7c88779d56be1ba7bc1c84a0a43d4a..e530efc2057a2c89d1255400361dbf4fa9b67dcf 100644 (file)
@@ -910,8 +910,8 @@ function print_category_info($category, $depth) {
     if ($CFG->frontpage == FRONTPAGECOURSELIST) {
         if ($courses = get_courses($category->id)) {
             foreach ($courses as $course) {
+                echo "<ul style=\"margin-bottom: 0\">";
                 $linkcss = $course->visible ? "" : " class=\"dimmed\" ";
-                echo "<ul>";
                 echo "<a $linkcss href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</a>";
                 echo "&nbsp;&nbsp;";
                 unset($courses[$key]);