version 1.3, 2003/07/09 06:23:20
|
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 99 for ($i=1;$i<=10;$i++) {
|
Line 103 for ($i=1;$i<=10;$i++) {
|
</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> |