Convert deprecated pix_url calls.

This commit is contained in:
Dan Marsden
2018-10-03 15:10:59 +13:00
parent 92f7ec0541
commit 07e26e312c
4 changed files with 8 additions and 14 deletions

View File

@@ -48,7 +48,7 @@ if (!$viewbag['static']) {
if (is_siteadmin()) {
$url = new moodle_url('/auth/outage/finish.php', ['id' => $viewbag['outage']->id]);
$text = html_writer::empty_tag('img', [
'src' => $OUTPUT->pix_url('t/check'),
'src' => $OUTPUT->image_url('t/check'),
'alt' => get_string('finish', 'auth_outage'),
'class' => 'iconsmall',
]).' '.get_string('finish', 'auth_outage');