mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
XHTML-ize course categories list. MDL-16358 ; merged from 19_STABLE
This commit is contained in:
parent
392f5e2403
commit
a682f0c2c3
@ -1836,7 +1836,7 @@ function print_category_info($category, $depth, $files = false) {
|
||||
if ($depth) {
|
||||
$indent = $depth*30;
|
||||
$rows = count($courses) + 1;
|
||||
echo '<td rowspan="'.$rows.'" valign="top" width="'.$indent.'">';
|
||||
echo '<td class="category indentation" rowspan="'.$rows.'" valign="top">';
|
||||
print_spacer(10, $indent);
|
||||
echo '</td>';
|
||||
}
|
||||
@ -1883,7 +1883,7 @@ function print_category_info($category, $depth, $files = false) {
|
||||
|
||||
if ($depth) {
|
||||
$indent = $depth*20;
|
||||
echo '<td valign="top" width="'.$indent.'">';
|
||||
echo '<td class="category indentation" valign="top">';
|
||||
print_spacer(10, $indent);
|
||||
echo '</td>';
|
||||
}
|
||||
|
@ -2109,17 +2109,21 @@ body#course-info .generalbox.info {
|
||||
}
|
||||
|
||||
.categorylist {
|
||||
width:90%;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
width: 90%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.categorylist .category.image {
|
||||
width:20px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.categorylist .category.number {
|
||||
text-align:right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.categorylist .category.indentation {
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
|
Loading…
x
Reference in New Issue
Block a user