From: Pierre Habouzit (MadCoder Date: Wed, 12 Jan 2005 11:25:19 +0000 (+0000) Subject: positive info is good X-Git-Tag: xorg/old~455 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e182669c47a764d565e2a2bda3739229d4eb08b4;p=platal.git positive info is good git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-301 --- diff --git a/include/xorg/page.inc.php b/include/xorg/page.inc.php index ca419e7..cd4909a 100644 --- a/include/xorg/page.inc.php +++ b/include/xorg/page.inc.php @@ -129,9 +129,9 @@ class XorgPage extends DiogenesCorePage exec($globals->spoolroot."/bin/devel/xhtml.validate.pl ".$this->compile_dir."/valid.html", $val); foreach ($val as $h) { if (preg_match("/^X-W3C-Validator-Errors: (\d+)$/", $h, $m)) { - $replc = ''; + $replc = 'HTML OK
'; if ($m[1]) { - $replc .= "{$m[1]} ERREUR(S) !!!
"; } break;