]> git.mjollnir.org Git - moodle.git/commitdiff
Just a little tidying up
authormoodler <moodler>
Tue, 8 Feb 2005 17:33:13 +0000 (17:33 +0000)
committermoodler <moodler>
Tue, 8 Feb 2005 17:33:13 +0000 (17:33 +0000)
admin/auth.php

index e7d95768ec6a7c95a037586f6bfb64b45ee822f7..78e5a9c51898ac2172b3c589c28f44472c7cd6a3 100644 (file)
     echo "<table border=\"0\" width=\"100%\" cellpadding=\"4\">";
 
     require_once("$CFG->dirroot/auth/$auth/config.html");
-    echo "<tr><td colspan=\"2\"><h2>";
-    print_string("auth_common_settings", "auth");
-    echo "</h2><td/></tr>";
+    echo '<tr><td colspan="3">';
+    print_heading(get_string('auth_common_settings', 'auth'));
+    echo '</h2><td/></tr>';
     
     if ($auth != "email" and $auth != "none" and $auth != "manual") {
         echo "<tr valign=\"top\">";
     echo "</td></tr>";
 
     if (function_exists('auth_user_create')){    
-    echo "<tr valign=\"top\">";
-    echo "<td align=\"right\" nowrap=\"nowrap\">";
-    print_string("auth_user_create", "auth");
-    echo ":</td>";
-    echo "<td>";
-    choose_from_menu($createoptions, "auth_user_create", $config->auth_user_create, "");
-    echo "</td>";
-    echo "<td>";
-    print_string("auth_user_creation","auth");
-    echo "</td></tr>";
+        echo "<tr valign=\"top\">";
+        echo "<td align=\"right\" nowrap=\"nowrap\">";
+        print_string("auth_user_create", "auth");
+        echo ":</td>";
+        echo "<td>";
+        choose_from_menu($createoptions, "auth_user_create", $config->auth_user_create, "");
+        echo "</td>";
+        echo "<td>";
+        print_string("auth_user_creation","auth");
+        echo "</td></tr>";
     }
 
-    echo "</table><center><input type=\"submit\" value=\"";
-    print_string("savechanges");
-    echo "\"></center></form>";
+    echo '</table>';
+    echo '<p align="center"><input type="submit" value="'.get_string('savechanges').'"></p>';
+    echo '</form>';
 
     print_simple_box_end();