MDL-40759 icons: convert uses of pix_url to pix_icon
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ class google_docs {
|
||||
'url' => "{$gdoc->link[0]->attributes()->href}",
|
||||
'source' => $source,
|
||||
'date' => strtotime($gdoc->updated),
|
||||
'thumbnail' => (string) $OUTPUT->pix_url(file_extension_icon($title, 32))
|
||||
'thumbnail' => (string) $OUTPUT->image_url(file_extension_icon($title, 32))
|
||||
);
|
||||
}
|
||||
core_date::set_default_server_timezone();
|
||||
|
||||
Reference in New Issue
Block a user