Эх сурвалжийг харах

[svn r21929] FS#2867 - The FCKEditor: Finishing editor's configuration from php-side.

Ivan Tcholakov 15 жил өмнө
parent
commit
8a853d7bca
41 өөрчлөгдсөн 1376 нэмэгдсэн , 51 устгасан
  1. 9 6
      main/inc/lib/fckeditor/fckeditor.php
  2. 35 1
      main/inc/lib/fckeditor/toolbars/admin_templates.php
  3. 35 1
      main/inc/lib/fckeditor/toolbars/agenda.php
  4. 35 1
      main/inc/lib/fckeditor/toolbars/agenda_student.php
  5. 35 1
      main/inc/lib/fckeditor/toolbars/announcements.php
  6. 35 1
      main/inc/lib/fckeditor/toolbars/announcements_student.php
  7. 35 1
      main/inc/lib/fckeditor/toolbars/answer.php
  8. 35 1
      main/inc/lib/fckeditor/toolbars/blog.php
  9. 35 1
      main/inc/lib/fckeditor/toolbars/blog_comment.php
  10. 34 1
      main/inc/lib/fckeditor/toolbars/blog_comment_student.php
  11. 34 1
      main/inc/lib/fckeditor/toolbars/blog_student.php
  12. 35 1
      main/inc/lib/fckeditor/toolbars/comment_answers.php
  13. 35 1
      main/inc/lib/fckeditor/toolbars/comment_learning_path.php
  14. 35 1
      main/inc/lib/fckeditor/toolbars/course_description.php
  15. 35 1
      main/inc/lib/fckeditor/toolbars/documents.php
  16. 34 1
      main/inc/lib/fckeditor/toolbars/documents_student.php
  17. 35 1
      main/inc/lib/fckeditor/toolbars/edit_home_page.php
  18. 35 1
      main/inc/lib/fckeditor/toolbars/faq.php
  19. 35 1
      main/inc/lib/fckeditor/toolbars/forum.php
  20. 35 1
      main/inc/lib/fckeditor/toolbars/forum_light.php
  21. 34 1
      main/inc/lib/fckeditor/toolbars/forum_student.php
  22. 34 1
      main/inc/lib/fckeditor/toolbars/free_answer.php
  23. 35 1
      main/inc/lib/fckeditor/toolbars/full.php
  24. 35 1
      main/inc/lib/fckeditor/toolbars/global_agenda.php
  25. 35 1
      main/inc/lib/fckeditor/toolbars/glossary.php
  26. 35 1
      main/inc/lib/fckeditor/toolbars/gradebook.php
  27. 7 5
      main/inc/lib/fckeditor/toolbars/introduction.php
  28. 35 1
      main/inc/lib/fckeditor/toolbars/learn_path.php
  29. 35 1
      main/inc/lib/fckeditor/toolbars/links_home_page.php
  30. 35 1
      main/inc/lib/fckeditor/toolbars/messages.php
  31. 35 1
      main/inc/lib/fckeditor/toolbars/middle.php
  32. 35 1
      main/inc/lib/fckeditor/toolbars/notebook.php
  33. 35 1
      main/inc/lib/fckeditor/toolbars/notebook_student.php
  34. 35 1
      main/inc/lib/fckeditor/toolbars/profil.php
  35. 35 1
      main/inc/lib/fckeditor/toolbars/question_description.php
  36. 35 1
      main/inc/lib/fckeditor/toolbars/small.php
  37. 35 1
      main/inc/lib/fckeditor/toolbars/survey.php
  38. 35 1
      main/inc/lib/fckeditor/toolbars/system_announcements.php
  39. 35 1
      main/inc/lib/fckeditor/toolbars/test_description.php
  40. 35 1
      main/inc/lib/fckeditor/toolbars/wiki.php
  41. 35 2
      main/inc/lib/fckeditor/toolbars/wiki_student.php

+ 9 - 6
main/inc/lib/fckeditor/fckeditor.php

