From 8f270f3e8d1fb5391d558a191ec1605777d5f133 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 14:27:26 +0000 Subject: [PATCH] MDL-20014 Converted all print_footer() calls --- webservice/amf/testclient/index.php | 2 +- webservice/documentation.php | 2 +- webservice/soap/testclient/zend_soap_client.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/webservice/amf/testclient/index.php b/webservice/amf/testclient/index.php index 4ef8afd881..1bcf6c78f0 100644 --- a/webservice/amf/testclient/index.php +++ b/webservice/amf/testclient/index.php @@ -21,4 +21,4 @@ print_header_simple('Test Client', 'Test Client'); echo '

You need to install Flash 9.0

'; -print_footer(); \ No newline at end of file +echo $OUTPUT->footer(); diff --git a/webservice/documentation.php b/webservice/documentation.php index 06f59c7796..356372de3e 100644 --- a/webservice/documentation.php +++ b/webservice/documentation.php @@ -35,7 +35,7 @@ print_header(get_string('wspagetitle','webservice'), get_string('wspagetitle','w webservice_lib::display_webservices_availability($protocol); generate_documentation($protocol); generate_functionlist(); -print_footer(); +echo $OUTPUT->footer(); diff --git a/webservice/soap/testclient/zend_soap_client.php b/webservice/soap/testclient/zend_soap_client.php index 48fc1c7dab..c753fc89f6 100644 --- a/webservice/soap/testclient/zend_soap_client.php +++ b/webservice/soap/testclient/zend_soap_client.php @@ -42,7 +42,7 @@ print_header('Soap test client', 'Soap test client'.":", true); if (!webservice_lib::display_webservices_availability("soap")) { echo "

"; echo "Please fix the previous problem(s), the testing session has been interupted."; - print_footer(); + echo $OUTPUT->footer(); exit(); } @@ -130,7 +130,7 @@ try { print ""; /// Display Moodle page footer -print_footer(); +echo $OUTPUT->footer(); /** @@ -144,4 +144,4 @@ function printLastRequestResponse($client) { print ""; } -?> \ No newline at end of file +?> -- 2.39.5