[svn r22215] FS#2867 - The online editor, toolbar_maxi: Adding the answer toolbar. Removing the toolbar for testing purposes.

skala
Ivan Tcholakov 17 years ago
parent d9de836891
commit 188e0c5e76
  1. 38
      main/inc/lib/fckeditor/toolbars_maxi/answer.php

@ -1,36 +1,30 @@
<?php <?php
// This toolbar has been created for testing purposes. // Course tools
// It contains all the buttons that may be used in the Dokeos LMS. // Test, answer to a question
// For more information: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options // 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. // This is the visible toolbar set when the editor has "normal" size.
$config['ToolbarSets']['Normal'] = array( $config['ToolbarSets']['Normal'] = array(
array('FitWindow','DocProps','-','Save','NewPage','Preview','-','Templates'), array('FitWindow'),
array('Cut','Copy','Paste','PasteText','PasteWord','-','Print'), array('Bold','Italic','Underline','-','Subscript','Superscript'),
array('Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'), array('Undo','Redo'),
array('Link','Unlink','Anchor','Wikilink','Glossary'), array('SpecialChar','mimetex')
array('mimetex','Image','imgmapPopup','Flash','MP3','EmbedMovies','flvPlayer','YouTube','googlemaps','Smiley'),
'/',
array('Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'),
array('OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'),
array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),
array('Rule','SpecialChar','PageBreak'),
array('Table','TableInsertRowAfter','TableDeleteRows','TableInsertColumnAfter','TableDeleteColumns','TableInsertCellAfter','TableDeleteCells','TableMergeCells','TableHorizontalSplitCell','TableVerticalSplitCell','TableCellProp'),
'/',
array('Style','FontFormat','FontName','FontSize'),
array('TextColor','BGColor'),
array('Source','ShowBlocks','-','About')
); );
// This is the visible toolbar set 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. // If it has not been defined, then the toolbar set for the "normal" size is used.
/*
$config['ToolbarSets']['Maximized'] = array( $config['ToolbarSets']['Maximized'] = array(
array('FitWindow','-') // ... array('FitWindow'),
array('Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'),
array('OrderedList','UnorderedList','-','Outdent','Indent'),
array('JustifyLeft','JustifyCenter','JustifyRight'),
array('Undo','Redo','-','SelectAll','RemoveFormat'),
array('SpecialChar','mimetex'),
'/',
array('Style','FontFormat','FontName','FontSize'),
array('TextColor','BGColor')
); );
*/
// Sets whether the toolbar can be collapsed/expanded or not. // Sets whether the toolbar can be collapsed/expanded or not.
// Possible values: true , false // Possible values: true , false
@ -38,7 +32,7 @@ $config['ToolbarSets']['Maximized'] = array(
// Sets how the editor's toolbar should start - expanded or collapsed. // Sets how the editor's toolbar should start - expanded or collapsed.
// Possible values: true , false // Possible values: true , false
//$config['ToolbarStartExpanded'] = true; $config['ToolbarStartExpanded'] = false;
//This option sets the location of the toolbar. //This option sets the location of the toolbar.
// Possible values: 'In' , 'None' , 'Out:[TargetId]' , 'Out:[TargetWindow]([TargetId])' // Possible values: 'In' , 'None' , 'Out:[TargetId]' , 'Out:[TargetWindow]([TargetId])'
Loading…
Cancel
Save