mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-33374-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
204ce6858b
2 changed files with 8 additions and 1 deletions
|
@ -363,6 +363,7 @@ $string['createaccount'] = 'Create my new account';
|
||||||
$string['createcategory'] = 'Create category';
|
$string['createcategory'] = 'Create category';
|
||||||
$string['createfolder'] = 'Create a folder in {$a}';
|
$string['createfolder'] = 'Create a folder in {$a}';
|
||||||
$string['createuserandpass'] = 'Choose your username and password';
|
$string['createuserandpass'] = 'Choose your username and password';
|
||||||
|
$string['createuser'] = 'Create user';
|
||||||
$string['createziparchive'] = 'Create zip archive';
|
$string['createziparchive'] = 'Create zip archive';
|
||||||
$string['creatingblocks'] = 'Creating blocks';
|
$string['creatingblocks'] = 'Creating blocks';
|
||||||
$string['creatingblocksroles'] = 'Creating block level role assignments and overrides';
|
$string['creatingblocksroles'] = 'Creating block level role assignments and overrides';
|
||||||
|
|
|
@ -72,7 +72,13 @@ class user_editadvanced_form extends moodleform {
|
||||||
/// Next the customisable profile fields
|
/// Next the customisable profile fields
|
||||||
profile_definition($mform, $userid);
|
profile_definition($mform, $userid);
|
||||||
|
|
||||||
$this->add_action_buttons(false, get_string('updatemyprofile'));
|
if ($userid == -1) {
|
||||||
|
$btnstring = get_string('createuser');
|
||||||
|
} else {
|
||||||
|
$btnstring = get_string('updatemyprofile');
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->add_action_buttons(false, $btnstring);
|
||||||
}
|
}
|
||||||
|
|
||||||
function definition_after_data() {
|
function definition_after_data() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue