The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I want to replace the "PHP" button with a "Spoiler" one. I already created a spolier tag, and it works fine, it's just a matter of getting the PHP button to do that instead of PHP. This is what I've done so far:
In the vbcode_buttons template, I replaced: Code:
><input type="button" class="bginput" value="PHP" title="PHP CODE" onclick="vbcode(this.form,'PHP','')" onmouseover="stat('php')"
Code:
><input type="button" class="bginput" value="SPOILER" title="SPOILER CODE" onclick="vbcode(this.form,'SPOILER','')" onmouseover="stat('spoiler')"
Code:
php_text = "Insert text with PHP syntax highlighting"; Code:
spoiler_text = "Insert spoilers into your message"; Show Your Support
|
|||||||||||||||||||||||||
![]() |
|
|