summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-05 18:27:27 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-05 18:27:27 -0400
commit95ba22c5d7ffb28fa5c44a398edca86cc0f637f5 (patch)
treec264cf74622289bff04150b0d0777890d105a106
parentd77982b9b47b8b17051000cfcf3db1a8945d6279 (diff)
Switch DOCTYPE's to the XHTML 5 DOCTYPE
-rw-r--r--install.php4
-rw-r--r--lib/htmloutputter.php4
-rw-r--r--plugins/FBConnect/FBC_XDReceiver.php4
-rw-r--r--plugins/FBConnect/FBConnectPlugin.php4
-rw-r--r--plugins/recaptcha/recaptcha.php4
-rw-r--r--tpl/index.php6
6 files changed, 7 insertions, 19 deletions
diff --git a/install.php b/install.php
index 227f99789..ea2135651 100644
--- a/install.php
+++ b/install.php
@@ -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>
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index 06603ac05..cba8a5f5e 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -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();
diff --git a/plugins/FBConnect/FBC_XDReceiver.php b/plugins/FBConnect/FBC_XDReceiver.php
index 57c98b4f1..d9677fca7 100644
--- a/plugins/FBConnect/FBC_XDReceiver.php
+++ b/plugins/FBConnect/FBC_XDReceiver.php
@@ -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();
diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php
index 6788793b2..2fb10a675 100644
--- a/plugins/FBConnect/FBConnectPlugin.php
+++ b/plugins/FBConnect/FBConnectPlugin.php
@@ -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();
diff --git a/plugins/recaptcha/recaptcha.php b/plugins/recaptcha/recaptcha.php
index 5ef8352d1..38a860fc7 100644
--- a/plugins/recaptcha/recaptcha.php
+++ b/plugins/recaptcha/recaptcha.php
@@ -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;
diff --git a/tpl/index.php b/tpl/index.php
index 5f1ed8439..be375e75a 100644
--- a/tpl/index.php
+++ b/tpl/index.php
@@ -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>
@@ -44,4 +42,4 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
</div>
</div>
</body>
- </html> \ No newline at end of file
+ </html>