diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-01-17 18:30:21 +0100 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2018-01-17 18:30:21 +0100 |
commit | 84ff21a586da459a061bf72e2a18dc6432d66d61 (patch) | |
tree | 69b22ca460e89a1f3bb8f37f39e1e3a760e26f49 /phpBB/phpbb/template | |
parent | 1cd8bbac0cf6e7d78ecc681f0aa75d9fb49a1eab (diff) | |
download | forums-84ff21a586da459a061bf72e2a18dc6432d66d61.tar forums-84ff21a586da459a061bf72e2a18dc6432d66d61.tar.gz forums-84ff21a586da459a061bf72e2a18dc6432d66d61.tar.bz2 forums-84ff21a586da459a061bf72e2a18dc6432d66d61.tar.xz forums-84ff21a586da459a061bf72e2a18dc6432d66d61.zip |
[ticket/15099] Remove type attr from INCLUDECSS and INCLUDEJS
PHPBB3-15099
Diffstat (limited to 'phpBB/phpbb/template')
-rw-r--r-- | phpBB/phpbb/template/assets_bag.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/template/assets_bag.php b/phpBB/phpbb/template/assets_bag.php index 9013061b96..067b0eb8f1 100644 --- a/phpBB/phpbb/template/assets_bag.php +++ b/phpBB/phpbb/template/assets_bag.php @@ -71,7 +71,7 @@ class assets_bag $output = ''; foreach ($this->stylesheets as $stylesheet) { - $output .= "<link href=\"{$stylesheet->get_url()}\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />\n"; + $output .= "<link href=\"{$stylesheet->get_url()}\" rel=\"stylesheet\" media=\"screen\" />\n"; } return $output; @@ -87,7 +87,7 @@ class assets_bag $output = ''; foreach ($this->scripts as $script) { - $output .= "<script type=\"text/javascript\" src=\"{$script->get_url()}\"></script>\n"; + $output .= "<script src=\"{$script->get_url()}\"></script>\n"; } return $output; |