]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19810 Converted all print_footer() calls
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:20:19 +0000 (14:20 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:20:19 +0000 (14:20 +0000)
mod/hotpot/index.php
mod/hotpot/report.php
mod/hotpot/review.php
mod/hotpot/view.php

index 1ffc70df1e1a91f4e43c8e65108ec77ffcce7d5f..c65ba1c9a93b43210385d09caad84138fe805e79 100644 (file)
                 ;
 
                 print_simple_box_end();
-                print_footer($course);
+                echo $OUTPUT->footer();
                 exit;
 
             } else { // regrade has been confirmed, so proceed
     print_table($table);
 
     // Finish the page
-    print_footer($course);
+    echo $OUTPUT->footer();
 ?>
index 18d6e40588bee855dbe64ac02e8a2993a8e34e2a..f40641fcb3da3b4917bde641c4cf9bf76a022e02 100644 (file)
     }
     if (empty($user_ids)) {
         echo $OUTPUT->heading(get_string('nousersyet'));
-        print_footer($course);
+        echo $OUTPUT->footer();
         exit;
     }
 
     // stop now if no attempts were found
     if (empty($attempts)) {
         echo $OUTPUT->heading(get_string('noattemptstoshow','quiz'));
-        print_footer($course);
+        echo $OUTPUT->footer();
         exit;
     }
 
     }
 
     if ($formdata['reportformat']=='htm') {
-        print_footer($course);
+        echo $OUTPUT->footer();
     }
 
 //////////////////////////////////////////////
index dbcc299bf34c63b71d1d43fbb14b971e14ea9feb..de6ab85fb978d8a6cdd65544fe225d29c9402686 100644 (file)
@@ -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
 ///////////////////////////
index c2e780b4add133354bb47db08d712da72c1abc47..2be69dc7069468938c78c5f520737c23b62cebef 100644 (file)
@@ -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)) {