]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19795 Converted all print_footer() calls
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:11:55 +0000 (14:11 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:11:55 +0000 (14:11 +0000)
enrol/authorize/enrol.php
enrol/authorize/locallib.php
enrol/authorize/uploadcsv.php
enrol/imsenterprise/importnow.php
enrol/manual/enrol.php
enrol/paypal/enrol.php

index 8f7f5bf2cebfe490da4e840403f6fc19196fffeb..6e730357727b00f30aecaeb9e6af00d11bf7b27f 100755 (executable)
@@ -107,7 +107,7 @@ class enrolment_plugin_authorize
             include($CFG->dirroot.'/enrol/manual/enrol.html');
         }
 
-        print_footer();
+        echo $OUTPUT->footer();
     }
 
 
@@ -322,7 +322,7 @@ class enrolment_plugin_authorize
                     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;
                 }
             }
index 95ba7bbf9c6e7f1b4329f3f2a65be42b76ffb0b4..866cdfbbec5435d7367bcd801cf0df7951a81bb9 100644 (file)
@@ -208,7 +208,7 @@ function authorize_print_orders($courseid, $userid) {
     }
 
     $table->print_html();
-    print_footer();
+    echo $OUTPUT->footer();
 }
 
 /**
@@ -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);
@@ -505,7 +505,7 @@ function authorize_print_order($orderid)
         }
     }
 
-    print_footer();
+    echo $OUTPUT->footer();
 }
 
 /**
index e37a76d1950d152dc75eaf1e1afe320fa20550fb..6677bf9947b49cde34e78259d193a0ec1f0c5090 100644 (file)
@@ -48,7 +48,7 @@
     echo '</div></form></center><br />';
 
 /// Print footer
-    print_footer();
+    echo $OUTPUT->footer();
 
 ?><?php
 
index c16b8df95b2868b79f9295dd92c36130f39cddef..681c0f8807ca2b1b0dbef42db22522e342b5eca4 100644 (file)
@@ -29,7 +29,7 @@ problems that might require attention).</p>
 //error_reporting(E_ALL);
 $enrol->cron();
 ?></pre><?php
-print_footer();
+echo $OUTPUT->footer();
 
 exit;
 ?>
index 5d2f06307dd5169f82f5072a10b91b73de38ef5d..fcf320b8e06827b2ec48d46e399bdd0f3977b8c6 100644 (file)
@@ -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'])) {
@@ -117,7 +117,7 @@ function print_entry($course) {
 
     include("$CFG->dirroot/enrol/manual/enrol.html");
 
-    print_footer();
+    echo $OUTPUT->footer();
 
 }
 
index be97315781137073757d6be368e5e0fd70c39c5c..3812ef8eaf15864d6c746f128d7bf6d71ab6d154 100644 (file)
@@ -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()