MDL-23619, fixed max files size in filemanager

This commit is contained in:
Dongsheng Cai
2010-09-10 05:44:48 +00:00
parent 692fedb0eb
commit 48041cd505
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.';
+1 -1
View File
@@ -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