[otrs-cvs] otrs/Kernel/Output/HTML/Standard RichTextEditor.dtl, 1.48, 1.49

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML/Standard
In directory lancelot:/tmp/cvs-serv29364/Kernel/Output/HTML/Standard

Modified Files:
	RichTextEditor.dtl 
Log Message:
Added tables and other stuff to richtext config without image upload, too, due to request.

Author: mab

Index: RichTextEditor.dtl
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl,v
retrieving revision 1.48
retrieving revision 1.49
diff -2 -u -d -r1.48 -r1.49
--- RichTextEditor.dtl	10 Dec 2012 13:24:15 -0000	1.48
+++ RichTextEditor.dtl	12 Dec 2012 14:35:59 -0000	1.49
@@ -40,4 +40,10 @@
             ['Format', 'Font', 'FontSize' ]
         ]);
+        Core.Config.Set('RichText.ToolbarWithoutImage', [
+            ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'NumberedList', 'BulletedList', 'Table', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'Link', 'Unlink', 'Undo', 'Redo', 'SelectAll' ],
+            '/',
+            ['HorizontalRule', 'PasteText', 'PasteFromWord', '-', '-', 'Find', 'Replace', 'SpellCheck', 'TextColor', 'BGColor', 'RemoveFormat', '-', 'ShowBlocks', 'Source'],
+            ['Format', 'Font', 'FontSize' ]
+        ]);
     }
     else {
@@ -47,10 +53,10 @@
             ['Format', 'Font', 'FontSize', '-', 'TextColor', 'BGColor', 'RemoveFormat', '-', 'Source']
         ]);
+        Core.Config.Set('RichText.ToolbarWithoutImage', [
+            ['Bold', 'Italic', 'Underline', 'Strike', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'Link', 'Unlink', '-', 'HorizontalRule', '-', 'Undo', 'Redo', '-', 'Find', 'SpellCheck'],
+            '/',
+            ['Format', 'Font', 'FontSize', '-', 'TextColor', 'BGColor', 'RemoveFormat', '-', 'Source']
+        ]);
     }
-    Core.Config.Set('RichText.ToolbarWithoutImage', [
-        ['Bold', 'Italic', 'Underline', 'Strike', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'Link', 'Unlink', '-', 'HorizontalRule', '-', 'Undo', 'Redo', '-', 'Find', 'SpellCheck'],
-        '/',
-        ['Format', 'Font', 'FontSize', '-', 'TextColor', 'BGColor', 'RemoveFormat', '-', 'Source']
-    ]);
     Core.Config.Set('RichText.PictureUploadAction', "$QData{"RichTextPictureUploadAction"}");
 
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.