MDL-19810 Migrated calls to print_spacer()
This commit is contained in:
@@ -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 />';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user