Skip to content

Commit

Permalink
Changes doctypes to HTML5
Browse files Browse the repository at this point in the history
  • Loading branch information
ewinslow committed Aug 13, 2012
1 parent 34edcf8 commit 1958796
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion views/default/page/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
header("Content-type: text/html; charset=UTF-8");

?>
<!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" lang="en">
<head>
<?php echo elgg_view('page/elements/head', $vars); ?>
Expand Down
2 changes: 1 addition & 1 deletion views/default/page/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
header("Content-type: text/html; charset=UTF-8");

?>
<!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" lang="en">
<head>
<?php echo elgg_view('page/elements/head', $vars); ?>
Expand Down
1 change: 1 addition & 0 deletions views/default/page/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Displays an ajax loader until upgrade is complete
*/
?>
<!DOCTYPE html>
<html>
<head>
<?php echo elgg_view('page/elements/head', $vars); ?>
Expand Down
2 changes: 1 addition & 1 deletion views/default/page/walled_garden.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// Set the content type
header("Content-type: text/html; charset=UTF-8");
?>
<!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" lang="en">
<head>
<?php echo elgg_view('page/elements/head', $vars); ?>
Expand Down
1 change: 1 addition & 0 deletions views/failsafe/page/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
header('Content-type: text/html; charset=utf-8');

?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $vars['title']; ?></title>
Expand Down
2 changes: 1 addition & 1 deletion views/installation/page/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
header('Expires: Fri, 05 Feb 1982 00:00:00 -0500', TRUE);

?>
<!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" lang="en">
<head>
<title><?php echo $title; ?></title>
Expand Down

2 comments on commit 1958796

@sembrestels
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So? Are we changing to HTML5 in Elgg 1.9? It's great! Look at my work arround it.

@ewinslow
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sembrestels, we most definitely are! You can send html5-related pull requests straight to core now.

Please sign in to comment.