![]() |
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"; |
All times are GMT. The time now is 08:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|