User:Rswfan/smileys.js

/** * * smileys.js * * Add custom toolbar buttons to insert smileys. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */

if ((wgAction == 'edit' || wgAction == 'submit') && mwCustomEditButtons) { mwCustomEditButtons.push({		'imageFile': 'http://img27.imageshack.us/img27/7084/buttonsmile.png',		'speedTip': 'Smile',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://img6.imageshack.us/img6/4154/buttonomg.png',		'speedTip': 'Omg',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://img30.imageshack.us/img30/3633/buttonwink.png',		'speedTip': 'Wink',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://img27.imageshack.us/img27/5514/buttonlol.png',		'speedTip': 'Lol',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://img20.imageshack.us/img20/2463/buttonangry.png',		'speedTip': 'Angry',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://img9.imageshack.us/img9/1676/buttonblush.png',		'speedTip': 'Blush',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://img9.imageshack.us/img9/8456/buttonevil.png',		'speedTip': 'Evil',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://img13.imageshack.us/img13/6800/buttonkiss.png',		'speedTip': 'Kiss',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://img13.imageshack.us/img13/3977/buttonheart.png',		'speedTip': 'Heart',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	}); mwCustomEditButtons.push({		'imageFile': 'http://i627.photobucket.com/albums/tt355/Liamreffell4/forum_games_2.gif',		'speedTip': 'Heart',		'tagOpen': ,		'tagClose': ,		'sampleText': '' ));

}