Merge branch 'MDL-41644_26' of git://github.com/apsdehal/moodle into MOODLE_26_STABLE
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ if ($backup->get_stage() == backup_ui::STAGE_FINAL) {
|
||||
// Display a notification and a continue button
|
||||
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);
|
||||
|
||||
@@ -410,7 +410,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