Skip to content

Commit b5c42ef

Browse files
authored
Switched DOCTYPE to HTML5 for base theme (#3574)
1 parent 45e04a8 commit b5c42ef

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

app/design/frontend/base/default/template/page/1column.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Template for Mage_Page_Block_Html
1919
*/
2020
?>
21-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
21+
<!DOCTYPE html>
22+
<html lang="<?php echo $this->getLang(); ?>">
2323
<head>
2424
<?php echo $this->getChildHtml('head') ?>
2525
</head>

app/design/frontend/base/default/template/page/2columns-left.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Template for Mage_Page_Block_Html
1919
*/
2020
?>
21-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
21+
<!DOCTYPE html>
22+
<html lang="<?php echo $this->getLang(); ?>">
2323
<head>
2424
<?php echo $this->getChildHtml('head') ?>
2525
</head>

app/design/frontend/base/default/template/page/2columns-right.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Template for Mage_Page_Block_Html
1919
*/
2020
?>
21-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
21+
<!DOCTYPE html>
22+
<html lang="<?php echo $this->getLang(); ?>">
2323
<head>
2424
<?php echo $this->getChildHtml('head') ?>
2525
</head>

app/design/frontend/base/default/template/page/3columns.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Template for Mage_Page_Block_Html
1919
*/
2020
?>
21-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
21+
<!DOCTYPE html>
22+
<html lang="<?php echo $this->getLang(); ?>">
2323
<head>
2424
<?php echo $this->getChildHtml('head') ?>
2525
</head>

app/design/frontend/base/default/template/page/empty.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Template for Mage_Page_Block_Html
1919
*/
2020
?>
21-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
21+
<!DOCTYPE html>
22+
<html lang="<?php echo $this->getLang(); ?>">
2323
<head>
2424
<?php echo $this->getChildHtml('head') ?>
2525
</head>

app/design/frontend/base/default/template/page/popup.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Template for Mage_Page_Block_Html
1919
*/
2020
?>
21-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
21+
<!DOCTYPE html>
22+
<html lang="<?php echo $this->getLang(); ?>">
2323
<head>
2424
<?php echo $this->getChildHtml('head') ?>
2525
</head>

app/design/frontend/base/default/template/page/print.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Template for Mage_Page_Block_Html
1919
*/
2020
?>
21-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
21+
<!DOCTYPE html>
22+
<html lang="<?php echo $this->getLang(); ?>">
2323
<head>
2424
<?php echo $this->getChildHtml('head') ?>
2525
</head>

0 commit comments

Comments
 (0)