#2479 fix work button bar
parent
b320f93974
commit
ddc4c37854
@ -0,0 +1,50 @@ |
||||
<?php |
||||
// Chamilo LMS |
||||
// See license terms in chamilo/documentation/license.txt |
||||
|
||||
// Work tool |
||||
|
||||
// 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','mimetex'), |
||||
array('Table','Smiley'), |
||||
'/', |
||||
array('FontName','FontSize'), |
||||
array('Bold','Italic','Underline'), |
||||
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'] = 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'] = '130'; |
@ -0,0 +1,71 @@ |
||||
<?php |
||||
// Chamilo LMS |
||||
// See license terms in chamilo/documentation/license.txt |
||||
|
||||
// Work tool |
||||
|
||||
// For more information: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options |
||||
|
||||
//NOTE: Does not include Replace because it is redundant, being in the same tab to Find. Usability: doenst show save buttom |
||||
|
||||
//TODO: DocProps does not run ok here. Also 'asciisvg' buttom (their presence means that not all forms can unfold and refold) |
||||
|
||||
// Hide/show SpellCheck buttom |
||||
if ((api_get_setting('allow_spellcheck') == 'true')) { |
||||
$VSpellCheck='SpellCheck'; |
||||
} |
||||
else{ |
||||
$VSpellCheck=''; |
||||
} |
||||
|
||||
// This is the visible toolbar set when the editor has "normal" size. |
||||
$config['ToolbarSets']['Normal'] = array( |
||||
array('NewPage','Templates','-','PasteWord'), |
||||
array('Undo','Redo'), |
||||
array('Link','Image','flvPlayer','Flash','MP3','TableOC','mimetex','asciimath'), |
||||
array('JustifyLeft','JustifyCenter','JustifyFull'), |
||||
array('FontFormat','FontName','Bold','Italic','TextColor','BGColor'), |
||||
array('FitWindow') |
||||
); |
||||
|
||||
// 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('NewPage','Templates','-','Preview','Print'), |
||||
array('Cut','Copy','Paste','PasteText','PasteWord'), |
||||
array('Undo','Redo','-','SelectAll','Find','-','RemoveFormat'), |
||||
array('Link','Unlink','Anchor','Glossary'), |
||||
array('Image','imgmapPopup','flvPlayer','EmbedMovies','YouTube','Flash','MP3','googlemaps','Smiley','SpecialChar','insertHtml','mimetex','asciimath','fckeditor_wiris_openFormulaEditor','fckeditor_wiris_openCAS'), |
||||
'/', |
||||
array('TableOC','Table','TableInsertRowAfter','TableDeleteRows','TableInsertColumnAfter','TableDeleteColumns','TableInsertCellAfter','TableDeleteCells','TableMergeCells','TableHorizontalSplitCell','TableVerticalSplitCell','TableCellProp','-','CreateDiv'), |
||||
array('UnorderedList','OrderedList','Rule','-','Outdent','Indent','Blockquote'), |
||||
array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'), |
||||
array('Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor'), |
||||
array($VSpellCheck), |
||||
array('Style','FontFormat','FontName','FontSize'), |
||||
array('PageBreak','ShowBlocks','Source'), |
||||
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'] = '130'; |
Loading…
Reference in new issue