Merge branch 'MDL-41644_25' of git://github.com/apsdehal/moodle into MOODLE_25_STABLE
This commit is contained in:
+1
-1
@@ -144,7 +144,7 @@ if ($backup->get_stage() == backup_ui::STAGE_FINAL) {
|
||||
echo $OUTPUT->header();
|
||||
if ($warnings) {
|
||||
echo $OUTPUT->box_start();
|
||||
echo $OUTPUT->notification(get_string('warning'), 'notifywarning');
|
||||
echo $OUTPUT->notification(get_string('warning'), 'notifyproblem');
|
||||
echo html_writer::start_tag('ul', array('class'=>'list'));
|
||||
foreach ($warnings as $warning) {
|
||||
echo html_writer::tag('li', $warning);
|
||||
|
||||
@@ -392,7 +392,7 @@ class core_backup_renderer extends plugin_renderer_base {
|
||||
}
|
||||
if (array_key_exists('warnings', $results)) {
|
||||
foreach ($results['warnings'] as $warning) {
|
||||
$output .= $this->output->notification($warning, 'notifywarning notifyproblem');
|
||||
$output .= $this->output->notification($warning, 'notifyproblem');
|
||||
}
|
||||
}
|
||||
return $output.html_writer::end_tag('div');
|
||||
|
||||
Reference in New Issue
Block a user