Merge branch 'MDL-24984' of git://git.luns.net.uk/moodle

This commit is contained in:
Petr Skoda
2011-01-10 14:38:16 +01:00
+1 -1
View File
@@ -2110,7 +2110,7 @@ function print_category_info($category, $depth=0, $showcourses = false) {
echo '<div class="categorylist">';
$html = '';
$cat = html_writer::link(new moodle_url('/course/category.php', array('id'=>$category->id)), format_string($category->name), $catlinkcss);
$cat .= html_writer::tag('span', '('.count($courses).')', array('title'=>get_string('numberofcourses'), 'class'=>'numberofcourse'));
$cat .= html_writer::tag('span', ' ('.count($courses).')', array('title'=>get_string('numberofcourses'), 'class'=>'numberofcourse'));
if ($depth > 0) {
for ($i=0; $i< $depth; $i++) {