cvs: pear /PEAR_PackageUpdate_Web Web.php
[email protected] ("Laurent Laville")
| Newsgroups | php.pear.cvs |
|---|---|
| Message-ID | <cvsfarell1209585948@cvsserver> |
farell Wed Apr 30 20:05:48 2008 UTC
Modified files:
/pear/PEAR_PackageUpdate_Web Web.php
Log:
make it XHTML 1.0 Strict compliant
http://cvs.php.net/viewvc.cgi/pear/PEAR_PackageUpdate_Web/Web.php?r1=1.8&r2=1.9&diff_format=u
Index: pear/PEAR_PackageUpdate_Web/Web.php
diff -u pear/PEAR_PackageUpdate_Web/Web.php:1.8 pear/PEAR_PackageUpdate_Web/Web.php:1.9
--- pear/PEAR_PackageUpdate_Web/Web.php:1.8 Wed Apr 30 19:48:14 2008
+++ pear/PEAR_PackageUpdate_Web/Web.php Wed Apr 30 20:05:48 2008
@@ -15,7 +15,7 @@
* @author Laurent Laville <[email protected]>
* @copyright 2006-2008 Laurent Laville
* @license http://www.php.net/license/3_01.txt PHP License 3.01
- * @version CVS: $Id: Web.php,v 1.8 2008/04/30 19:48:14 farell Exp $
+ * @version CVS: $Id: Web.php,v 1.9 2008/04/30 20:05:48 farell Exp $
* @link http://pear.php.net/package/PEAR_PackageUpdate_Web
* @since File available since Release 0.1.0
*/
@@ -664,9 +664,9 @@
$body = $renderer->toHtml();
$html = <<<HTML
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>PEAR_PackageUpdate Web Frontend</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />