This commit is contained in:
Eloy Lafuente (stronk7) 2017-10-17 00:13:25 +02:00
commit b86f988bcb
2 changed files with 2 additions and 1 deletions

View File

@ -484,6 +484,7 @@ $string['deletechecktypename'] = 'Are you sure that you want to delete the {$a->
$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';

View File

@ -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);