From 3a98e73a54a06c6227526a910bfa51f1cbe7eb45 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 7a320573dcbac..cb55749ea049a 100644 --- a/backup/import.php +++ b/backup/import.php @@ -176,7 +176,7 @@ // 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); diff --git a/backup/util/ui/renderer.php b/backup/util/ui/renderer.php index f83190867cb35..abe6842a4501b 100644 --- a/backup/util/ui/renderer.php +++ b/backup/util/ui/renderer.php @@ -410,7 +410,7 @@ public function precheck_notices($results) { } 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');