]> git.mjollnir.org Git - moodle.git/commitdiff
Adding the environmentbox class to the box.
authorstronk7 <stronk7>
Sun, 18 Mar 2007 19:20:40 +0000 (19:20 +0000)
committerstronk7 <stronk7>
Sun, 18 Mar 2007 19:20:40 +0000 (19:20 +0000)
Merged from MOODLE_18_STABLE

lib/environmentlib.php

index 4c961e492b9023d91e65e777db5894a8155cc44a..d94724b4c6946e7abc9a1ed860d5164043900a9a 100644 (file)
@@ -234,12 +234,12 @@ function print_moodle_environment($result, $environment_results) {
 
 /// And feedback accumulated text
     if ($feedbacktext) {
-        print_simple_box('<ul>'.$feedbacktext.'</ul>', 'center', '90%');
+        print_simple_box('<ul>'.$feedbacktext.'</ul>', 'center', '90%', '', '', 'environmentbox generalbox');
     }
 
 /// Finally, if any error has happened, print the summary box
     if (!$result) {
-        print_simple_box($strenvironmenterrortodo, 'center', '', '', '', 'errorbox');
+        print_simple_box($strenvironmenterrortodo, 'center', '', '', '', 'environmentbox errorbox');
     }
 }