When you add an answer in Multiple choice or Multiple answers the score default is zero CT#968

skala
Carlos Vargas 16 years ago
parent 8f2877f183
commit 8bf273a769
  1. 1
      documentation/changelog.html
  2. 2
      main/exercice/multiple_answer.class.php
  3. 2
      main/exercice/unique_answer.class.php

@ -90,6 +90,7 @@
<li>Changed .rounded style from background: #ccc to border: 3px solid #CCCCCC in all styles</li>
<li>By creating a new course, will be enabled default, the option to display the chat in a new window</li>
<li>When installing the platform will be active by default the following options: Allow edit tutors in the courses of the sessions, social network and sending messages</li>
<li>When you add an answer in Multiple choice or Multiple answers the score default is zero </li>
</ul>
<h3>Known issues</h3>
<ul>

@ -128,7 +128,7 @@ class MultipleAnswer extends Question {
$form->addElement('html_editor', 'comment['.$i.']',null, 'style="vertical-align:middle"', array('ToolbarSet' => 'TestProposedAnswer', 'Width' => '100%', 'Height' => '100'));
}
$form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="5" value="10"');
$form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="5" value="0"');
$form -> addElement ('html', '</tr>');
}
$form -> addElement ('html', '</table>');

@ -234,7 +234,7 @@ class UniqueAnswer extends Question {
//$form->addElement('select', 'destination'.$i, get_lang('SelectQuestion').' : ',$select_question,'multiple');
$form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="5" value="10"');
$form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="5" value="0"');
$form -> addElement ('html', '</tr>');
}

Loading…
Cancel
Save