Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-33374-m23' of git://github.com/ankitagarwal/moodle …

…into MOODLE_23_STABLE
  • Loading branch information...
commit 1595c976dd094f1bc7485c118ce1095c2a895aed 2 parents 5a05aa9 + 800abd6
Sam Hemelryk authored September 11, 2012
1  lang/en/moodle.php
@@ -363,6 +363,7 @@
363 363
 $string['createcategory'] = 'Create category';
364 364
 $string['createfolder'] = 'Create a folder in {$a}';
365 365
 $string['createuserandpass'] = 'Choose your username and password';
  366
+$string['createuser'] = 'Create user';
366 367
 $string['createziparchive'] = 'Create zip archive';
367 368
 $string['creatingblocks'] = 'Creating blocks';
368 369
 $string['creatingblocksroles'] = 'Creating block level role assignments and overrides';
8  user/editadvanced_form.php
@@ -72,7 +72,13 @@ function definition() {
72 72
         /// Next the customisable profile fields
73 73
         profile_definition($mform, $userid);
74 74
 
75  
-        $this->add_action_buttons(false, get_string('updatemyprofile'));
  75
+        if ($userid == -1) {
  76
+            $btnstring = get_string('createuser');
  77
+        } else {
  78
+            $btnstring = get_string('updatemyprofile');
  79
+        }
  80
+
  81
+        $this->add_action_buttons(false, $btnstring);
76 82
     }
77 83
 
78 84
     function definition_after_data() {

0 notes on commit 1595c97

Please sign in to comment.
Something went wrong with that request. Please try again.