Skip to content

Commit b56b28d

Browse files
committed
HTML5 doctype.
1 parent f07f922 commit b56b28d

File tree

18 files changed

+18
-30
lines changed

18 files changed

+18
-30
lines changed

admin/Default/album_moderate_processing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function send_html_mail($from_name, $from_email, $to_email, $subject, $body) {
99
$headers .= 'Return-Path: '.$from_email.EOL;
1010
$headers .= 'Content-Type: text/html; charset=iso-8859-1'.EOL;
1111

12-
$message = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">'.EOL;
12+
$message = '<!DOCTYPE html>'.EOL;
1313
$message .= '<HTML><BODY>'.EOL;
1414
$message .= wordwrap($body, 72);
1515
$message .= '</BODY></HTML>';

htdocs/album/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
$db = new SmrMySqlDatabase();
1313
$db2 = new SmrMySqlDatabase();
1414
?>
15-
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
15+
<!DOCTYPE html>
1616
<html>
1717
<head>
1818
<link rel="stylesheet" type="text/css" href="<?php echo URL;?>/css/classic.css">

htdocs/email.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
$account =& SmrAccount::getAccount(SmrSession::$account_id);
1717

1818
?>
19-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
20-
"http://www.w3.org/TR/html4/loose.dtd">
19+
<!DOCTYPE html>
2120

2221
<html>
2322
<head>

htdocs/error.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php require_once('config.inc'); ?>
2-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3-
"http://www.w3.org/TR/html4/loose.dtd">
2+
<!DOCTYPE html>
43

54
<html>
65
<head>

htdocs/imprint.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html public '-//W3C//DTD HTML 4.0 Transitional//EN'>
1+
<!DOCTYPE html>
22

33
<html>
44
<head>

htdocs/level_requirements.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
require_once(LIB . 'Default/SmrMySqlDatabase.class.inc');
55

66
$db = new SmrMySqlDatabase(); ?>
7-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
8-
"http://www.w3.org/TR/html4/loose.dtd">
7+
<!DOCTYPE html>
98
<html>
109
<head>
1110
<link rel="stylesheet" type="text/css" href="<?php echo DEFAULT_CSS; ?>">

htdocs/login_create.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
require_once('config.inc');
33
require_once(LIB.'External/recaptcha/recaptchalib.php');
44
?>
5-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
6-
"http://www.w3.org/TR/html4/loose.dtd">
5+
<!DOCTYPE html>
76

87
<html>
98
<head>

htdocs/manual.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
if (empty($topic_id)||!is_numeric($topic_id))
1010
$topic_id = 1;
1111
?>
12-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
13-
"http://www.w3.org/TR/html4/loose.dtd">
12+
<!DOCTYPE html>
1413

1514
<html>
1615
<head>

htdocs/manual_toc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
require_once(ENGINE . 'Default/smr.inc');
66
require_once(ENGINE . 'Default/help.inc');
77
?>
8-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
9-
"http://www.w3.org/TR/html4/loose.dtd">
8+
<!DOCTYPE html>
109

1110
<html>
1211
<head>

htdocs/resend_password.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php require_once('config.inc'); ?>
2-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3-
"http://www.w3.org/TR/html4/loose.dtd">
2+
<!DOCTYPE html>
43

54
<html>
65
<head>

0 commit comments

Comments
 (0)