]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14591 - changed nico's form warning element to use notifyproblem class so that...
authormjollnir_ <mjollnir_>
Tue, 2 Sep 2008 12:54:09 +0000 (12:54 +0000)
committermjollnir_ <mjollnir_>
Tue, 2 Sep 2008 12:54:09 +0000 (12:54 +0000)
lib/form/warning.php
theme/standard/styles_color.css

index aea35cc1eec6a8cccb914e50185c0947a8395e8b..ad9d3a5e2f3770fe7ab8518ce52c88d36d506975 100644 (file)
@@ -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;
     }
index a88b1382a96f25908aa8e0d9d53e93ca614d3da6..d4f540ac0a3bde5f4444d52731a7189624301e25 100644 (file)
@@ -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;
-}