Removed br tag

This commit is contained in:
Brendan Heywood
2016-09-06 16:47:51 +10:00
committed by Daniel Thee Roperto
parent a661197a0f
commit 034383f4f2

View File

@@ -57,12 +57,13 @@ class auth_outage_renderer extends plugin_renderer_base {
$url = new moodle_url('/auth/outage/create.php');
$img = html_writer::empty_tag('img',
['src' => $OUTPUT->pix_url('t/add'), 'alt' => get_string('create'), 'class' => 'iconsmall']);
$html .= html_writer::empty_tag('br')
. html_writer::link(
$html .= html_writer::tag('p',
html_writer::link(
$url,
$img . ' ' . get_string('outagecreate', 'auth_outage'),
['title' => get_string('remove')])
. html_writer::empty_tag('br');
['title' => get_string('remove')]
)
);
return $html;
}