wiki_student.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. // Dokeos - elearning and course management software
  3. // See license terms in dokeos/documentation/license.txt
  4. // Training tools
  5. // Wiki (student)
  6. // For more information: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
  7. // This is the visible toolbar set when the editor has "normal" size.
  8. $config['ToolbarSets']['Normal'] = array(
  9. array('FitWindow','Save','Preview'),
  10. array('Bold','Italic','Underline'),
  11. array('OrderedList','UnorderedList','-','Outdent','Indent'),
  12. array('JustifyLeft','JustifyCenter','JustifyRight'),
  13. array('Undo','Redo','-','Find','-','SelectAll','RemoveFormat'),
  14. array('Link','Unlink','Wikilink','Glossary'),
  15. array('Image','Flash'),
  16. '/',
  17. array('Style','FontFormat','FontName','FontSize'),
  18. array('TextColor','BGColor'),
  19. array('Rule','Table','SpecialChar','mimetex','asciimath')
  20. );
  21. // This is the visible toolbar set when the editor is maximized.
  22. // If it has not been defined, then the toolbar set for the "normal" size is used.
  23. $config['ToolbarSets']['Maximized'] = array(
  24. array('FitWindow','DocProps','-','Save','NewPage','Preview','-','Templates'),
  25. array('Cut','Copy','Paste','PasteText','PasteWord'),
  26. array('Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'),
  27. array('Link','Unlink','Anchor','Wikilink','Glossary'),
  28. '/',
  29. array('Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'),
  30. array('OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'),
  31. array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),
  32. array('Rule','SpecialChar','PageBreak'),
  33. array('mimetex','asciimath','Image','imgmapPopup','Flash','MP3','EmbedMovies','flvPlayer','googlemaps','Smiley'),
  34. '/',
  35. array('Style','FontFormat','FontName','FontSize'),
  36. array('TextColor','BGColor'),
  37. array('Table','TableInsertRowAfter','TableDeleteRows','TableInsertColumnAfter','TableDeleteColumns','TableInsertCellAfter','TableDeleteCells','TableMergeCells','TableHorizontalSplitCell','TableVerticalSplitCell','TableCellProp'),
  38. array('ShowBlocks')
  39. );
  40. // Sets whether the toolbar can be collapsed/expanded or not.
  41. // Possible values: true , false
  42. //$config['ToolbarCanCollapse'] = true;
  43. // Sets how the editor's toolbar should start - expanded or collapsed.
  44. // Possible values: true , false
  45. //$config['ToolbarStartExpanded'] = true;
  46. //This option sets the location of the toolbar.
  47. // Possible values: 'In' , 'None' , 'Out:[TargetId]' , 'Out:[TargetWindow]([TargetId])'
  48. //$config['ToolbarLocation'] = 'In';
  49. // A setting for blocking copy/paste functions of the editor.
  50. // This setting activates on leaners only. For users with other statuses there is no blocking copy/paste.
  51. // Possible values: true , false
  52. $config['BlockCopyPaste'] = true;
  53. // Here new width and height of the editor may be set.
  54. // Possible values, examples: 300 , '250' , '100%' , ...
  55. //$config['Width'] = '100%';
  56. //$config['Height'] = '400';