MDL-19810 Migrated calls to print_spacer()

This commit is contained in:
nicolasconnault
2009-08-06 02:24:13 +00:00
parent 2cfba1a846
commit c305e8affb
2 changed files with 9 additions and 2 deletions
+5 -1
View File
@@ -340,6 +340,7 @@ class hotpot_default_report {
/// print an html report
function print_html_report(&$tables) {
global $OUTPUT;
$count = count($tables);
foreach($tables as $i=>$table) {
@@ -351,7 +352,10 @@ class hotpot_default_report {
$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 />';
}
}
}
+4 -1
View File
@@ -146,7 +146,10 @@ function hotpot_print_review_buttons(&$course, &$hotpot, &$attempt, $context) {
}
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";
}