From: moodler <moodler> Date: Wed, 30 Jul 2003 13:57:39 +0000 (+0000) Subject: Slightly prettier display X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a6870f0c2c958ade16abe0b24c304517b274c6f4;p=moodle.git Slightly prettier display --- diff --git a/course/lib.php b/course/lib.php index b063bb30c1..4075ba2957 100644 --- a/course/lib.php +++ b/course/lib.php @@ -938,13 +938,14 @@ function print_category_box($category, $depth) { echo print_spacer(1, $size); echo "<td width=\"100%\">"; echo "<font size=+1><a $catlinkcss href=\"$CFG->wwwroot/course/index.php?category=$category->id\">$category->name</a></font>"; + echo "<br />"; //echo "<font size=+1>$category->name</font>"; if ($CFG->frontpage == FRONTPAGECOURSELIST) { if ($courses = get_courses($category)) { - echo "<ul>"; foreach ($courses as $course) { $linkcss = $course->visible ? "" : " class=\"dimmed\" "; - echo "<li><a $linkcss href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</a>"; + echo " "; + echo "<a $linkcss href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</a>"; echo " "; unset($courses[$key]); if ($course->guest ) { @@ -955,8 +956,8 @@ function print_category_box($category, $depth) { echo "<a title=\"$strrequireskey\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\">"; echo "<img alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/key.gif\"></a>"; } + echo "<br />"; } - echo "</ul>"; } } echo "</td>";