Browse Source

[svn r22220] FS#2867 - The online editor, toolbars_maxi: Adding comment_learning_path, course_description and faq toolbars.

Ivan Tcholakov 15 years ago
parent
commit
f5efad3624

+ 1 - 1
main/inc/lib/fckeditor/toolbars/comment_learning_path.php

@@ -6,7 +6,7 @@
 
 // This is the visible toolbar set when the editor has "normal" size.
 $config['ToolbarSets']['Normal'] = array(
-	array('Link','Unlink','Bold','Italic','TextColor','BGColor','mimetex','Source')
+	array('Link','Unlink','Bold','Italic','TextColor','BGColor','Source')
 );
 
 // This is the visible toolbar set when the editor is maximized.

+ 44 - 0
main/inc/lib/fckeditor/toolbars_maxi/comment_learning_path.php

@@ -0,0 +1,44 @@
+<?php
+// Course tools
+// Learning path - comment
+
+// For more information: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
+
+// This is the visible toolbar set when the editor has "normal" size.
+$config['ToolbarSets']['Normal'] = array(
+	//array('FitWindow'),
+	array('Bold','Italic','Underline'),
+	array('Undo','Redo'),
+	array('TextColor','BGColor'),
+	array('Link','Unlink')
+);
+
+// This is the visible toolbar set when the editor is maximized.
+// If it has not been defined, then the toolbar set for the "normal" size is used.
+/*
+$config['ToolbarSets']['Maximized'] = array(
+	array('FitWindow','-') // ...
+);
+*/
+
+// Sets whether the toolbar can be collapsed/expanded or not.
+// Possible values: true , false
+//$config['ToolbarCanCollapse'] = true;
+
+// Sets how the editor's toolbar should start - expanded or collapsed.
+// Possible values: true , false
+$config['ToolbarStartExpanded'] = false;
+
+//This option sets the location of the toolbar.
+// Possible values: 'In' , 'None' , 'Out:[TargetId]' , 'Out:[TargetWindow]([TargetId])'
+//$config['ToolbarLocation'] = 'In';
+
+// A setting for blocking copy/paste functions of the editor.
+// This setting activates on leaners only. For users with other statuses there is no blocking copy/paste.
+// Possible values: true , false
+//$config['BlockCopyPaste'] = false;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '150';

+ 63 - 0
main/inc/lib/fckeditor/toolbars_maxi/course_description.php

@@ -0,0 +1,63 @@
+<?php
+// Course tools
+// Course Description
+
+// For more information: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
+
+// This is the visible toolbar set when the editor has "normal" size.
+$config['ToolbarSets']['Normal'] = array(
+	array('FitWindow','Save','Preview'),
+	array('Bold','Italic','Underline'),
+	array('OrderedList','UnorderedList','-','Outdent','Indent'),
+	array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),
+	array('Undo','Redo','-','Find','-','SelectAll','RemoveFormat'),
+	array('Link','Unlink','Anchor'),
+	array('Image','Flash'),
+	'/',
+	array('Style','FontFormat','FontName','FontSize'),
+	array('TextColor','BGColor'),
+	array('Rule','Table','SpecialChar','mimetex'),
+	array('Source')
+);
+
+// This is the visible toolbar set when the editor is maximized.
+// If it has not been defined, then the toolbar set for the "normal" size is used.
+$config['ToolbarSets']['Maximized'] = array(
+	array('FitWindow','Save','NewPage','Preview'),
+	array('Cut','Copy','Paste','PasteText','PasteWord','-','Print'),
+	array('Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'),
+	array('Link','Unlink','Anchor'),
+	array('mimetex','Image','imgmapPopup','Flash','MP3','EmbedMovies','flvPlayer','YouTube','googlemaps','Smiley'),
+	'/',
+	array('Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'),
+	array('OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'),
+	array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),
+	array('Rule','SpecialChar','PageBreak'),
+	array('Table','TableInsertRowAfter','TableDeleteRows','TableInsertColumnAfter','TableDeleteColumns','TableInsertCellAfter','TableDeleteCells','TableMergeCells','TableHorizontalSplitCell','TableVerticalSplitCell','TableCellProp'),
+	'/',
+	array('Style','FontFormat','FontName','FontSize'),
+	array('TextColor','BGColor'),
+	array('ShowBlocks','Source')
+);
+
+// Sets whether the toolbar can be collapsed/expanded or not.
+// Possible values: true , false
+//$config['ToolbarCanCollapse'] = true;
+
+// Sets how the editor's toolbar should start - expanded or collapsed.
+// Possible values: true , false
+//$config['ToolbarStartExpanded'] = true;
+
+//This option sets the location of the toolbar.
+// Possible values: 'In' , 'None' , 'Out:[TargetId]' , 'Out:[TargetWindow]([TargetId])'
+//$config['ToolbarLocation'] = 'In';
+
+// A setting for blocking copy/paste functions of the editor.
+// This setting activates on leaners only. For users with other statuses there is no blocking copy/paste.
+// Possible values: true , false
+//$config['BlockCopyPaste'] = false;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '200';

+ 44 - 0
main/inc/lib/fckeditor/toolbars_maxi/faq.php

@@ -0,0 +1,44 @@
+<?php
+// FAQ
+
+// For more information: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
+
+// This is the visible toolbar set when the editor has "normal" size.
+$config['ToolbarSets']['Normal'] = array(
+	array('Save'),
+	array('Bold','Italic','Underline'),
+	array('Undo','Redo'),
+	array('TextColor','BGColor'),
+	array('Link','Unlink'),
+	array('Source')
+);
+
+// This is the visible toolbar set when the editor is maximized.
+// If it has not been defined, then the toolbar set for the "normal" size is used.
+/*
+$config['ToolbarSets']['Maximized'] = array(
+	array('FitWindow','-') // ...
+);
+*/
+
+// Sets whether the toolbar can be collapsed/expanded or not.
+// Possible values: true , false
+//$config['ToolbarCanCollapse'] = true;
+
+// Sets how the editor's toolbar should start - expanded or collapsed.
+// Possible values: true , false
+//$config['ToolbarStartExpanded'] = true;
+
+//This option sets the location of the toolbar.
+// Possible values: 'In' , 'None' , 'Out:[TargetId]' , 'Out:[TargetWindow]([TargetId])'
+//$config['ToolbarLocation'] = 'In';
+
+// A setting for blocking copy/paste functions of the editor.
+// This setting activates on leaners only. For users with other statuses there is no blocking copy/paste.
+// Possible values: true , false
+//$config['BlockCopyPaste'] = false;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '300';