fill in some missing doctypes; use short doctype where it wasn't

This commit is contained in:
Andrew Dolgov 2019-02-23 13:49:40 +03:00
parent 2fa3e019f1
commit 54c1b5c611
10 changed files with 17 additions and 9 deletions

View File

@ -830,6 +830,7 @@ class Feeds extends Handler_Protected {
$rehash_checked = isset($_REQUEST["force_rehash"]) ? "checked" : "";
?>
<!DOCTYPE html>
<html>
<head>
<?php echo stylesheet_tag("css/default.css") ?>

View File

@ -525,6 +525,7 @@ class Handler_Public extends Handler {
header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo __("Share with Tiny Tiny RSS") ?> ?></title>
@ -742,6 +743,7 @@ class Handler_Public extends Handler {
header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html>
<html>
<head>
<title>Tiny Tiny RSS</title>
@ -866,7 +868,7 @@ class Handler_Public extends Handler {
header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html>
<html>
<head>
<title>Tiny Tiny RSS</title>
@ -1071,6 +1073,7 @@ class Handler_Public extends Handler {
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Database Updater</title>

View File

@ -1,4 +1,5 @@
<?php startup_gettext(); ?>
<!DOCTYPE html>
<html>
<head>
<title>Tiny Tiny RSS : Login</title>

View File

@ -176,6 +176,7 @@
}
if (count($errors) > 0 && $_SERVER['REQUEST_URI']) { ?>
<!DOCTYPE html>
<html>
<head>
<title>Startup failed</title>

View File

@ -34,8 +34,7 @@
header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html>
<html>
<head>
<title>Tiny Tiny RSS</title>

View File

@ -22,7 +22,7 @@
return "<script type=\"text/javascript\" charset=\"utf-8\" src=\"$filename?$timestamp\"></script>\n";
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Tiny Tiny RSS - Installer</title>

View File

@ -48,7 +48,9 @@ class Auth_Internal extends Plugin implements IAuthModule {
}
} else {
$return = urlencode($_REQUEST["return"]);
?><html>
?>
<!DOCTYPE html>
<html>
<head>
<title>Tiny Tiny RSS</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

View File

@ -26,8 +26,7 @@
header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html>
<html>
<head>
<title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title>

View File

@ -89,7 +89,7 @@
return;
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Create new account</title>

View File

@ -56,7 +56,9 @@
}
if (count($options) == 0 && !defined('STDIN')) {
?> <html>
?>
<!DOCTYPE html>
<html>
<head>
<title>Tiny Tiny RSS data update script.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">