|
|
|
@ -135,7 +135,7 @@ class Matching extends Question { |
|
|
|
|
<table cellpadding="0" cellspacing="5"> |
|
|
|
|
<tr bgcolor="#e6e6e6"> |
|
|
|
|
<td> |
|
|
|
|
N<EFBFBD> |
|
|
|
|
'.get_lang('Number').' |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
'.get_lang('Answer').' |
|
|
|
@ -144,7 +144,7 @@ class Matching extends Question { |
|
|
|
|
'.get_lang('MatchesTo').' |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
Weighting |
|
|
|
|
'.get_lang('Weighting').' |
|
|
|
|
</td> |
|
|
|
|
<td width="0"></td> |
|
|
|
|
</tr>'; |
|
|
|
@ -171,8 +171,8 @@ class Matching extends Question { |
|
|
|
|
|
|
|
|
|
$form -> addElement ('html', '</table></div></div>'); |
|
|
|
|
$group = array(); |
|
|
|
|
$group[] = FormValidator :: createElement ('submit', 'lessMatches', '-elem'); |
|
|
|
|
$group[] = FormValidator :: createElement ('submit', 'moreMatches', '+elem'); |
|
|
|
|
$group[] = FormValidator :: createElement ('submit', 'lessMatches', get_lang('DelElem')); |
|
|
|
|
$group[] = FormValidator :: createElement ('submit', 'moreMatches', get_lang('AddElem')); |
|
|
|
|
$form -> addGroup($group); |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -188,7 +188,7 @@ class Matching extends Question { |
|
|
|
|
<table cellpadding="0" cellspacing="5"> |
|
|
|
|
<tr bgcolor="#e6e6e6"> |
|
|
|
|
<td> |
|
|
|
|
N<EFBFBD> |
|
|
|
|
'.get_lang('Number').' |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
'.get_lang('Answer').' |
|
|
|
@ -216,8 +216,8 @@ class Matching extends Question { |
|
|
|
|
|
|
|
|
|
$form -> addElement ('html', '</table></div></div>'); |
|
|
|
|
$group = array(); |
|
|
|
|
$group[] = FormValidator :: createElement ('submit', 'lessOptions', '-elem'); |
|
|
|
|
$group[] = FormValidator :: createElement ('submit', 'moreOptions', '+elem'); |
|
|
|
|
$group[] = FormValidator :: createElement ('submit', 'lessOptions', get_lang('DelElem')); |
|
|
|
|
$group[] = FormValidator :: createElement ('submit', 'moreOptions',get_lang('AddElem')); |
|
|
|
|
$form -> addGroup($group); |
|
|
|
|
|
|
|
|
|
$form -> setDefaults($defaults); |
|
|
|
|