Skip to content

Commit 758b01c

Browse files
authored
Switched DOCTYPE to HTML5 for adminhtml themes (#3579)
1 parent b5c42ef commit 758b01c

File tree

15 files changed

+27
-27
lines changed

15 files changed

+27
-27
lines changed

app/design/adminhtml/default/default/template/empty.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
1515
?>
16-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
17-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
16+
<!DOCTYPE html>
17+
<html lang="<?php echo $this->getLang() ?>">
1818
<head>
1919
<?php $this->getChild('head')->unsetChildren(); ?>
2020
<?php echo $this->getChildHtml('head'); ?>

app/design/adminhtml/default/default/template/forgotpassword.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
1515
?>
16-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
17-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
16+
<!DOCTYPE html>
17+
<html lang="en">
1818
<head>
1919
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2020
<meta name="robots" content="noindex, nofollow" />

app/design/adminhtml/default/default/template/login.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
1515
?>
16-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
17-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
16+
<!DOCTYPE html>
17+
<html lang="en">
1818
<head>
1919
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2020
<meta name="robots" content="noindex, nofollow" />

app/design/adminhtml/default/default/template/newsletter/preview/iframeswitcher.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<?php
1717
/* @var $this Mage_Core_Block_Template */
1818
?>
19-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
20-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
19+
<!DOCTYPE html>
20+
<html lang="<?php echo $this->getLang() ?>">
2121
<head>
2222
<?php echo $this->getChildHtml('head') ?>
2323
<style type="text/css">

app/design/adminhtml/default/default/template/newsletter/queue/preview.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
1515
?>
16-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
16+
<!DOCTYPE html>
1717
<html lang="en">
1818
<head>
1919
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

app/design/adminhtml/default/default/template/newsletter/template/preview.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
1515
?>
16-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
16+
<!DOCTYPE html>
1717
<html lang="en">
1818
<head>
1919
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

app/design/adminhtml/default/default/template/page.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
},
2727
"vars":{}
2828
}*/ ?>
29-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
30-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
29+
<!DOCTYPE html>
30+
<html lang="<?php echo $this->getLang() ?>">
3131
<head>
3232
<?php echo $this->getChildHtml('head') ?>
3333
</head>

app/design/adminhtml/default/default/template/popup.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
},
2727
"vars":{}
2828
}*/ ?>
29-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
30-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
29+
<!DOCTYPE html>
30+
<html lang="<?php echo $this->getLang() ?>">
3131
<head>
3232
<?php echo $this->getChildHtml('head') ?>
3333
</head>

app/design/adminhtml/default/default/template/resetforgottenpassword.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
1515
?>
16-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
17-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
16+
<!DOCTYPE html>
17+
<html lang="en">
1818
<head>
1919
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2020
<meta name="robots" content="noindex, nofollow" />

app/design/adminhtml/default/default/template/widget/form/element.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
apply_source_formatting : 'true',
8989
convert_urls : 'false',
9090
force_br_newlines : 'true',
91-
doctype : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
91+
doctype : '<!DOCTYPE html>'
9292

9393
});
9494
//]]>

0 commit comments

Comments
 (0)