The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#6
|
|||
|
|||
![]()
OK, so I guess now you have something like:
Code:
$template_hook['headinclude_javascript'] .= '<script type="text/javascript" src="something.js" ></script>'; So add something to the beginning, like this: Code:
$template_hook['headinclude_javascript'] .= '<script type="text/javascript"> var thanks_phrase = \'' . addslashes_js($vbphrase['thanks']) . '\'; </script> <script type="text/javascript" src="something.js" ></script>'; then in your js file use thanks_phrase, like: Code:
el.innerHTML=x.responseText; document.getElementById(id2).innerHTML = thanks_phrase; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|