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

index 3f6f29f68415c6ae66116e38c64c93e0e145afba..ab6525a778cb93775e62e46690d9cfdf32b9f15f 100644 (file)
@@ -94,6 +94,6 @@
     echo "<br />";
     print_table($table);
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 ?>
index 33e6f611f52cd3dfb25d325fa250f633ed009b5f..62bba2471052f317bd7853eba9405ae40dfce89c 100644 (file)
 
         echo "</td></tr></table>";
     }
-    print_footer($course);
+    echo $OUTPUT->footer();
 
-?>
\ No newline at end of file
+?>
index cf494ce5b4752be5f4f7f087a3cf0f62eb56e21c..e97dfbb38168899bef9063531200e2f7f4167c9f 100644 (file)
@@ -96,7 +96,7 @@
     if ($choice->timeclose !=0) {
         if ($choice->timeopen > $timenow ) {
             print_simple_box(get_string("notopenyet", "choice", userdate($choice->timeopen)), "center");
-            print_footer($course);
+            echo $OUTPUT->footer();
             exit;
         } else if ($timenow > $choice->timeclose) {
             print_simple_box(get_string("expired", "choice", userdate($choice->timeclose)), "center");
         print_simple_box(get_string('noresultsviewable', 'choice'), 'center');
     }
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 /// Mark as viewed
     $completion=new completion_info($course);
     $completion->set_module_viewed($cm);
-?>
\ No newline at end of file
+?>