From c0d8e936ef2f4b9b20d60c5de4b4abae5e0bb43e Mon Sep 17 00:00:00 2001
From: nicolasconnault ';
- print_spacer(10, $indent);
+ $spacer = new html_image();
+ $spacer->height = 10;
+ $spacer->width = $indent;
+ echo $OUTPUT->spacer($spacer) . ' ';
}
@@ -1962,7 +1968,10 @@ function print_category_info($category, $depth, $showcourses = false) {
if ($depth) {
$indent = $depth*20;
echo '
';
echo '';
- print_spacer(10, $indent);
+ $spacer = new html_image();
+ $spacer->height = 10;
+ $spacer->width = $indent;
+ echo $OUTPUT->spacer($spacer) . ' ';
}
diff --git a/course/recent.php b/course/recent.php
index 99c71bbd3a..d97672ddbd 100644
--- a/course/recent.php
+++ b/course/recent.php
@@ -204,7 +204,9 @@
if (($activity->type == 'section') && ($param->sortby == 'default')) {
if ($inbox) {
print_simple_box_end();
- print_spacer(30);
+ $spacer = new html_image();
+ $spacer->height = 30;
+ echo $OUTPUT->spacer($spacer) . '
';
echo '
';
}
print_simple_box_start('center', '90%');
echo "$activity->name
";
diff --git a/course/search.php b/course/search.php
index cbad211e53..06c33ad39c 100644
--- a/course/search.php
+++ b/course/search.php
@@ -229,7 +229,10 @@
$course->summary .= $displaylist[$course->category];
$course->summary .= "