Feature #2204 conditional load wiris plugin into documents and wiki

skala
Juan Carlos Raña 14 years ago
parent 4db2c3086d
commit 0d77dabc3e
  1. 11
      main/inc/lib/fckeditor/myconfig.php
  2. 2
      main/inc/lib/fckeditor/toolbars/default/documents.php
  3. 2
      main/inc/lib/fckeditor/toolbars/default/documents_student.php
  4. 2
      main/inc/lib/fckeditor/toolbars/default/wiki.php
  5. 2
      main/inc/lib/fckeditor/toolbars/default/wiki_student.php

@ -47,8 +47,7 @@
* 5-th level (the lowest priority)
* Configuration settings from myconfig.js. This file is "as is" in the original source, modifying it is not recommended.
*/
/*
* Toolbar definitions.
*/
@ -182,6 +181,14 @@ if ((api_get_setting('math_asciimathML') == 'true')) {
$config['LoadPlugin'][] = 'asciimath';
}
// WIRIS: plugin for inserting mathematical formulas
// You may try it in the "Documents" and "Wiki" tools.
// Users' computers need java installed
if ((api_get_setting('enabled_wiris') == 'true')) {
$config['LoadPlugin'][] = 'fckeditor_wiris';
}
// wikilink : Adds a dialog for inserting wiki-formatted links.
$config['LoadPlugin'][] = 'wikilink';

@ -11,7 +11,7 @@
$config['ToolbarSets']['Normal'] = array(
array('Save','FitWindow','PasteWord','-','Undo','Redo'),
array('Link','Unlink','Anchor','Glossary'),
array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath'),
array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath','fckeditor_wiris_openFormulaEditor','fckeditor_wiris_openCAS'),
array('Table','SpecialChar'),
array('Outdent','Indent','-','TextColor','BGColor','-','OrderedList','UnorderedList','-','Source'),
'/',

@ -11,7 +11,7 @@
$config['ToolbarSets']['Normal'] = array(
array('Save','FitWindow','PasteWord','-','Undo','Redo'),
array('Link','Unlink','Anchor'),
array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath'),
array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath','fckeditor_wiris_openFormulaEditor','fckeditor_wiris_openCAS'),
array('Table','SpecialChar'),
array('Outdent','Indent','-','TextColor','BGColor','-','OrderedList','UnorderedList'),
'/',

@ -11,7 +11,7 @@
$config['ToolbarSets']['Normal'] = array(
array('FitWindow','Save','NewPage','Templates','PageBreak','Preview','-','PasteText','-','Undo','Redo','-','SelectAll','-','Find'),
array('Wikilink','Link','Unlink','Anchor'),
array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath'),
array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath','fckeditor_wiris_openFormulaEditor','fckeditor_wiris_openCAS'),
array('Table','Rule','Smiley','SpecialChar','googlemaps'),
array('FontFormat','FontName','FontSize'),
array('Bold','Italic','Underline'),

@ -11,7 +11,7 @@
$config['ToolbarSets']['Normal'] = array(
array('FitWindow','Save','NewPage','PageBreak','Preview','-','PasteText','-','Undo','Redo','-','SelectAll','-','Find'),
array('Wikilink','Link','Unlink','Anchor'),
array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath'),
array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','mimetex','asciimath','fckeditor_wiris_openFormulaEditor','fckeditor_wiris_openCAS'),
array('Table','Rule','Smiley','SpecialChar','googlemaps'),
array('FontFormat','FontName','FontSize'),
array('Bold','Italic','Underline'),

Loading…
Cancel
Save