]> git.mjollnir.org Git - moodle.git/commitdiff
"Add a new user" link near top of page, see bug 713
authorgustav_delius <gustav_delius>
Sun, 30 May 2004 21:12:09 +0000 (21:12 +0000)
committergustav_delius <gustav_delius>
Sun, 30 May 2004 21:12:09 +0000 (21:12 +0000)
admin/user.php

index a9183abb9be4bd54050c6797ca48adf1ac45ccc0..c127c865459e2c32b348012146804af89eaf9137 100644 (file)
             }
             echo "</form>";    
             echo "</td></tr></table>";
+            if ($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual"){
+                print_heading("<a href=\"user.php?newuser=true\">".get_string("addnewuser")."</a>");
+            }
 
             print_table($table);