Skip to content

Commit

Permalink
MDL-60171 user/edit: more meaning for delete pic
Browse files Browse the repository at this point in the history
AMOS BEGIN
    CPY [delete,core_moodle],[deletepicture,core_moodle]
AMOS END
  • Loading branch information
Guillaume Latour committed Oct 9, 2017
1 parent d8e9a23 commit febd7a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en/moodle.php
Expand Up @@ -484,6 +484,7 @@
$string['deletecheckfiles'] = 'Are you absolutely sure you want to delete these files?';
$string['deletecheckfull'] = 'Are you absolutely sure you want to completely delete the user {$a}, including their enrolments, activity and other user data?';
$string['deletecheckwarning'] = 'You are about to delete these files';
$string['deletepicture'] = 'Delete picture';
$string['deletesection'] = 'Delete section';
$string['deleteselected'] = 'Delete selected';
$string['deleteselectedkey'] = 'Delete selected key';
Expand Down
2 changes: 1 addition & 1 deletion user/editlib.php
Expand Up @@ -352,7 +352,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions

$mform->addElement('static', 'currentpicture', get_string('currentpicture'));

$mform->addElement('checkbox', 'deletepicture', get_string('delete'));
$mform->addElement('checkbox', 'deletepicture', get_string('deletepicture'));
$mform->setDefault('deletepicture', 0);

$mform->addElement('filemanager', 'imagefile', get_string('newpicture'), '', $filemanageroptions);
Expand Down

0 comments on commit febd7a6

Please sign in to comment.