cvs: pearweb /include pear-format-html.php
| From: | Martin Jansen | Date: | Thu, 15 Jun 2006 21:16:18 +0000 |
| Subject: | cvs: pearweb /include pear-format-html.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-40734@lists.php.net to get a copy of this message | ||
mj Thu Jun 15 21:16:18 2006 UTC
Modified files:
/pearweb/include pear-format-html.php
Log:
* Not sure if this is mandated, but it is common sense to separate the
content type and the encoding with semicolon and a space.
http://cvs.php.net/viewcvs.cgi/pearweb/include/pear-format-html.php?r1=1.184&r2=1.185&diff_format=u
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.184 pearweb/include/pear-format-html.php:1.185
--- pearweb/include/pear-format-html.php:1.184 Thu Jun 15 21:04:31 2006
+++ pearweb/include/pear-format-html.php Thu Jun 15 21:16:18 2006
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.184 2006/06/15 21:04:31 mj Exp $
+ $Id: pear-format-html.php,v 1.185 2006/06/15 21:16:18 mj Exp $
*/
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler');
@@ -111,9 +111,10 @@
$SIDEBAR_DATA .= draw_navigation('developer_menu_public',
'Developers:');
}
}
-header('Content-Type: text/html;charset=' . $encoding);
+header('Content-Type: text/html; charset=' . $encoding);
echo '<?xml version="1.0" encoding="' . $encoding . '"
?>';
?>
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>