mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
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 <simey@moodle.com>
This commit is contained in:
parent
ceb41588d2
commit
52992d993c
3 changed files with 7 additions and 14 deletions
|
@ -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>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue