mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/15099] Remove type attr from INCLUDECSS and INCLUDEJS
PHPBB3-15099
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user