]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19804 Converted all print_footer() calls
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:15:30 +0000 (14:15 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:15:30 +0000 (14:15 +0000)
mod/chat/gui_basic/index.php
mod/chat/gui_header_js/chatinput.php
mod/chat/gui_header_js/users.php
mod/chat/gui_sockets/chatinput.php
mod/chat/index.php
mod/chat/report.php
mod/chat/view.php

index b896c4336671eb8a8d3906181b7093698be0a262..aacf0a921f9c078cdb4b81406e2d69354af257f4 100644 (file)
 
     echo '</div></div>';
 
-    print_footer('none');
+    echo $OUTPUT->footer();
 
 
 
index 9e3a648e51f73b11d2d3aee820bed7fe605a5543..6db2e979a69f9279bfd3c1aad337d022bbd12019 100644 (file)
@@ -48,5 +48,5 @@
         <input type="hidden" name="chat_message" />
     </form>
 <?php
-    print_footer('empty');
+    echo $OUTPUT->footer();
 ?>
index 18f2beb7629edd850494ed67743dc01e7db785bd..118b49f87a695ed9f059f73a426a06e170b05f6d 100644 (file)
@@ -99,7 +99,7 @@
     }
     // added 2 </div>s, xhtml strict complaints
     echo '</table>';
-    print_footer('empty');
+    echo $OUTPUT->footer();
 
     //
     // Support HTTP Keep-Alive by printing Content-Length
index 71c9e28ea93f21633f04642609277816cca7de6e..3efadb980f0c8febf0236f287c1576c467f5c785 100644 (file)
@@ -36,5 +36,5 @@
         <input type="hidden" name="chat_sid" value="<?php echo $chat_sid ?>" />
     </form>
 <?php
-    print_footer('empty');
+    echo $OUTPUT->footer();
 ?>
index 945ee8c42e3451af3990c9c5074e8c13792246a8..025318f7fdfe5695ec1b5074007eafca624aaa19 100644 (file)
@@ -85,6 +85,6 @@
 
 /// Finish the page
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 ?>
index 09fb2fcbc8c012931c7da74631b0de1d5eb31f0b..8861fdad7a122a037ae29506316bc029c4fd84b7 100644 (file)
@@ -97,7 +97,7 @@
             print_continue("report.php?id=$cm->id");
         }
 
-        print_footer($course);
+        echo $OUTPUT->footer();
         exit;
     }
 
     if (empty($messages)) {   /// May have already got them above
         if (!$messages = $DB->get_records_select('chat_messages', "chatid = :chatid $groupselect", $params, "timestamp DESC")) {
             echo $OUTPUT->heading(get_string('nomessages', 'chat'));
-            print_footer($course);
+            echo $OUTPUT->footer();
             exit;
         }
     }
 
 
 /// Finish the page
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 ?>
index dfc82e273a4b73fada3fb1a8bef8ba276d442861..47d197ea34aaea4dd2c80e52045bafae93b88261 100644 (file)
@@ -52,7 +52,7 @@
         notice_yesno(get_string('noguests', 'chat').'<br /><br />'.get_string('liketologin'),
                 get_login_url(), $CFG->wwwroot.'/course/view.php?id='.$course->id);
 
-        print_footer($course);
+        echo $OUTPUT->footer();
         exit;
 
     }
         print_simple_box_end();
     }
 
-    print_footer($course);
+    echo $OUTPUT->footer();
 
 ?>