]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861, xhtml strict fix
authortoyomoyo <toyomoyo>
Fri, 5 Jan 2007 01:06:24 +0000 (01:06 +0000)
committertoyomoyo <toyomoyo>
Fri, 5 Jan 2007 01:06:24 +0000 (01:06 +0000)
lib/weblib.php

index df5a8e51b5ec83f1a54da45669c08fd92d0a9ef9..67a472b0a20fa5d8b23a96d0e7a09a5fb734cbc8 100644 (file)
@@ -4968,7 +4968,7 @@ function notify($message, $style='notifyproblem', $align='center', $return=false
 
     $message = clean_text($message);
 
-    $output = '<div class="'.$style.'" align="'. $align .'">'. $message .'</div>'."<br />\n";
+    $output = '<div class="'.$style.'" style="text-align:'. $align .'">'. $message .'</div>'."<br />\n";
 
     if ($return) {
         return $output;