documents.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. // Chamilo LMS
  3. // See license terms in chamilo/documentation/license.txt
  4. // Training tools
  5. // Documents
  6. // For more information: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
  7. // Hide/show SpellCheck buttom
  8. if ((api_get_setting('allow_spellcheck') == 'true')) {
  9. $VSpellCheck='SpellCheck';
  10. }
  11. else{
  12. $VSpellCheck='';
  13. }
  14. // This is the visible toolbar set when the editor has "normal" size.
  15. $config['ToolbarSets']['Normal'] = array(
  16. array('Save','FitWindow','PasteWord','-','Undo','Redo'),
  17. array('Link','Unlink','Anchor','Glossary'),
  18. array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath','asciisvg','fckeditor_wiris_openFormulaEditor','fckeditor_wiris_openCAS'),
  19. array('Table','SpecialChar'),
  20. array('Outdent','Indent','-','TextColor','BGColor','-','OrderedList','UnorderedList','-',$VSpellCheck,'Source'),
  21. '/',
  22. array('Style','FontFormat','FontName','FontSize'),
  23. array('Bold','Italic','Underline'),
  24. array('JustifyLeft','JustifyCenter','JustifyRight')
  25. );
  26. // This is the visible toolbar set when the editor is maximized.
  27. // If it has not been defined, then the toolbar set for the "normal" size is used.
  28. /*
  29. $config['ToolbarSets']['Maximized'] = array(
  30. array('FitWindow','-') // ...
  31. );
  32. */
  33. // Sets whether the toolbar can be collapsed/expanded or not.
  34. // Possible values: true , false
  35. //$config['ToolbarCanCollapse'] = true;
  36. // Sets how the editor's toolbar should start - expanded or collapsed.
  37. // Possible values: true , false
  38. //$config['ToolbarStartExpanded'] = true;
  39. //This option sets the location of the toolbar.
  40. // Possible values: 'In' , 'None' , 'Out:[TargetId]' , 'Out:[TargetWindow]([TargetId])'
  41. //$config['ToolbarLocation'] = 'In';
  42. // A setting for blocking copy/paste functions of the editor.
  43. // This setting activates on leaners only. For users with other statuses there is no blocking copy/paste.
  44. // Possible values: true , false
  45. //$config['BlockCopyPaste'] = false;
  46. // Here new width and height of the editor may be set.
  47. // Possible values, examples: 300 , '250' , '100%' , ...
  48. //$config['Width'] = '100%';
  49. //$config['Height'] = '600';