]> git.mjollnir.org Git - moodle.git/commitdiff
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 e6e23b1b364f22cb27aa85b43064c74e40b1774c..7b9a2aa53392674cc164dd9e2393ff41d2f5b164 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 bbd5890e57ea8bd10a636f4164400d15bdbc78fd..35ee4b5f4e8a6e6242649e21f815b435e10b6903 100644 (file)
 
 /// Finish the page
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 ?>
index e37149cf32f6ad3705169c1073e0dce11aa5d939..f164951979c0ecc18087ab5ed8f0b2e755db31de 100644 (file)
@@ -484,5 +484,5 @@ $strnojslockwarning
     </div>
     ';
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 ?>