MDL-19817 Converted all print_footer() calls
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:16:02 +0000 (14:16 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:16:02 +0000 (14:16 +0000)
mod/wiki/admin.php
mod/wiki/index.php
mod/wiki/view.php

index e6e23b1..7b9a2aa 100644 (file)
               if(!$confirm && $form->pagestodelete) {
                 notice_yesno(get_string("removepagecheck", "wiki")."<br />".join(", ", $form->pagestodelete),
                   $link."&amp;confirm=".urlencode(join(" ",$form->pagestodelete)), $link);
-                print_footer($course);
+                echo $OUTPUT->footer();
                 exit;
               }
             }
                   }
                   notice_yesno(get_string("strippagecheck", "wiki")."<br />".join(", ", $pagestostrip),
                       $link.$confirm, $link);
-                  print_footer($course);
+                  echo $OUTPUT->footer();
                   exit;
                 }
               }
                 $confirm="&amp;confirm=".$form->pagetocheck;
                 notice_yesno(get_string("checklinkscheck", "wiki").$form->pagetocheck,
                     $link.$confirm, $link);
-                print_footer($course);
+                echo $OUTPUT->footer();
                 exit;
               }
             }
                   if($revertedpages) {
                     notice_yesno(get_string("revertpagescheck", "wiki")."<br />".$revertedpages,
                       $link.$confirm, $link);
-                    print_footer($course);
+                    echo $OUTPUT->footer();
                     exit;
                   } else {
                     $err->remark=get_string("nochangestorevert","wiki");
     print_simple_box_end();
 
 /// Finish the page
-    print_footer($course);
+    echo $OUTPUT->footer();
     exit;
 
 ?>
index bbd5890..35ee4b5 100644 (file)
 
 /// Finish the page
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 ?>
index e37149c..f164951 100644 (file)
@@ -484,5 +484,5 @@ $strnojslockwarning
     </div>
     ';
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 ?>