}
if ($mod->indent) {
- print_spacer(12, 20 * $mod->indent, false);
+ $spacer = new html_image();
+ $spacer->height = 12;
+ $spacer->width = 20 * $mod->indent;
+ echo $OUTPUT->spacer($spacer);
}
$extra = '';
$indent = $depth*30;
$rows = count($courses) + 1;
echo '<td class="category indentation" rowspan="'.$rows.'" valign="top">';
- print_spacer(10, $indent);
+ $spacer = new html_image();
+ $spacer->height = 10;
+ $spacer->width = $indent;
+ echo $OUTPUT->spacer($spacer) . '<br />';
echo '</td>';
}
if ($depth) {
$indent = $depth*20;
echo '<td class="category indentation" valign="top">';
- print_spacer(10, $indent);
+ $spacer = new html_image();
+ $spacer->height = 10;
+ $spacer->width = $indent;
+ echo $OUTPUT->spacer($spacer) . '<br />';
echo '</td>';
}
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) . '<br />';
}
print_simple_box_start('center', '90%');
echo "<h2>$activity->name</h2>";
$course->summary .= $displaylist[$course->category];
$course->summary .= "</a></p>";
print_course($course, $search);
- print_spacer(5,5);
+ $spacer = new html_image();
+ $spacer->height = 5;
+ $spacer->width = 5;
+ echo $OUTPUT->spacer($spacer) . '<br />';
}
} else {
/// Show editing UI.