mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
This commit is contained in:
parent
cb1e046d6e
commit
b5d0cafc6f
157 changed files with 576 additions and 576 deletions
|
@ -15,7 +15,7 @@ class repository_wikimedia extends repository {
|
|||
foreach ($result as $title=>$url) {
|
||||
$list['list'][] = array(
|
||||
'title'=>substr($title, 5),
|
||||
'thumbnail'=>$OUTPUT->old_icon_url(file_extension_icon('xx.jpg', 32)),
|
||||
'thumbnail'=>$OUTPUT->pix_url(file_extension_icon('xx.jpg', 32)),
|
||||
// plugin-dependent unique path to the file (id, url, path, etc.)
|
||||
'source'=>$url,
|
||||
// the accessible url of the file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue