[svn r22240] FS#2867 - The online editor: Renaming a toolbar, 'CommentAnswers' --> 'TestAnswerAttachedComment'.

skala
Ivan Tcholakov 16 years ago
parent 2d64b134d8
commit eb4a482a82
  1. 4
      main/exercice/exercise_show.php
  2. 0
      main/inc/lib/fckeditor/toolbars/test_answer_attached_comment.php
  3. 0
      main/inc/lib/fckeditor/toolbars_maxi/test_answer_attached_comment.php

@ -4,7 +4,7 @@
* *
* @package dokeos.exercise * @package dokeos.exercise
* @author Julio Montoya Armas Added switchable fill in blank option added * @author Julio Montoya Armas Added switchable fill in blank option added
* @version $Id: exercise_show.php 22045 2009-07-14 00:44:49Z ivantcholakov $ * @version $Id: exercise_show.php 22240 2009-07-20 13:35:37Z ivantcholakov $
* *
* @todo remove the debug code and use the general debug library * @todo remove the debug code and use the general debug library
* @todo use the Database:: functions * @todo use the Database:: functions
@ -944,7 +944,7 @@ if ($show_results) {
$renderer->setElementTemplate('<div align="left">{element}</div>'); $renderer->setElementTemplate('<div align="left">{element}</div>');
$comnt = get_comments($id,$questionId); $comnt = get_comments($id,$questionId);
${user.$questionId}['comments_'.$questionId] = $comnt; ${user.$questionId}['comments_'.$questionId] = $comnt;
$feedback_form->addElement('html_editor', 'comments_'.$questionId, null, null, array('ToolbarSet' => 'CommentAnswers', 'Width' => '100%', 'Height' => '120')); $feedback_form->addElement('html_editor', 'comments_'.$questionId, null, null, array('ToolbarSet' => 'TestAnswerAttachedComment', 'Width' => '100%', 'Height' => '120'));
$feedback_form->addElement('html','<br>'); $feedback_form->addElement('html','<br>');
//$feedback_form->addElement('submit','submitQuestion',get_lang('Ok')); //$feedback_form->addElement('submit','submitQuestion',get_lang('Ok'));
$feedback_form->setDefaults(${user.$questionId}); $feedback_form->setDefaults(${user.$questionId});

Loading…
Cancel
Save