MDL-73568 admin: show accepted types for stored file config settings.
Re-factor existing code to make use of file manager class that renders these details for us by default. Co-authored-by: Simey Lameze <[email protected]>
This commit is contained in:
co-authored by
Simey Lameze
parent
ceb41588d2
commit
52992d993c
+1
-1
@@ -303,7 +303,7 @@ class core_files_renderer extends plugin_renderer_base {
|
||||
} else {
|
||||
$maxsize = get_string('maxfilesize', 'moodle', $maxbytes);
|
||||
}
|
||||
// TODO MDL-32020 also should say about 'File types accepted'
|
||||
|
||||
return '<span>'. $maxsize . '</span>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user