MDL-23619, fixed max files size in filemanager
This commit is contained in:
+1
-1
@@ -981,7 +981,7 @@ $string['maximumshort'] = 'Max';
|
||||
$string['maximumupload'] = 'Maximum upload size';
|
||||
$string['maximumupload_help'] = 'This setting determines the largest size of file that can be uploaded to the course, limited by the site-wide setting set by an administrator. Activity modules also include a maximum upload size setting for further restricting the file size.';
|
||||
$string['maxsize'] = 'Max size: {$a}';
|
||||
$string['maxfilesize'] = 'Max single file size: {$a}';
|
||||
$string['maxfilesize'] = 'Maximum size for new file: {$a}';
|
||||
$string['memberincourse'] = 'People in the course';
|
||||
$string['messagebody'] = 'Message body';
|
||||
$string['messagedselectedusers'] = 'Selected users have been messaged and the recipient list has been reset.';
|
||||
|
||||
@@ -265,7 +265,7 @@ function form_filemanager_render($options) {
|
||||
$extra = '';
|
||||
}
|
||||
|
||||
$maxsize = get_string('maxfilesize', 'moodle', display_size(get_max_upload_file_size()));
|
||||
$maxsize = get_string('maxfilesize', 'moodle', display_size(get_max_upload_file_size($CFG->maxbytes, 0, $options->maxbytes)));
|
||||
$html .= <<<FMHTML
|
||||
<div class="filemanager-loading mdl-align" id='filemanager-loading-{$client_id}'>
|
||||
$icon_progress
|
||||
|
||||
Reference in New Issue
Block a user