Switch DOCTYPE's to the XHTML 5 DOCTYPE
This commit is contained in:
parent
d77982b9b4
commit
95ba22c5d7
@ -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>
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user