Skip to content

Commit

Permalink
MDL-19795 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 d60c112 commit 2af6a7e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions enrol/authorize/enrol.php
Expand Up @@ -107,7 +107,7 @@ public function print_entry($course)
include($CFG->dirroot.'/enrol/manual/enrol.html');
}

print_footer();
echo $OUTPUT->footer();
}


Expand Down Expand Up @@ -322,7 +322,7 @@ private function cc_submit($form, $course)
print_single_button("$CFG->wwwroot/course/view.php", array('id'=>$course->id), $course->fullname);
echo '</div>';
$OUTPUT->box_end();
print_footer($course);
echo $OUTPUT->footer();
exit; // break;
}
}
Expand Down
6 changes: 3 additions & 3 deletions enrol/authorize/locallib.php
Expand Up @@ -208,7 +208,7 @@ function authorize_print_orders($courseid, $userid) {
}

$table->print_html();
print_footer();
echo $OUTPUT->footer();
}

/**
Expand All @@ -218,7 +218,7 @@ function authorize_print_orders($courseid, $userid) {
*/
function authorize_print_order($orderid)
{
global $CFG, $USER, $DB;
global $CFG, $USER, $DB, $OUTPUT;
global $strs, $authstrs;

$do = optional_param('do', '', PARAM_ALPHA);
Expand Down Expand Up @@ -505,7 +505,7 @@ function authorize_print_order($orderid)
}
}

print_footer();
echo $OUTPUT->footer();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion enrol/authorize/uploadcsv.php
Expand Up @@ -48,7 +48,7 @@
echo '</div></form></center><br />';

/// Print footer
print_footer();
echo $OUTPUT->footer();

?><?php

Expand Down
2 changes: 1 addition & 1 deletion enrol/imsenterprise/importnow.php
Expand Up @@ -29,7 +29,7 @@
//error_reporting(E_ALL);
$enrol->cron();
?></pre><?php
print_footer();
echo $OUTPUT->footer();

exit;
?>
4 changes: 2 additions & 2 deletions enrol/manual/enrol.php
Expand Up @@ -73,7 +73,7 @@ function print_entry($course) {
echo '<br />';
notice_yesno(get_string('enrolmentconfirmation'), "enrol.php?id=$course->id&amp;confirm=1",
"enrol.php?id=$course->id&amp;cancel=1");
print_footer();
echo $OUTPUT->footer();
exit;

} else if (!empty($_GET['confirm'])) {
Expand Down Expand Up @@ -117,7 +117,7 @@ function print_entry($course) {

include("$CFG->dirroot/enrol/manual/enrol.html");

print_footer();
echo $OUTPUT->footer();

}

Expand Down
2 changes: 1 addition & 1 deletion enrol/paypal/enrol.php
Expand Up @@ -75,7 +75,7 @@ function print_entry($course) {
include($CFG->dirroot.'/enrol/manual/enrol.html');
}

print_footer();
echo $OUTPUT->footer();

}
} // end of function print_entry()
Expand Down

0 comments on commit 2af6a7e

Please sign in to comment.