# HG changeset patch # User Dan Fuhry # Date 1288249403 14400 # Node ID 1e6929f9978bc79ab2f3aab46196824e1f4cc6af # Parent 307591683f3bf91cc2e15e7163989830c6653e73 And signature. Also hid labels for image and table buttons, so the toolbar doesn't wrap at 1024x768 in Enanium. diff -r 307591683f3b -r 1e6929f9978b GUIEditor.php --- 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', diff -r 307591683f3b -r 1e6929f9978b guieditor/editor.js --- 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; } }