Skip to content

Commit

Permalink
MDL-19810 Converted all print_footer() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 6, 2009
1 parent 0f4e7a3 commit f8302e2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mod/hotpot/index.php
Expand Up @@ -127,7 +127,7 @@
;

print_simple_box_end();
print_footer($course);
echo $OUTPUT->footer();
exit;

} else { // regrade has been confirmed, so proceed
Expand Down Expand Up @@ -402,5 +402,5 @@
print_table($table);

// Finish the page
print_footer($course);
echo $OUTPUT->footer();
?>
6 changes: 3 additions & 3 deletions mod/hotpot/report.php
Expand Up @@ -155,7 +155,7 @@
}
if (empty($user_ids)) {
echo $OUTPUT->heading(get_string('nousersyet'));
print_footer($course);
echo $OUTPUT->footer();
exit;
}

Expand Down Expand Up @@ -250,7 +250,7 @@
// stop now if no attempts were found
if (empty($attempts)) {
echo $OUTPUT->heading(get_string('noattemptstoshow','quiz'));
print_footer($course);
echo $OUTPUT->footer();
exit;
}

Expand Down Expand Up @@ -350,7 +350,7 @@
}

if ($formdata['reportformat']=='htm') {
print_footer($course);
echo $OUTPUT->footer();
}

//////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion mod/hotpot/review.php
Expand Up @@ -83,7 +83,7 @@
hotpot_print_attempt_details($hotpot, $attempt);
}
hotpot_print_review_buttons($course, $hotpot, $attempt, $context);
print_footer($course);
echo $OUTPUT->footer();
///////////////////////////
// functions
///////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion mod/hotpot/view.php
Expand Up @@ -85,7 +85,7 @@
print "</div>\n";
print_simple_box_end();
print "</form>\n";
print_footer();
echo $OUTPUT->footer();
exit;
// check password
} else if ($hotpot->password && strcmp($hotpot->password, $hppassword)) {
Expand Down

0 comments on commit f8302e2

Please sign in to comment.