From: mjollnir_ Date: Tue, 2 Sep 2008 12:54:09 +0000 (+0000) Subject: MDL-14591 - changed nico's form warning element to use notifyproblem class so that... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fdc25313cf180af8647110f33a903d38d2de336f;p=moodle.git MDL-14591 - changed nico's form warning element to use notifyproblem class so that it's synonymous with notify (by default) --- diff --git a/lib/form/warning.php b/lib/form/warning.php index aea35cc1ee..ad9d3a5e2f 100644 --- a/lib/form/warning.php +++ b/lib/form/warning.php @@ -17,11 +17,11 @@ class MoodleQuickForm_warning extends HTML_QuickForm_static{ var $_helpbutton=''; var $_class=''; - function MoodleQuickForm_warning($elementName=null, $elementClass='formwarning', $text=null) { + function MoodleQuickForm_warning($elementName=null, $elementClass='notifyproblem', $text=null) { parent::HTML_QuickForm_static($elementName, null, $text); $this->_type = 'warning'; if (is_null($elementClass)) { - $elementClass = 'formwarning'; + $elementClass = 'notifyproblem'; } $this->_class = $elementClass; } diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index a88b1382a9..d4f540ac0a 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -1158,11 +1158,3 @@ form.mform .required .fgroup span label { color:#000; } -form.mform .formwarning { - background-color: red; - color: yellow; - margin-top: 15px; - padding: 10px 0px 10px 0px; - font-size: 110%; - font-weight: bold; -}