Allow "show source" button.

pull/2487/head
jmontoyaa 8 years ago
parent 6aa477fc3e
commit 8cfeb1af33
  1. 14
      main/exercise/UniqueAnswerImage.php

@ -30,11 +30,11 @@ class UniqueAnswerImage extends UniqueAnswer
public function createAnswersForm($form) public function createAnswersForm($form)
{ {
$objExercise = Session::read('objExercise'); $objExercise = Session::read('objExercise');
$editorConfig = array( $editorConfig = [
'ToolbarSet' => 'TestFreeAnswer', 'ToolbarSet' => 'TestProposedAnswer',
'Width' => '100%', 'Width' => '100%',
'Height' => '125' 'Height' => '125'
); ];
//this line defines how many questions by default appear when creating a choice question //this line defines how many questions by default appear when creating a choice question
// The previous default value was 2. See task #1759. // The previous default value was 2. See task #1759.
@ -56,10 +56,10 @@ class UniqueAnswerImage extends UniqueAnswer
<thead> <thead>
<tr style="text-align: center;"> <tr style="text-align: center;">
<th width="10">' . get_lang('Number').'</th> <th width="10">' . get_lang('Number').'</th>
<th>' . get_lang('True').'</th> <th>'.get_lang('True').'</th>
<th>' . get_lang('Answer').'</th> <th>'.get_lang('Answer').'</th>
' . $commentTitle.' '.$commentTitle.'
' . $feedbackTitle.' '.$feedbackTitle.'
<th width="15">' . get_lang('Weighting').'</th> <th width="15">' . get_lang('Weighting').'</th>
</tr> </tr>
</thead> </thead>

Loading…
Cancel
Save