output MDL-20204 Fixed regression with block editing controls
This commit is contained in:
@@ -698,9 +698,9 @@ class core_renderer extends renderer_base {
|
||||
}
|
||||
$controlshtml = array();
|
||||
foreach ($controls as $control) {
|
||||
$controlshtml[] = html_writer::tag('a', array('class' => 'icon',
|
||||
$controlshtml[] = html_writer::tag('a',
|
||||
html_writer::empty_tag('img', array('src' => $this->pix_url($control['icon'])->out(false), 'alt' => $control['caption'])),
|
||||
'title' => $control['caption'], 'href' => $control['url']));
|
||||
array('class' => 'icon','title' => $control['caption'], 'href' => $control['url']));
|
||||
}
|
||||
return html_writer::tag('div', implode('', $controlshtml), array('class' => 'commands'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user