123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462 |
- <?php
- /*
- * Dokeos - elearning and course management software
- *
- * Copyright (c) 2009 Dokeos SPRL
- * Copyright (c) 2009 Juan Carlos Raña
- * Copyright (c) 2009 Ivan Tcholakov
- *
- * For a full list of contributors, see "credits.txt".
- * The full license can be read in "license.txt".
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * See the GNU General Public License for more details.
- *
- * Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
- * Mail: info@dokeos.com
- */
- /*
- * Custom editor configuration settings, php-side.
- *
- * Follow this link for more information:
- * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
- *
- */
- /*
- * Editor's toolbar definitions.
- */
- $config['ToolbarSets']['Full'] = array(
- array('FitWindow','PasteWord','Link','Unlink','Anchor','-','Image','flvPlayer','Flash','EmbedMovies','MP3','YouTube','Table','Rule','-','Subscript', 'Superscript','-','OrderedList','UnorderedList','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),'/',
- array('FontFormat','Style','FontName','FontSize','Bold','Italic','Underline','StrikeThrough','TextColor', 'BGColor','-','Source')
- );
- $config['ToolbarSets']['Middle'] = array(
- array('FontSize','Bold','Italic','Underline','StrikeThrough','TextColor','-','OrderedList','UnorderedList','-','Rule','Link','Unlink','Table','-','Image','Flash','Source')
- );
- $config['ToolbarSets']['Small'] = array(
- array('Bold','Italic','Underline','StrikeThrough','Link','Unlink','Image','Flash','OrderedList','UnorderedList','Table')
- );//used by test ? exercice/feedback.php
- ////
- ///// Admin tools /////
- // Edit platform home page
- $config['ToolbarSets']['EditHomePage'] = array(
- array('NewPage','Templates','Save','Print','PageBreak','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll','-','Find'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','Smiley','SpecialChar','googlemaps'),
- array('FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- array('Source')
- );
- // Insert or Edit a page link in the platform home page
- $config['ToolbarSets']['LinksHomePage'] = array(
- array('NewPage','Templates','Save','Print','PageBreak','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll','-','Find'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','Smiley','SpecialChar','googlemaps'),
- array('FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- array('Source')
- );
- // System Announcements
- $config['ToolbarSets']['SystemAnnouncements'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','-','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- // Global Agenda
- $config['ToolbarSets']['GlobalAgenda'] = array(
- array('FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar','googlemaps'),
- array('FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('OrderedList','UnorderedList','-','TextColor','BGColor'),
- array('Source')
- );
- // Admin Templates
- $config['ToolbarSets']['AdminTemplates'] = array(
- array('NewPage','Templates','Save','Print','PageBreak','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll','-','Find'),
- array('Bold','Italic','Underline'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','Smiley','SpecialChar','googlemaps'),
- array('FontFormat','FontName','FontSize'),
- array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- array('Source')
- );
- // FAQ
- $config['ToolbarSets']['FAQ'] = array(
- array('Save','Preview','Source')
- );
- ///// users tools /////
- // My Profile (optional fields)
- $config['ToolbarSets']['Profil'] = array(
- array('FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','Smiley'),
- '/',
- array('FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
- array('Source')
- );
- // Messages
- $config['ToolbarSets']['Messages'] = array(
- array('FitWindow','Undo','Redo'),
- array('Link','Unlink'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','Smiley','googlemaps'),
- array('Bold','Italic','Underline'),
- array('OrderedList','UnorderedList','-','Blockquote','-','TextColor'),
- array('ShowBlocks')
- );
- ///// Course tools /////
- // Course introduction
- $config['ToolbarSets']['Introduction'] = array(
- array('NewPage','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','-','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- // Agenda
- $config['ToolbarSets']['Agenda'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- array('Source')
- );
- $config['ToolbarSets']['Agenda_Student'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- '/',
- array('FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- array('ShowBlocks')
- );
- // Announcements
- $config['ToolbarSets']['Announcements'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','-','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- $config['ToolbarSets']['Announcements_Student'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight'),
- array('ShowBlocks')
- );
- // Blog
- $config['ToolbarSets']['Blog'] = array(
- array('FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','googlemaps'),
- array('FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
- array('Source')
- );
- $config['ToolbarSets']['Blog_Student'] = array(
- array('FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','googlemaps'),
- array('FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
- array('ShowBlocks')
- );
- $config['ToolbarSets']['BlogComment'] = array(
- array('FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','googlemaps'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
- array('Source')
- );
- $config['ToolbarSets']['BlogComment_Student'] = array(
- array('FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','googlemaps'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
- array('ShowBlocks')
- );
- // Course Description
- $config['ToolbarSets']['CourseDescription'] = array(
- array('NewPage','Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- // Documents
- $config['ToolbarSets']['Documents'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('Outdent','Indent','-','TextColor','BGColor','-','OrderedList','UnorderedList','-','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- $config['ToolbarSets']['Documents_Student'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('Outdent','Indent','-','TextColor','BGColor','-','OrderedList','UnorderedList'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight'),
- array('ShowBlocks')
- );
- // Forum
- $config['ToolbarSets']['ForumLight'] = array(
- array('Bold','Italic','Underline','StrikeThrough')
- );
- $config['ToolbarSets']['Forum'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- $config['ToolbarSets']['Forum_Student'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight'),
- array('ShowBlocks')
- );
- // Glossary
- $config['ToolbarSets']['Glossary'] = array(
- array('Save','FitWindow','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','-','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- // Learning Path
- $config['ToolbarSets']['LearnPath'] = array(
- array('PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3','Table','SpecialChar'),
- array('Outdent','Indent','TextColor','BGColor','-','OrderedList','UnorderedList','JustifyLeft','JustifyCenter','JustifyRight'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline','-','Source'),
- );//save, FitWindow don't run well here
- $config['ToolbarSets']['CommentLearningPath'] = array(
- array('Link','Unlink','Bold','Italic','TextColor','BGColor','Source')
- );
- // Notebook
- $config['ToolbarSets']['Notebook'] = array(
- array('Save','FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','-','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- $config['ToolbarSets']['Notebook_Student'] = array(
- array('Save','FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight'),
- array('ShowBlocks')
- );
- // Survey
- $config['ToolbarSets']['Survey'] = array(
- array('FitWindow'),
- array('Link','Unlink'),
- array('Image'),
- array('Table'),
- array('FontSize'),
- array('Bold','Italic'),
- array('OrderedList','UnorderedList','-','TextColor'),
- array('Source')
- );
- // Test
- $config['ToolbarSets']['TestDescription'] = array(
- array('FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','-','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- $config['ToolbarSets']['QuestionDescription'] = array(
- array('FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor','-','Source'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('JustifyLeft','JustifyCenter','JustifyRight')
- );
- $config['ToolbarSets']['Answer'] = array(
- array('FitWindow','Bold','Image','Link','PasteWord','MP3','Table','Subscript','Superscript','Source')
- );
- $config['ToolbarSets']['FreeAnswer'] = array(
- array('FitWindow','Bold','Image','Link','PasteWord','MP3','Table','Subscript','Superscript','ShowBlocks')
- );
- $config['ToolbarSets']['CommentAnswers'] = array(
- array('Link','Unlink','Bold','Italic','TextColor','BGColor')
- );
- // Wiki
- $config['ToolbarSets']['Wiki'] = array(
- array('NewPage','Templates','Save','PageBreak','Preview','FitWindow','-','PasteText','-','Undo','Redo','-','SelectAll','-','Find'),
- array('Wikilink','Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','Smiley','SpecialChar','googlemaps'),
- array('FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- array('Source')
- );
- $config['ToolbarSets']['Wiki_Student'] = array(
- array('NewPage','Save','PageBreak','Preview','FitWindow','-','PasteText','-','Undo','Redo','-','SelectAll','-','Find'),
- array('Wikilink','Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','Smiley','SpecialChar','googlemaps'),
- array('FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- array('ShowBlocks')
- );
- // Gradebook
- $config['ToolbarSets']['Gradebook'] = array(
- array('Save','FitWindow','-','PasteWord','-','Undo','Redo'),
- array('Link','Unlink','Anchor'),
- array('Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'),
- array('Table','SpecialChar'),
- array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
- '/',
- array('Style','FontFormat','FontName','FontSize'),
- array('Bold','Italic','Underline'),
- array('Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),
- array('Source')
- );
|