mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fixes #4737 Removal of type="text/javascript" and type="text/css"
This commit is contained in:
@@ -429,7 +429,7 @@ class bbcode_shortcodes extends e_shortcode
|
||||
<div id='{$formid}' style='width: 221px; position: absolute; left:340px; top:60px; margin-right:auto; margin-left:auto; display:none; z-index: 1000; onclick=\"expandit('{$formid}')\" >
|
||||
<div style='border:1px solid black; position: absolute; top:30px; width: 221px; '>";
|
||||
|
||||
$text .= "<script type='text/javascript'>
|
||||
$text .= "<script>
|
||||
//<![CDATA[
|
||||
var maxtd = 18;
|
||||
var maxtddiv = -1;
|
||||
|
@@ -36,11 +36,11 @@ class sitelinks_alt
|
||||
|
||||
if (file_exists(THEME.$js_file))
|
||||
{
|
||||
$text = "<script type='text/javascript' src='".THEME_ABS.$js_file."'></script>";
|
||||
$text = "<script src='".THEME_ABS.$js_file."'></script>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$text = "<script type='text/javascript' src='".e_JS.$js_file."'></script>";
|
||||
$text = "<script src='".e_JS.$js_file."'></script>";
|
||||
}
|
||||
$text .= "<div class='menuBar' style='width:100%; white-space: nowrap'>";
|
||||
|
||||
|
Reference in New Issue
Block a user