From: hickert Date: Tue, 24 May 2005 13:52:40 +0000 (+0000) Subject: better w3c test X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4ef70f568536ff0ccfbec33a6e926218d35e5ea1;p=gosa.git better w3c test git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@382 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/main.php b/html/main.php index d0d182243..9cea4577f 100644 --- a/html/main.php +++ b/html/main.php @@ -286,6 +286,12 @@ if(file_exists("dow3ccheck.chk")) $str = shell_exec( "curl -F uploaded_file=@/tmp/current.html http://127.0.0.1/w3c-markup-validator/check "); if(!preg_match("/This Page Is Valid/",$str )) print $str; + else + print '

+ Valid HTML 4.01! +

'; } $_SESSION['plist']= $plist;