mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-64821 files: increase icon image size for stored file exporter
The default size for the stored file icon was only 16px by 16px which wasn't suitable for display in the new forum layout. I've increased the default size to 128px by 128px so that it looks better scaled up.
This commit is contained in:
parent
060da692b6
commit
e81be9a8b1
@ -147,7 +147,7 @@ class stored_file_exporter extends \core\external\exporter {
|
||||
$filenameshort .= substr($filename, -4);
|
||||
}
|
||||
|
||||
$icon = $this->file->is_directory() ? file_folder_icon() : file_file_icon($this->file);
|
||||
$icon = $this->file->is_directory() ? file_folder_icon(128) : file_file_icon($this->file, 128);
|
||||
|
||||
$url = moodle_url::make_pluginfile_url(
|
||||
$this->file->get_contextid(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user