mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +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
|
@ -838,7 +838,7 @@ abstract class repository {
|
|||
'url'=>$ret->get_url(),
|
||||
'id'=>$file->get_itemid(),
|
||||
'file'=>$file->get_filename(),
|
||||
'icon' => $OUTPUT->old_icon_url(file_extension_icon($path, 32))
|
||||
'icon' => $OUTPUT->pix_url(file_extension_icon($path, 32))
|
||||
);
|
||||
} else {
|
||||
return null;
|
||||
|
@ -944,7 +944,7 @@ abstract class repository {
|
|||
'size' => 0,
|
||||
'date' => $filedate,
|
||||
'path' => array_reverse($path),
|
||||
'thumbnail' => $OUTPUT->old_icon_url('f/folder-32')
|
||||
'thumbnail' => $OUTPUT->pix_url('f/folder-32')
|
||||
);
|
||||
|
||||
//if ($dynamicmode && $child->is_writable()) {
|
||||
|
@ -981,7 +981,7 @@ abstract class repository {
|
|||
'date' => $filedate,
|
||||
//'source' => $child->get_url(),
|
||||
'source' => base64_encode($source),
|
||||
'thumbnail'=>$OUTPUT->old_icon_url(file_extension_icon($filename, 32)),
|
||||
'thumbnail'=>$OUTPUT->pix_url(file_extension_icon($filename, 32)),
|
||||
);
|
||||
$filecount++;
|
||||
}
|
||||
|
@ -1859,13 +1859,13 @@ function repository_get_client($context, $id = '', $accepted_filetypes = '*', $
|
|||
} else {
|
||||
$options['externallink'] = true;
|
||||
}
|
||||
$options['icons']['loading'] = $OUTPUT->old_icon_url('i/loading');
|
||||
$options['icons']['logout'] = $OUTPUT->old_icon_url('a/logout');
|
||||
$options['icons']['help'] = $OUTPUT->old_icon_url('a/help');
|
||||
$options['icons']['progressbar'] = $OUTPUT->old_icon_url('i/progressbar');
|
||||
$options['icons']['search'] = $OUTPUT->old_icon_url('a/search');
|
||||
$options['icons']['setting'] = $OUTPUT->old_icon_url('a/setting');
|
||||
$options['icons']['refresh'] = $OUTPUT->old_icon_url('a/refresh');
|
||||
$options['icons']['loading'] = $OUTPUT->pix_url('i/loading');
|
||||
$options['icons']['logout'] = $OUTPUT->pix_url('a/logout');
|
||||
$options['icons']['help'] = $OUTPUT->pix_url('a/help');
|
||||
$options['icons']['progressbar'] = $OUTPUT->pix_url('i/progressbar');
|
||||
$options['icons']['search'] = $OUTPUT->pix_url('a/search');
|
||||
$options['icons']['setting'] = $OUTPUT->pix_url('a/setting');
|
||||
$options['icons']['refresh'] = $OUTPUT->pix_url('a/refresh');
|
||||
$options = json_encode($options);
|
||||
// fp_config includes filepicker options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue