And signature. Also hid labels for image and table buttons, so the toolbar doesn't wrap at 1024x768 in Enanium.
--- a/GUIEditor.php Thu Oct 28 02:59:36 2010 -0400
+++ b/GUIEditor.php Thu Oct 28 03:03:23 2010 -0400
@@ -81,6 +81,7 @@
btn_table: 'Table',
btn_ulist: 'Bulleted list',
btn_olist: 'Numbered list',
+ btn_signature: 'Signature',
sample_heading: 'Heading',
sample_bold: 'Bold text',
--- a/guieditor/editor.js Thu Oct 28 02:59:36 2010 -0400
+++ b/guieditor/editor.js Thu Oct 28 03:03:23 2010 -0400
@@ -15,7 +15,7 @@
toolbar += head.run();
- var buttons = ['heading', '|', 'bold*', 'italic*', 'underline*', '|', 'intlink', 'extlink', 'image', 'table', '|', 'ulist*', 'olist*'];
+ var buttons = ['heading', '|', 'bold*', 'italic*', 'underline*', '|', 'intlink', 'extlink', 'image*', 'table*', '|', 'ulist*', 'olist*', '|', 'signature'];
// Button: Bold
var i;
@@ -300,7 +300,9 @@
case 'olist':
guied_replace_selection(textarea, $lang.get('guied_sample_olist'));
break;
-
+ case 'signature':
+ guied_replace_selection(textarea, '~~~~');
+ break;
}
}