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

index 3661af88e8448641159aa2d8cf582a8f5fbea140..e14f23ef82d40ba6c6efb0de0e778df775f52913 100755 (executable)
@@ -96,6 +96,6 @@
 
     print_table($table);
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 ?>
index e51788a3bab3b757cef30c87b82e8d9c9b4d7367..643d0e6054a1cf62d2555a8b6953663e624741f9 100755 (executable)
@@ -65,7 +65,7 @@
         print_header($pagetitle, $course->fullname, $navigation,
                  '', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
         notice(get_string("activityiscurrentlyhidden"));
-        print_footer($course);
+        echo $OUTPUT->footer();
         die;
     }
 
@@ -78,7 +78,7 @@
             print_header($pagetitle, $course->fullname, $navigation,
                      '', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
             print_simple_box(get_string("notopenyet", "scorm", userdate($scorm->timeopen)), "center");
-            print_footer($course);
+            echo $OUTPUT->footer();
             die;
         } elseif ($timenow > $scorm->timeclose) {
             $navlinks[] = array('name' => format_string($scorm->name,true), 'link' => "view.php?id=$cm->id", 'type' => 'activityinstance');
@@ -86,7 +86,7 @@
             print_header($pagetitle, $course->fullname, $navigation,
                      '', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
             print_simple_box(get_string("expired", "scorm", userdate($scorm->timeclose)), "center");
-            print_footer($course);
+            echo $OUTPUT->footer();
             die;
         }
     }
             </div> <!-- SCORM object -->
         </div> <!-- SCORM box  -->
     </div> <!-- SCORM page -->
-<?php print_footer('none'); ?>
+<?php echo $OUTPUT->footer(); ?>
index 9e51896682047d20679890aab2f5b237d3259e03..c1ca80dc242e439b701bb6fb99fc8f29522fea36 100755 (executable)
 
 
     if (empty($noheader)) {
-        print_footer($course);
+        echo $OUTPUT->footer();
     }
 ?>
index e2af8b238c040c0b32202fadfdfeca0fcb193d4f..5b4779bdc282bc8a9830f616b1540a75bc3ed1de 100755 (executable)
@@ -91,5 +91,5 @@
     if ($scormopen) {
         scorm_view_display($USER, $scorm, 'view.php?id='.$cm->id, $cm);
     }
-    print_footer($course);
+    echo $OUTPUT->footer();
 ?>