@@ -366,11 +366,14 @@ class FCKeditor
 				case 'ToolbarSets':
 					if (!empty($toolbar_set) && $toolbar_set != 'Default') {
 						if (is_array($value)) {
-							foreach ($value as $toolbar_name => $toolbar_data) {
-								if ($toolbar_set == $toolbar_name || $toolbar_set_maximized == $toolbar_name) {
-									if (!isset($this->Config[$key][$toolbar_name])) {
-										$this->Config[$key][$toolbar_name] = $toolbar_data;
-									}
+							if (isset($value['Normal'])) {
+								if (!isset($this->Config[$key][$toolbar_set])) {
+									$this->Config[$key][$toolbar_set] = $value['Normal'];
+								}
+							}
+							if (isset($value['Maximized'])) {
+								if (!isset($this->Config[$key][$toolbar_set_maximized])) {
+									$this->Config[$key][$toolbar_set_maximized] = $value['Maximized'];
 								}
 							}
 						}
@@ -408,7 +411,7 @@ class FCKeditor
 		if (!isset($config['ToolbarSets'][$this->ToolbarSet])) {
 			if (preg_match('/[a-zA-Z_]+/', $config['ToolbarSets']['Directory']) && preg_match('/[a-zA-Z_]+/', $this->ToolbarSet)) { // Checks for increased security.
 				@include api_get_path(LIBRARY_PATH).'fckeditor/'.$config['ToolbarSets']['Directory'].'/'.self::camel_case_to_underscore($this->ToolbarSet).'.php';
-				if (!isset($config['ToolbarSets'][$this->ToolbarSet])) {
+				if (!isset($config['ToolbarSets']['Normal'])) {
 					$this->ToolbarSet = 'Default';
 				}
 			}

+ 35 - 1
main/inc/lib/fckeditor/toolbars/admin_templates.php

@@ -1,7 +1,11 @@
 <?php
 // Admin tools
 // Admin Templates
-$config['ToolbarSets']['AdminTemplates'] = array(
+
+// 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('NewPage','Templates','Save','Print','PageBreak','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll','-','Find'),
 	array('Bold','Italic','Underline'),
 	array('Link','Unlink','Anchor'),
@@ -11,3 +15,33 @@ $config['ToolbarSets']['AdminTemplates'] = array(
 	array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
 	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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/agenda.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Agenda
-$config['ToolbarSets']['Agenda'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
     array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['Agenda'] = array(
     array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
 	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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/agenda_student.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Agenda (student)
-$config['ToolbarSets']['Agenda_Student'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
     array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['Agenda_Student'] = array(
     array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
 	array('ShowBlocks')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/announcements.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Announcements
-$config['ToolbarSets']['Announcements'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['Announcements'] = array(
     array('Bold','Italic','Underline'),
     array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/announcements_student.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Announcements (student)
-$config['ToolbarSets']['Announcements_Student'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -13,3 +17,33 @@ $config['ToolbarSets']['Announcements_Student'] = array(
     array('JustifyLeft','JustifyCenter','JustifyRight'),
 	array('ShowBlocks')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/answer.php

@@ -1,6 +1,40 @@
 <?php
 // Course tools
 // Test, answer to a question
-$config['ToolbarSets']['Answer'] = array(
+
+// 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','Bold','Image','Link','PasteWord','MP3','Table','Subscript','Superscript','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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/blog.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Blog
-$config['ToolbarSets']['Blog'] = array(
+
+// 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','-','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -11,3 +15,33 @@ $config['ToolbarSets']['Blog'] = array(
 	array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
 	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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/blog_comment.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Blog comment
-$config['ToolbarSets']['BlogComment'] = array(
+
+// 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','-','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -10,3 +14,33 @@ $config['ToolbarSets']['BlogComment'] = array(
 	array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
 	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';

+ 34 - 1
main/inc/lib/fckeditor/toolbars/blog_comment_student.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Blog comment (student)
-$config['ToolbarSets']['BlogComment_Student'] = array(
+
+// 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','-','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -10,4 +14,33 @@ $config['ToolbarSets']['BlogComment_Student'] = array(
 	array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
 	array('ShowBlocks')
 );
+
+// 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'] = true;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '300';

+ 34 - 1
main/inc/lib/fckeditor/toolbars/blog_student.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Blog (student)
-$config['ToolbarSets']['Blog_Student'] = array(
+
+// 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','-','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -11,4 +15,33 @@ $config['ToolbarSets']['Blog_Student'] = array(
 	array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
 	array('ShowBlocks')
 );
+
+// 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'] = true;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '300';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/comment_answers.php

@@ -1,6 +1,40 @@
 <?php
 // Course tools
 // Test, comment to an answer
-$config['ToolbarSets']['CommentAnswers'] = array(
+
+// 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('Link','Unlink','Bold','Italic','TextColor','BGColor')
 );
+
+// 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';

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

@@ -1,6 +1,40 @@
 <?php
 // Course tools
 // Learning path - comment
-$config['ToolbarSets']['CommentLearningPath'] = array(
+
+// 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('Link','Unlink','Bold','Italic','TextColor','BGColor','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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/course_description.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Course Description
-$config['ToolbarSets']['CourseDescription'] = array(
+
+// 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('NewPage','Save','FitWindow','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['CourseDescription'] = array(
 	array('Bold','Italic','Underline'),
 	array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/documents.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Documents
-$config['ToolbarSets']['Documents'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['Documents'] = array(
 	array('Bold','Italic','Underline'),
 	array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 34 - 1
main/inc/lib/fckeditor/toolbars/documents_student.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Documents (student)
-$config['ToolbarSets']['Documents_Student'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -13,4 +17,33 @@ $config['ToolbarSets']['Documents_Student'] = array(
 	array('JustifyLeft','JustifyCenter','JustifyRight'),
 	array('ShowBlocks')
 );
+
+// 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'] = true;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '300';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/edit_home_page.php

@@ -1,7 +1,11 @@
 <?php
 // Admin tools
 // Edit platform home page
-$config['ToolbarSets']['EditHomePage'] = array(
+
+// 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('NewPage','Templates','Save','Print','PageBreak','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll','-','Find'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -11,3 +15,33 @@ $config['ToolbarSets']['EditHomePage'] = array(
 	array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
 	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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/faq.php

@@ -1,5 +1,39 @@
 <?php
 // FAQ
-$config['ToolbarSets']['FAQ'] = array(
+
+// 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','Preview','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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/forum.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Forum
-$config['ToolbarSets']['Forum'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['Forum'] = array(
     array('Bold','Italic','Underline'),
     array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/forum_light.php

@@ -1,6 +1,40 @@
 <?php
 // Course tools
 // Forum (light)
-$config['ToolbarSets']['ForumLight'] = array(
+
+// 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('Bold','Italic','Underline','StrikeThrough')
 );
+
+// 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';

+ 34 - 1
main/inc/lib/fckeditor/toolbars/forum_student.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Forum (student)
-$config['ToolbarSets']['Forum_Student'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -13,4 +17,33 @@ $config['ToolbarSets']['Forum_Student'] = array(
     array('JustifyLeft','JustifyCenter','JustifyRight'),
 	array('ShowBlocks')
 );
+
+// 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'] = true;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '300';

+ 34 - 1
main/inc/lib/fckeditor/toolbars/free_answer.php

@@ -1,7 +1,40 @@
 <?php
 // Course tools
 // Test, free answer to a question
-$config['ToolbarSets']['FreeAnswer'] = array(
+
+// 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','Bold','Image','Link','PasteWord','MP3','Table','Subscript','Superscript','ShowBlocks')	
 );
+
+// 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'] = true;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '300';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/full.php

@@ -1,5 +1,39 @@
 <?php
-$config['ToolbarSets']['Full'] = array(
+
+// 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','PasteWord','Link','Unlink','Anchor','-','Image','flvPlayer','Flash','EmbedMovies','MP3','YouTube','Table','Rule','-','Subscript', 'Superscript','-','OrderedList','UnorderedList','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),'/',
 	array('FontFormat','Style','FontName','FontSize','Bold','Italic','Underline','StrikeThrough','TextColor', 'BGColor','-','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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/global_agenda.php

@@ -1,7 +1,11 @@
 <?php
 // Admin tools
 // Global Agenda
-$config['ToolbarSets']['GlobalAgenda'] = array(
+
+// 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','-','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -11,3 +15,33 @@ $config['ToolbarSets']['GlobalAgenda'] = array(
 	array('OrderedList','UnorderedList','-','TextColor','BGColor'),
 	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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/glossary.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Glossary
-$config['ToolbarSets']['Glossary'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['Glossary'] = array(
     array('Bold','Italic','Underline'),
     array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/gradebook.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Gradebook
-$config['ToolbarSets']['Gradebook'] = array(
+
+// 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','FitWindow','-','PasteWord','-','Undo','Redo'),
     array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -13,3 +17,33 @@ $config['ToolbarSets']['Gradebook'] = array(
     array('Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),
     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';

+ 7 - 5
main/inc/lib/fckeditor/toolbars/introduction.php

@@ -2,8 +2,10 @@
 // Course tools
 // Course introduction
 
-// The toolbar set that is visible when the editor has "normal" size.
-$config['ToolbarSets']['Introduction'] = array(
+// 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('NewPage','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -15,10 +17,10 @@ $config['ToolbarSets']['Introduction'] = array(
 	array('JustifyLeft','JustifyCenter','JustifyRight')
 );
 
-/*
-// The toolbar set that is visible when the editor is maximized.
+// 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']['IntroductionMaximized'] = array(
+/*
+$config['ToolbarSets']['Maximized'] = array(
 	array('FitWindow','-') // ...
 );
 */

+ 35 - 1
main/inc/lib/fckeditor/toolbars/learn_path.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Learning Path
-$config['ToolbarSets']['LearnPath'] = array(
+
+// 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('PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','Table','SpecialChar'),
@@ -10,3 +14,33 @@ $config['ToolbarSets']['LearnPath'] = array(
 	array('Style','FontFormat','FontName','FontSize'),
 	array('Bold','Italic','Underline','-','Source'),
 );//save, FitWindow don't run well here
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/links_home_page.php

@@ -1,7 +1,11 @@
 <?php
 // Admin tools
 // Insert or Edit a page link in the platform home page
-$config['ToolbarSets']['LinksHomePage'] = array(
+
+// 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('NewPage','Templates','Save','Print','PageBreak','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll','-','Find'),
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -11,3 +15,33 @@ $config['ToolbarSets']['LinksHomePage'] = array(
 	array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
 	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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/messages.php

@@ -1,7 +1,11 @@
 <?php
 // Users tools
 // Messages
-$config['ToolbarSets']['Messages'] = array(
+
+// 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','Undo','Redo'),
 	array('Link','Unlink'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -10,3 +14,33 @@ $config['ToolbarSets']['Messages'] = array(
 	array('OrderedList','UnorderedList','-','Blockquote','-','TextColor'),
 	array('ShowBlocks')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/middle.php

@@ -1,4 +1,38 @@
 <?php
-$config['ToolbarSets']['Middle'] = array(
+
+// 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('FontSize','Bold','Italic','Underline','StrikeThrough','TextColor','-','OrderedList','UnorderedList','-','Rule','Link','Unlink','Table','-','Image','Flash','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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/notebook.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Notebook
-$config['ToolbarSets']['Notebook'] = array(
+
+// 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','FitWindow','-','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['Notebook'] = array(
     array('Bold','Italic','Underline'),
     array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/notebook_student.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Notebook (student)
-$config['ToolbarSets']['Notebook_Student'] = array(
+
+// 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','FitWindow','-','PasteWord','-','Undo','Redo'),
 	array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -13,3 +17,33 @@ $config['ToolbarSets']['Notebook_Student'] = array(
     array('JustifyLeft','JustifyCenter','JustifyRight'),
 	array('ShowBlocks')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/profil.php

@@ -1,7 +1,11 @@
 <?php
 // Users tools
 // My Profile (optional fields)
-$config['ToolbarSets']['Profil'] = array(
+
+// 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','-','PasteWord','-','Undo','Redo'),							   
 	array('Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['Profil'] = array(
 	array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
 	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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/question_description.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Test, question description
-$config['ToolbarSets']['QuestionDescription'] = array(
+
+// 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','-','PasteWord','-','Undo','Redo'),
     array('Link','Unlink'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['QuestionDescription'] = array(
     array('Bold','Italic','Underline'),
     array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/small.php

@@ -1,4 +1,38 @@
 <?php
-$config['ToolbarSets']['Small'] = array(
+
+// 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('Bold','Italic','Underline','StrikeThrough','Link','Unlink','Image','Flash','OrderedList','UnorderedList','Table')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/survey.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Survey
-$config['ToolbarSets']['Survey'] = array(
+
+// 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('Link','Unlink'),
 	array('Image'),
@@ -11,3 +15,33 @@ $config['ToolbarSets']['Survey'] = array(
 	array('OrderedList','UnorderedList','-','TextColor'),
 	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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/system_announcements.php

@@ -1,7 +1,11 @@
 <?php
 // Admin tools
 // System announcements
-$config['ToolbarSets']['SystemAnnouncements'] = array(
+
+// 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','FitWindow','PasteWord','-','Undo','Redo'),
     array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['SystemAnnouncements'] = array(
     array('Bold','Italic','Underline'),
     array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/test_description.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Test description
-$config['ToolbarSets']['TestDescription'] = array(
+
+// 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','-','PasteWord','-','Undo','Redo'),
     array('Link','Unlink','Anchor'),
     array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -12,3 +16,33 @@ $config['ToolbarSets']['TestDescription'] = array(
     array('Bold','Italic','Underline'),
     array('JustifyLeft','JustifyCenter','JustifyRight')
 );
+
+// 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';

+ 35 - 1
main/inc/lib/fckeditor/toolbars/wiki.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Wiki
-$config['ToolbarSets']['Wiki'] = array(
+
+// 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('NewPage','Templates','Save','PageBreak','Preview','FitWindow','-','PasteText','-','Undo','Redo','-','SelectAll','-','Find'),
 	array('Wikilink','Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -11,3 +15,33 @@ $config['ToolbarSets']['Wiki'] = array(
 	array('Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
 	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';

+ 35 - 2
main/inc/lib/fckeditor/toolbars/wiki_student.php

@@ -1,7 +1,11 @@
 <?php
 // Course tools
 // Wiki (student)
-$config['ToolbarSets']['Wiki_Student'] = array(
+
+// 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('NewPage','Save','PageBreak','Preview','FitWindow','-','PasteText','-','Undo','Redo','-','SelectAll','-','Find'),
 	array('Wikilink','Link','Unlink','Anchor'),
 	array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
@@ -11,4 +15,33 @@ $config['ToolbarSets']['Wiki_Student'] = array(
 	array('Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
 	array('ShowBlocks')
 );
-$config['Wiki_Student']['FreeAnswer'] = true;
+
+// 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'] = true;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '300';