mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:38:52 +00:00
[ticket/15099] Remove type attr from INCLUDECSS and INCLUDEJS
PHPBB3-15099
This commit is contained in:
parent
1cd8bbac0c
commit
84ff21a586
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ class assets_bag
|
||||||
$output = '';
|
$output = '';
|
||||||
foreach ($this->stylesheets as $stylesheet)
|
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;
|
return $output;
|
||||||
|
@ -87,7 +87,7 @@ class assets_bag
|
||||||
$output = '';
|
$output = '';
|
||||||
foreach ($this->scripts as $script)
|
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;
|
return $output;
|
||||||
|
|
Loading…
Add table
Reference in a new issue