learning_path_documents.php 3.2 KB

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