cvs: phd /themes/php bightml.php
| From: | Hannes Magnusson | Date: | Sun, 25 Nov 2007 14:08:49 +0000 |
| Subject: | cvs: phd /themes/php bightml.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-439@lists.php.net to get a copy of this message | ||
bjori Sun Nov 25 14:08:49 2007 UTC
Modified files:
/phd/themes/php bightml.php
Log:
Add some html headers and set the charset to UTF-8
http://cvs.php.net/viewvc.cgi/phd/themes/php/bightml.php?r1=1.5&r2=1.6&diff_format=u
Index: phd/themes/php/bightml.php
diff -u phd/themes/php/bightml.php:1.5 phd/themes/php/bightml.php:1.6
--- phd/themes/php/bightml.php:1.5 Mon Nov 5 19:49:04 2007
+++ phd/themes/php/bightml.php Sun Nov 25 14:08:49 2007
@@ -1,5 +1,5 @@
<?php
-/* $Id: bightml.php,v 1.5 2007/11/05 19:49:04 bjori Exp $ */
+/* $Id: bightml.php,v 1.6 2007/11/25 14:08:49 bjori Exp $ */
require_once $ROOT . '/themes/php/phpdotnet.php';
class bightml extends phpdotnet implements PhDTheme {
@@ -19,7 +19,14 @@
fclose($this->stream);
}
public function header() {
- fwrite($this->stream, "<html><body>");
+ fwrite($this->stream, '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <title>PHP Manual</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ </head>
+ <body>');
+
}
public function footer() {
fwrite($this->stream, "</body></html>");