1. Megnyitni a ./public/js/ips.editor.js fájlt
2. Megkeresni a (370-375 soroknál kb.)
// Set controls up
this.editor_set_controls();3. Utánna másolni a
// Open the emoticon sidebar
this.show_emoticon_sidebar();4. Megkeresni a
/* ------------------------------ */
/**
* Builds custom styles menu & toolbars
*/5. Elé másolni a
show_emoticon_sidebar: function()
{
// Get the emoticons
if( Object.isUndefined( inACP ) || inACP == false ){
var url = ipb.vars['base_url'];
} else {
// We don't want this in ACP
return;
}
url += "app=forums&module=ajax§ion=emoticons&editor_id=" + this.id;
new Ajax.Request( url.replace(/&/g, '&'),
{
method: 'get',
onSuccess: function(t)
{
// Add the sidebar
$('editor_' + this.id).addClassName('with_sidebar');
var div = $('editor_' + this.id).down('.sidebar');
div.update( this.values.get('templates')['emoticon_wrapper'].evaluate( { id: this.id } ) );
$( this.id + '_emoticon_holder').update( t.responseText );
div.show();
this.palettes[ 'emoticons' ].doClose();
}.bind(this)
});
},Ezután elmenteni a változásokat, majd felülírni a szerveren lévő fájlt.
Üdv,
Neo_snd

Súgó












