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 "?>"; ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<title>Install Laconica</title>

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,4 @@
<?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">
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php echo section('title'); ?></title>