Revision 27
Added by Manuela about 7 years ago
branches/main/admin/interface/version.php | ||
---|---|---|
44 | 44 |
if (!defined('VERSION_LOADED')) { |
45 | 45 |
$sInfo = ' |
46 | 46 |
VERSION = "2.10.1-dev" |
47 |
REVISION = "26"
|
|
47 |
REVISION = "27"
|
|
48 | 48 |
SP = "" |
49 | 49 |
'; |
50 | 50 |
foreach (parse_ini_string($sInfo) as $item=>$value) { |
branches/main/modules/output_filter/filters/filterScriptVars.php | ||
---|---|---|
13 | 13 |
$scriptLink .= "\t".'<script src="'.WB_URL.'/include/jquery/domReady.js" type="text/javascript"></script>'."\n"; |
14 | 14 |
} |
15 | 15 |
if (!preg_match('/<head.*<.*var WB_URL.*<\/head/siU', $content) ) { |
16 |
$scriptLink .= "\t"."<script type=\"text/javascript\">\n" |
|
17 |
."\t\t"."<!--\n" |
|
16 |
$scriptLink .= "\n\t"."<script type=\"text/javascript\">\n" |
|
18 | 17 |
."\t\t"."var URL = '".WB_URL."';\n" |
19 | 18 |
."\t\t"."var WB_URL = '".WB_URL."';\n" |
20 | 19 |
."\t\t"."var THEME_URL = '".THEME_URL."';\n" |
21 | 20 |
."\t\t"."var TEMPLATE_DIR = '".TEMPLATE_DIR."';\n" |
22 | 21 |
."\t\t"."var TEMPLATE = '".TEMPLATE."';\n" |
23 | 22 |
."\t\t"."var EDITOR = '".WYSIWYG_EDITOR."';\n" |
24 |
."\t\t"."-->\n" |
|
25 | 23 |
."\t"."</script>\n"; |
26 | 24 |
} |
27 | 25 |
if ($scriptLink!='') { |
Also available in: Unified diff
output_filter::ScriptVars: output of JS cleaned