From 653468d4d69b3e4adf19cf1f6e9f47c48d04683b Mon Sep 17 00:00:00 2001
From: nicolasconnault <nicolasconnault>
Date: Thu, 6 Aug 2009 14:10:09 +0000
Subject: [PATCH] MDL-19798 Converted all print_footer() calls

---
 group/assign.php    | 2 +-
 group/autogroup.php | 2 +-
 group/delete.php    | 2 +-
 group/group.php     | 4 ++--
 group/grouping.php  | 4 ++--
 group/groupings.php | 2 +-
 group/index.php     | 2 +-
 group/members.php   | 2 +-
 group/overview.php  | 2 +-
 9 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/group/assign.php b/group/assign.php
index 98cb6168c8..4f4869a1cc 100644
--- a/group/assign.php
+++ b/group/assign.php
@@ -151,7 +151,7 @@ print_header("$course->shortname: $strgroups", $course->fullname, $navigation, '
 </div>
 
 <?php
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 
 ?>
diff --git a/group/autogroup.php b/group/autogroup.php
index ff0836b076..c38617a423 100644
--- a/group/autogroup.php
+++ b/group/autogroup.php
@@ -248,5 +248,5 @@ if($preview !== '') {
     echo $preview;
 }
 
-print_footer($course);
+echo $OUTPUT->footer();
 ?>
diff --git a/group/delete.php b/group/delete.php
index 4307c22798..8dccd6a14a 100644
--- a/group/delete.php
+++ b/group/delete.php
@@ -67,6 +67,6 @@ if ($confirm && data_submitted()) {
         $message.='</ul>';
     }
     notice_yesno($message, 'delete.php', 'index.php', $optionsyes, $optionsno, 'post', 'get');
-    print_footer();
+    echo $OUTPUT->footer();
 }
 ?>
diff --git a/group/group.php b/group/group.php
index 0c12317f12..d3c6dd9461 100644
--- a/group/group.php
+++ b/group/group.php
@@ -61,7 +61,7 @@ if ($id and $delete) {
         $optionsyes = array('id'=>$id, 'delete'=>1, 'courseid'=>$courseid, 'sesskey'=>sesskey(), 'confirm'=>1);
         $optionsno  = array('id'=>$courseid);
         notice_yesno(get_string('deletegroupconfirm', 'group', $group->name), 'group.php', 'index.php', $optionsyes, $optionsno, 'get', 'get');
-        print_footer();
+        echo $OUTPUT->footer();
         die;
 
     } else if (confirm_sesskey()){
@@ -116,5 +116,5 @@ if ($id) {
 }
 echo '</div>';
 $editform->display();
-print_footer($course);
+echo $OUTPUT->footer();
 ?>
diff --git a/group/grouping.php b/group/grouping.php
index 6fff6d1843..83dd504b9d 100644
--- a/group/grouping.php
+++ b/group/grouping.php
@@ -55,7 +55,7 @@ if ($id and $delete) {
         $optionsyes = array('id'=>$id, 'delete'=>1, 'courseid'=>$courseid, 'sesskey'=>sesskey(), 'confirm'=>1);
         $optionsno  = array('id'=>$courseid);
         notice_yesno(get_string('deletegroupingconfirm', 'group', $grouping->name), 'grouping.php', 'groupings.php', $optionsyes, $optionsno, 'get', 'get');
-        print_footer();
+        echo $OUTPUT->footer();
         die;
 
     } else if (confirm_sesskey()){
@@ -108,6 +108,6 @@ print_header_simple($strgroupings, ': '.$strgroupings, $navigation, '', '', true
 
 echo $OUTPUT->heading($strheading);
 $editform->display();
-print_footer($course);
+echo $OUTPUT->footer();
 
 ?>
diff --git a/group/groupings.php b/group/groupings.php
index 74e5d0939e..190b435bd3 100644
--- a/group/groupings.php
+++ b/group/groupings.php
@@ -79,6 +79,6 @@ echo '<div class="buttons">';
 print_single_button('grouping.php', array('courseid'=>$courseid), $srtnewgrouping);
 echo '</div>';
 
-print_footer($course);
+echo $OUTPUT->footer();
 
 ?>
diff --git a/group/index.php b/group/index.php
index c8349bcf38..60b351da73 100644
--- a/group/index.php
+++ b/group/index.php
@@ -258,7 +258,7 @@ if (ajaxenabled()) {
             array($CFG->httpswwwroot, $course->id));
 }
 
-print_footer($course);
+echo $OUTPUT->footer();
 
 /**
  * Returns the first button action with the given prefix, taken from
diff --git a/group/members.php b/group/members.php
index fe2a2a883c..18d607a58f 100644
--- a/group/members.php
+++ b/group/members.php
@@ -124,5 +124,5 @@ check_theme_arrows();
 </div>
 
 <?php
-    print_footer($course);
+    echo $OUTPUT->footer();
 ?>
diff --git a/group/overview.php b/group/overview.php
index 76686616f6..eaa16049da 100644
--- a/group/overview.php
+++ b/group/overview.php
@@ -190,5 +190,5 @@ foreach ($members as $gpgid=>$groupdata) {
     $printed = true;
 }
 
-print_footer($course);
+echo $OUTPUT->footer();
 ?>
-- 
2.39.5