2007-02-11, 08:37 PM
Create a new Custom MyCode inside Admin CP.
Regular Expression:
EXTRA
Add Button:
Upload to images/codebuttons , this image:
Then, open jcripts/editor.js, Find:
Regular Expression:
\[dipnot\](.*?)\[/dipnot\]
Replacement:<fieldset style="margin: 2px auto; padding: 2px; width: 90%;"><legend><font color="#CC3300">DipNOT</font></legend>$1</fieldset></div>
Code:[dipnot]TextHere[/dipnot]
EXTRA
Add Button:
Upload to images/codebuttons , this image:
Then, open jcripts/editor.js, Find:
this.insertStandardButton(elements, "php", "images/codebuttons/php.gif", "php", "", this.options.lang.title_php);
Add to On:this.insertStandardButton(elements, "dipnot", "images/codebuttons/dipnot.gif", "dipnot", "", this.options.lang.title_dipnot);
Okey all...