/// print an html report
function print_html_report(&$tables) {
+ global $OUTPUT;
$count = count($tables);
foreach($tables as $i=>$table) {
$this->print_html_finish($table);
if (($i+1)<$count) {
- print_spacer(30, 10, true);
+ $spacer = new html_image();
+ $spacer->height = 30;
+ $spacer->width = 10;
+ echo $OUTPUT->spacer($spacer) . '<br />';
}
}
}
}
print "</td>\n</tr>\n";
print '<tr><td colspan="'.$colspan.'">';
- print_spacer(4, 1, false); // height=4, width=1, no <br />
+ $spacer = new html_image();
+ $spacer->height = 4;
+ $spacer->width = 1;
+ echo $OUTPUT->spacer($spacer);
print "</td></tr>\n";
print "</table>\n";
}