]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19795 Converted print_box* to $OUTPUT->box*
authornicolasconnault <nicolasconnault>
Mon, 10 Aug 2009 04:53:42 +0000 (04:53 +0000)
committernicolasconnault <nicolasconnault>
Mon, 10 Aug 2009 04:53:42 +0000 (04:53 +0000)
auth/mnet/config.html
enrol/manual/enrol.html
enrol/mnet/config.html

index 75c5aa524eca96f211bd6dbc6eb42c22275cebb8..c45d4dd4dbb6498ec5a42adf37a5ef224ec8e4ca 100644 (file)
@@ -11,7 +11,7 @@ if (!isset ($config->auto_add_remote_users)) {
 $yesno = array(get_string('no'), get_string('yes'));
 
 if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict') {
-    print_box(get_string('mnetdisabled','mnet'));
+    echo $OUTPUT->box(get_string('mnetdisabled','mnet'));
 }
 
 ?>
index 919a2da826fefffc637b5854c236f161573bb0fe..b1ff63de5ff8489315f8248f177f8ddcd7e40cda 100644 (file)
@@ -1,10 +1,10 @@
-<?php 
+<?php
 
     if ($course->password != '' and !(isguestuser() and !empty($USER->enrolkey[$course->id]))) {   // password
-        print_box_start('generalbox centerpara');
+        echo $OUTPUT->box_start('generalbox centerpara');
         echo '<p align="center">';
 
-        $this->print_enrolmentkeyfrom( $course );    
+        $this->print_enrolmentkeyfrom( $course );
  ?>
       </p>
 
       </form>
       </div>
 
-<?php 
-        print_box_end();
+<?php
+        echo $OUTPUT->box_end();
     }
 
 
     if (isguestuser()) {
-        print_box_start('centerpara');
+        echo $OUTPUT->box_start('centerpara');
         $loginurl = get_login_url();
         print_single_button($loginurl, null, get_string('login'));
-        print_box_end();
+        echo $OUTPUT->box_end();
     }
 ?>
index bca7f4b5ba84b6fa45295f03b4f1fba60e7b7d3b..f9f0b9fa3ce3e7a4cf59fa1e9a385be166fcd5dc 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict') {
-    print_box(get_string('mnetdisabled','mnet'));
+    echo $OUTPUT->box(get_string('mnetdisabled','mnet'));
 }
 
 $servercount = 0;