version 1.2, 2003/07/07 07:32:16
|
version 1.4, 2003/07/09 10:05:15
|
Line 15 for ($i=1;$i<=10;$i++) {
|
Line 15 for ($i=1;$i<=10;$i++) {
|
$position[$i]=&EXT('resource.0.position'.$i); |
$position[$i]=&EXT('resource.0.position'.$i); |
unless ($position[$i]) { $position[$i]='random'; } |
unless ($position[$i]) { $position[$i]='random'; } |
} |
} |
|
$stringanswer=&EXT('resource.0.stringanswer'); |
|
unless ($stringanswer) { $stringanswer=''; } |
|
$stringtype=&EXT('resource.0.stringtype'); |
|
unless ($stringtype) { $stringtype='cs'; } |
</script> |
</script> |
|
|
<startouttext />&EXT('resource.0.questiontext')<endouttext /> |
<startouttext />&EXT('resource.0.questiontext')<endouttext /> |
Line 40 for ($i=1;$i<=10;$i++) {
|
Line 44 for ($i=1;$i<=10;$i++) {
|
<foil location="$position[6]" value="$value[6]" name="radiofoil6"> |
<foil location="$position[6]" value="$value[6]" name="radiofoil6"> |
<startouttext />&EXT('resource.0.text6')<endouttext /> |
<startouttext />&EXT('resource.0.text6')<endouttext /> |
</foil> |
</foil> |
</foilgroup> |
|
<foil location="$position[7]" value="$value[7]" name="radiofoil7"> |
<foil location="$position[7]" value="$value[7]" name="radiofoil7"> |
<startouttext />&EXT('resource.0.text7')<endouttext /> |
<startouttext />&EXT('resource.0.text7')<endouttext /> |
</foil> |
</foil> |
Line 53 for ($i=1;$i<=10;$i++) {
|
Line 56 for ($i=1;$i<=10;$i++) {
|
<foil location="$position[10]" value="$value[10]" name="radiofoil10"> |
<foil location="$position[10]" value="$value[10]" name="radiofoil10"> |
<startouttext />&EXT('resource.0.text10')<endouttext /> |
<startouttext />&EXT('resource.0.text10')<endouttext /> |
</foil> |
</foil> |
|
</foilgroup> |
<hintgroup> |
<hintgroup> |
<startouttext />&EXT('resource.0.hinttext')<endouttext /> |
<startouttext />&EXT('resource.0.hinttext')<endouttext /> |
</hintgroup> |
</hintgroup> |
Line 60 for ($i=1;$i<=10;$i++) {
|
Line 64 for ($i=1;$i<=10;$i++) {
|
</block> |
</block> |
|
|
<block condition="&EXT('resource.0.questiontype') eq 'option'"> |
<block condition="&EXT('resource.0.questiontype') eq 'option'"> |
<optionresponse max="$max" id="radiosegment" randomize="$randomize"> |
<optionresponse max="$max" id="optionsegment" randomize="$randomize"> |
<foilgroup options="$options"> |
<foilgroup options="$options"> |
<foil location="$position[1]" value="$value[1]" name="optionfoil1"> |
<foil location="$position[1]" value="$value[1]" name="optionfoil1"> |
<startouttext />&EXT('resource.0.text1')<endouttext /> |
<startouttext />&EXT('resource.0.text1')<endouttext /> |
Line 80 for ($i=1;$i<=10;$i++) {
|
Line 84 for ($i=1;$i<=10;$i++) {
|
<foil location="$position[6]" value="$value[6]" name="optionfoil6"> |
<foil location="$position[6]" value="$value[6]" name="optionfoil6"> |
<startouttext />&EXT('resource.0.text6')<endouttext /> |
<startouttext />&EXT('resource.0.text6')<endouttext /> |
</foil> |
</foil> |
</foilgroup> |
|
<foil location="$position[7]" value="$value[7]" name="optionfoil7"> |
<foil location="$position[7]" value="$value[7]" name="optionfoil7"> |
<startouttext />&EXT('resource.0.text7')<endouttext /> |
<startouttext />&EXT('resource.0.text7')<endouttext /> |
</foil> |
</foil> |
Line 93 for ($i=1;$i<=10;$i++) {
|
Line 96 for ($i=1;$i<=10;$i++) {
|
<foil location="$position[10]" value="$value[10]" name="optionfoil10"> |
<foil location="$position[10]" value="$value[10]" name="optionfoil10"> |
<startouttext />&EXT('resource.0.text10')<endouttext /> |
<startouttext />&EXT('resource.0.text10')<endouttext /> |
</foil> |
</foil> |
|
</foilgroup> |
<hintgroup> |
<hintgroup> |
<startouttext />&EXT('resource.0.hinttext')<endouttext /> |
<startouttext />&EXT('resource.0.hinttext')<endouttext /> |
</hintgroup> |
</hintgroup> |
</optionresponse> |
</optionresponse> |
</block> |
</block> |
|
|
|
<block condition="&EXT('resource.0.questiontype') eq 'essay'"> |
|
<essayresponse id="essaysegment"> |
|
<textfield></textfield> |
|
</essayresponse> |
|
</block> |
|
|
|
<block condition="&EXT('resource.0.questiontype') eq 'string'"> |
|
<stringresponse id="stringsegment" answer="$stringanswer" type="$stringtype"> |
|
<textline> |
|
</textline> |
|
<hintgroup> |
|
<startouttext />&EXT('resource.0.hinttext')<endouttext /> |
|
</hintgroup> |
|
</stringresponse> |
|
</block> |
|
|
|
|
</problem> |
</problem> |