diff options
| author | spiderr <spiderr@bitweaver.org> | 2023-11-25 12:08:28 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2023-11-25 12:08:28 -0500 |
| commit | 3ebcb3b40515fa8cf9e011f47a7d1a725f6a8e8b (patch) | |
| tree | 3b89e4d541b8472d306c7c88c354000595dc5b44 /templates | |
| parent | 1c61e3efde69e6095eb23bf09989f2530230a312 (diff) | |
| download | themes-3ebcb3b40515fa8cf9e011f47a7d1a725f6a8e8b.tar.gz themes-3ebcb3b40515fa8cf9e011f47a7d1a725f6a8e8b.tar.bz2 themes-3ebcb3b40515fa8cf9e011f47a7d1a725f6a8e8b.zip | |
w3c cleanup: The type attribute is unnecessary for JavaScript resources.; Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/html_head_inc.tpl | 6 | ||||
| -rw-r--r-- | templates/popup_header_inc.tpl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl index 9d07953..0d5ce57 100644 --- a/templates/html_head_inc.tpl +++ b/templates/html_head_inc.tpl @@ -1,12 +1,12 @@ {strip} {foreach from=$gBitThemes->mRawFiles.css item=cssFile} - <link rel="stylesheet" title="{$style}" type="text/css" href="{$cssFile}" media="all" /> + <link rel="stylesheet" title="{$style}" type="text/css" href="{$cssFile}" media="all"> {/foreach} {foreach from=$gBitThemes->mRawFiles.js item=jsFile} - <script src="{$jsFile}" type="text/javascript"></script> + <script src="{$jsFile}"></script> {/foreach} {if $gBitThemes->mStyles.joined_css} - <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitThemes->mStyles.joined_css}" media="all" /> + <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitThemes->mStyles.joined_css}" media="all"> {/if} {/strip} diff --git a/templates/popup_header_inc.tpl b/templates/popup_header_inc.tpl index 701a755..8c3f311 100644 --- a/templates/popup_header_inc.tpl +++ b/templates/popup_header_inc.tpl @@ -3,7 +3,7 @@ <head> <title>{$browserTitle} - {$gBitSystem->getConfig('site_title')}</title> - <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitThemes->getStyleCssFile($smarty.request.site_style,1)}" media="all" /> + <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitThemes->getStyleCssFile($smarty.request.site_style,1)}" media="all"> {include file="bitpackage:kernel/header_inc.tpl"} {include file="bitpackage:themes/header_inc.tpl"} </head> |
