From 14dcbc362218cc57e94f9c27bc85b01c987ee8a5 Mon Sep 17 00:00:00 2001 From: apsdehal Date: Sun, 2 Feb 2014 03:26:28 +0530 Subject: [PATCH] MDL-41644 Backup: Update CSS class .notifywarning with .notifyproblem --- backup/import.php | 2 +- backup/util/ui/renderer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backup/import.php b/backup/import.php index fbd919a583c..8fce7de52d0 100644 --- a/backup/import.php +++ b/backup/import.php @@ -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); diff --git a/backup/util/ui/renderer.php b/backup/util/ui/renderer.php index 22859150122..57e71cb84ec 100644 --- a/backup/util/ui/renderer.php +++ b/backup/util/ui/renderer.php @@ -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');