Small visual improvement

This commit is contained in:
moodler
2005-03-22 18:17:45 +00:00
parent 6ab250846c
commit d22f8a5331
-2
View File
@@ -324,13 +324,11 @@ function print_category_edit($category, $displaylist, $parentslist, $depth=-1, $
if ($category) {
echo "<tr><td align=\"left\" nowrap=\"nowrap\">";
echo "<p>";
for ($i=0; $i<$depth;$i++) {
echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}
$linkcss = $category->visible ? "" : " class=\"dimmed\" ";
echo "<a $linkcss title=\"$str->edit\" href=\"category.php?id=$category->id&amp;edit=on&amp;sesskey=$USER->sesskey\">$category->name</a>";
echo "</p>";
echo "</td>";
echo "<td align=\"right\">$category->coursecount</td>";