Code

tidy errors with white backgr.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 24 Jun 2005 09:23:01 +0000 (09:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 24 Jun 2005 09:23:01 +0000 (09:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@834 594d385d-05f5-0310-b6e9-bd551577e9d8

html/main.php

index 81d9f4bf623e4d23e777f0960b6fce7935d88df3..79ddf1de702a2962c88fd375e0c3d66eed6edf7e 100644 (file)
@@ -291,7 +291,7 @@ if (isset($config->data['MAIN']['W3CTEST']) && preg_match('/true/i', $config->da
   tidy_clean_repair($display);
   $cnt =  (tidy_error_count($display))+(tidy_warning_count($display));
   if($cnt != 0){
-    echo nl2br(htmlentities($display->errorBuffer));
+    echo "<div style='background:#FFFFFF;'>".nl2br(htmlentities($display->errorBuffer))."</div>";
   }
   tidy_clean_repair($display);
 }