The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with disabling code in template
In my footer template I have the following code thats for syntax highlighting. It works great but it messes up my vaispy.php page. I am trying to figure out how to write a bit of code that would disable the code on the vaispy page but enable it for all other pages.
PHP Code:
Brandon |
#2
|
||||
|
||||
HTML Code:
<if condition="THIS_SCRIPT != 'REPLACEME'"> <script type="text/javascript" src="js/shCore.js"></script> <script type="text/javascript" src="js/shBrushPhp.js"></script> <script type="text/javascript" src="js/shBrushCSharp.js"></script> <script type="text/javascript" src="js/shBrushCss.js"></script> <script type="text/javascript" src="js/shBrushJScript.js"></script> <script type="text/javascript" src="js/shBrushSql.js"></script> <script type="text/javascript" src="js/shBrushVb.js"></script> <script type="text/javascript" src="js/shBrushXml.js"></script> <script type="text/javascript"> window.onload = function () { dp.SyntaxHighlighter.ClipboardSwf = 'js/clipboard.swf'; dp.SyntaxHighlighter.HighlightAll('code', true, true, false, 1, false); } </script> </if> PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|