User:Swizzl3d/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': '',		'imageId': 'smiley-smile'	});

mwCustomEditButtons.push({		'imageFile': 'http://img26.imageshack.us/img26/8751/buttonbigsmile.png',		'speedTip': 'Big Smile',		'tagOpen': ,		'tagClose': ,		'sampleText': '',		'imageId': 'smiley-bigsmile'	});

mwCustomEditButtons.push({		'imageFile': 'http://img208.imageshack.us/img208/4918/buttonfrown.png',		'speedTip': 'Frown',		'tagOpen': ,		'tagClose': ,		'sampleText': '',		'imageId': 'smiley-frown'	});

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

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

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

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

mwCustomEditButtons.push({		'imageFile': 'http://img26.imageshack.us/img26/5410/buttoncool.png',		'speedTip': 'Cool',		'tagOpen': ,		'tagClose': ,		'sampleText': '',		'imageId': 'smiley-cool'	});

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

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

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

mwCustomEditButtons.push({		'imageFile': 'http://img13.imageshack.us/img13/3977/buttonheart.png',		'speedTip': 'Heart',		'tagOpen': ,		'tagClose': ,		'sampleText': '',		'imageId': 'smiley-heart'	}); mwCustomEditButtons.push({		'imageFile': 'http://i611.photobucket.com/albums/tt192/ssswizmig/0021ac2.gif',		'speedTip': 'RickRoll',		'tagOpen': ,		'tagClose': ,		'sampleText': '',		'imageId': 'smiley-omg'	}); }