Switch DOCTYPE's to the XHTML 5 DOCTYPE

This commit is contained in:
Craig Andrews 2009-08-05 18:27:27 -04:00
parent d77982b9b4
commit 95ba22c5d7
6 changed files with 7 additions and 19 deletions

View File

@ -383,9 +383,7 @@ function runDbScript($filename, $conn, $type='mysql')
?> ?>
<?php echo"<?"; ?> xml version="1.0" encoding="UTF-8" <?php echo "?>"; ?> <?php echo"<?"; ?> xml version="1.0" encoding="UTF-8" <?php echo "?>"; ?>
<!DOCTYPE html <!DOCTYPE html>
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head> <head>
<title>Install Laconica</title> <title>Install Laconica</title>

View File

@ -110,9 +110,7 @@ class HTMLOutputter extends XMLOutputter
$this->extraHeaders(); $this->extraHeaders();
$this->startXML('html', $this->startXML('html');
'-//W3C//DTD XHTML 1.0 Strict//EN',
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
$language = $this->getLanguage(); $language = $this->getLanguage();

View File

@ -47,9 +47,7 @@ class FBC_XDReceiverAction extends Action
header('Expires:'); header('Expires:');
header('Pragma:'); header('Pragma:');
$this->startXML('html', $this->startXML('html');
'-//W3C//DTD XHTML 1.0 Strict//EN',
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
$language = $this->getLanguage(); $language = $this->getLanguage();

View File

@ -82,9 +82,7 @@ class FBConnectPlugin extends Plugin
$action->extraHeaders(); $action->extraHeaders();
$action->startXML('html', $action->startXML('html');
'-//W3C//DTD XHTML 1.0 Strict//EN',
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
$language = $action->getLanguage(); $language = $action->getLanguage();

View File

@ -65,9 +65,7 @@ class recaptcha extends Plugin
$action->extraHeaders(); $action->extraHeaders();
$action->startXML('html', $action->startXML('html');
'-//W3C//DTD XHTML 1.0 Strict//EN',
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
$action->raw('<style type="text/css">#recaptcha_area{float:left;}</style>'); $action->raw('<style type="text/css">#recaptcha_area{float:left;}</style>');
return false; return false;

View File

@ -1,6 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html>
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<title><?php echo section('title'); ?></title> <title><?php echo section('title'); ?></title>
@ -44,4 +42,4 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
</div> </div>
</div> </div>
</body> </body>
</html> </html>