in javascript and php no variable should be begin with a numeric

hats no error of a mod, but a godgiven rule, so we must do a little trick.
first u have to make all edits needed by this mod.
without a java language entry in posting_buttons.html it will also not work.
in styles/prosilver/posting_buttons.html
find
Code: Select all
// img
var img_wiz_1 = "{LA_IMG_WIZ_1}";
Code: Select all
// 123
var n123_wiz_1 = "{LA_N123_WIZ_1}";
var n123_wiz_2 = "{LA_N123_WIZ_2}";
'
N123_WIZ_1' => 'bla bla bla',
take other base entrys as an example there..
then open styles/prosilver/editor.js
and find
Code: Select all
// img
else if (bbopen == '[img]')
{
jPrompt(img_wiz_2, '', img_wiz_1, function(img){
if(img){
setCaretPosition(caret_pos);
insert_text('[img]' + img + '[/img]');}
});
}
Code: Select all
// 123
else if (bbopen == '[123]')
{
jPrompt(n123_wiz_2, '', n123_wiz_1, function(n123){
if(n123){
setCaretPosition(caret_pos);
insert_text('[123]' + n123 + '[/123]');}
});
}
thats it