diff --git a/main/exercice/exercise.lib.php b/main/exercice/exercise.lib.php index e0cd3a4d30..77e7967de9 100644 --- a/main/exercice/exercise.lib.php +++ b/main/exercice/exercise.lib.php @@ -1,4 +1,4 @@ - -* @version $Id: exercise.lib.php 18541 2009-02-17 14:48:55Z cfasanando $ +* @version $Id: exercise.lib.php 19407 2009-03-29 19:37:05Z herodoto $ */ /** @@ -118,8 +118,8 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false,$current_it $oFCKeditor = new FCKeditor("choice[".$questionId."]") ; - $oFCKeditor->ToolbarSet = "Answer"; - $oFCKeditor->Width = '80%'; + $oFCKeditor->ToolbarSet = "FreeAnswer"; + $oFCKeditor->Width = '100%'; $oFCKeditor->Height = '300'; $oFCKeditor->Value = '' ; diff --git a/main/inc/lib/fckeditor/myconfig.js b/main/inc/lib/fckeditor/myconfig.js index 11905647c8..591028ced5 100644 --- a/main/inc/lib/fckeditor/myconfig.js +++ b/main/inc/lib/fckeditor/myconfig.js @@ -35,7 +35,7 @@ FCKConfig.ToolbarSets["Middle"] = [ FCKConfig.ToolbarSets["Small"] = [ ['Bold','Italic','Underline','StrikeThrough','Link','Unlink','Image','Flash','OrderedList','UnorderedList','Table'] -] ;//used by test ? +] ;//used by test ? exercice/feedback.php //// ///// admin tools ///// @@ -415,6 +415,10 @@ FCKConfig.ToolbarSets["Answer"] = [ ['FitWindow','Bold','Image','Link','PasteWord','MP3','Table','Subscript','Superscript','Source'] ] ; +FCKConfig.ToolbarSets["FreeAnswer"] = [ + ['FitWindow','Bold','Image','Link','PasteWord','MP3','Table','Subscript','Superscript','ShowBlocks'] +] ; + FCKConfig.ToolbarSets["CommentAnswers"] = [ ['FitWindow','Link','Unlink','Image','flvPlayer','Table','Bold','Italic','TextColor','BGColor','Source'] ] ;