]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19800 Converted all print_footer() calls
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:14:52 +0000 (14:14 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 14:14:52 +0000 (14:14 +0000)
login/change_password.php
login/confirm.php
login/forgot_password.php
login/index.php
login/logout.php
login/mnet_email.php
login/signup.php

index f557a55e0c95b1d0a1da7e47034893c42833c2e2..4e688c190aaa224dc53eeca7185238922c88d511 100644 (file)
@@ -94,7 +94,7 @@
 
         notice($strpasswordchanged, $returnto);
 
-        print_footer();
+        echo $OUTPUT->footer();
         exit;
     }
 
         notify(get_string('forcepasswordchangenotice'));
     }
     $mform->display();
-    print_footer();
+    echo $OUTPUT->footer();
 
 ?>
index 72f26f664a76b5496ba134694bb89d4b0099dd63..b3fb6ed7dfe8ebf25661dddea8d3b7d59e29cb94 100644 (file)
@@ -37,7 +37,7 @@
             echo "<p>".get_string("alreadyconfirmed")."</p>\n";
             print_single_button("$CFG->wwwroot/course/", null, get_string('courses'));
             print_box_end();
-            print_footer();
+            echo $OUTPUT->footer();
             exit;
 
         } else if ($confirmed == AUTH_CONFIRM_OK) {
@@ -62,7 +62,7 @@
             echo "<p>".get_string("confirmed")."</p>\n";
             print_single_button("$CFG->wwwroot/course/", null, get_string('courses'));
             print_box_end();
-            print_footer();
+            echo $OUTPUT->footer();
             exit;
         } else {
             print_error('invalidconfirmdata');
index 36441b25596d090ab106df0d4f03d8e2b00dee13..1702fc3a76c1d167c8e0e3479e999a4271ff505f 100644 (file)
@@ -152,6 +152,6 @@ print_header($strforgotten, $strforgotten, $navigation, 'id_email');
 print_box(get_string('passwordforgotteninstructions'), 'generalbox boxwidthnormal boxaligncenter');
 $mform->display();
 
-print_footer();
+echo $OUTPUT->footer();
 
 ?>
index fbbf78d8073817d80b21d1141b779d11ba3f3f1b..65565b4d12f1a540b11740f116d8c4ae70a00c43 100644 (file)
                 print_header(get_string("mustconfirm"), get_string("mustconfirm") );
                 echo $OUTPUT->heading(get_string("mustconfirm"));
                 print_simple_box(get_string("emailconfirmsent", "", $user->email), "center");
-                print_footer();
+                echo $OUTPUT->footer();
                 die;
             }
 
                 if (intval($days2expire) > 0 && intval($days2expire) < intval($userauth->config->expiration_warning)) {
                     print_header("$site->fullname: $loginsite", "$site->fullname", $navigation, '', '', true, "<div class=\"langmenu\">$langmenu</div>");
                     notice_yesno(get_string('auth_passwordwillexpire', 'auth', $days2expire), $passwordchangeurl, $urltogo);
-                    print_footer();
+                    echo $OUTPUT->footer();
                     exit;
                 } elseif (intval($days2expire) < 0 ) {
                     print_header("$site->fullname: $loginsite", "$site->fullname", $navigation, '', '', true, "<div class=\"langmenu\">$langmenu</div>");
                     notice_yesno(get_string('auth_passwordisexpired', 'auth'), $passwordchangeurl, $urltogo);
-                    print_footer();
+                    echo $OUTPUT->footer();
                     exit;
                 }
             }
 
     include("index_form.html");
 
-    print_footer();
+    echo $OUTPUT->footer();
 
 
 ?>
index 0d9e4842c6b00fb211558c6c15c0f7873fb506f2..a276d143df420cc66403cbe728a917cd89a05ef8 100644 (file)
@@ -16,7 +16,7 @@
     } else if (!confirm_sesskey($sesskey)) {
         print_header($SITE->fullname, $SITE->fullname, 'home');
         notice_yesno(get_string('logoutconfirm'), 'logout.php', $CFG->wwwroot.'/', array('sesskey'=>sesskey()), null, 'post', 'get');
-        print_footer();
+        echo $OUTPUT->footer();
         die;
     }
 
index 53c71657f25ffed3fe01106be66301e9df67735c..eefe33c952a3e7e82d1a4bd45f1f72b908748564 100644 (file)
@@ -35,6 +35,6 @@ print_simple_box_start('center','50%','','20');
 <?php
 
 print_simple_box_end();
-print_footer();
+echo $OUTPUT->footer();
 
 ?>
index 124759083e07f08ab1556f46f820565a2fb29e41..4285d1442a625074fe5ddf375f58ce747fd35d76 100644 (file)
@@ -61,7 +61,7 @@
     print_header($newaccount, $newaccount, $navigation, $mform_signup->focus(), "", true, "<div class=\"langmenu\">$langmenu</div>");
     
     $mform_signup->display();
-    print_footer();
+    echo $OUTPUT->footer();
 
 
 ?>