diff --git a/admin/tool/behat/renderer.php b/admin/tool/behat/renderer.php index 9bcda1ff6d6..bf2b7a10a62 100644 --- a/admin/tool/behat/renderer.php +++ b/admin/tool/behat/renderer.php @@ -139,7 +139,7 @@ class tool_behat_renderer extends plugin_renderer_base { $msg = get_string('wrongbehatsetup', 'tool_behat', $a); // Error box including generic error string + specific error msg. - $html .= $this->output->box_start('box errorbox'); + $html .= $this->output->box_start('box errorbox alert alert-danger'); $html .= html_writer::tag('div', $msg); $html .= $this->output->box_end(); diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 6a5800d6eac..b088e095874 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -2797,7 +2797,7 @@ EOD; $message .= '

' . get_string('installproblem', 'error') . '

'; //It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix for new installation. } - $output .= $this->box($message, 'errorbox', null, array('data-rel' => 'fatalerror')); + $output .= $this->box($message, 'errorbox alert alert-danger', null, array('data-rel' => 'fatalerror')); if ($CFG->debugdeveloper) { if (!empty($debuginfo)) {