[Logicampus-svn] SF.net SVN: logicampus:[1288] logicampus/trunk/src/logicreate/services/ lobrepo/t
Brought to you by:
trilexcom
From: <fah...@us...> - 2009-02-27 11:39:35
|
Revision: 1288 http://logicampus.svn.sourceforge.net/logicampus/?rev=1288&view=rev Author: faheemkhan Date: 2009-02-27 11:39:27 +0000 (Fri, 27 Feb 2009) Log Message: ----------- Added Paths: ----------- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_mchoice.html Added: logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_mchoice.html =================================================================== --- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_mchoice.html (rev 0) +++ logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_mchoice.html 2009-02-27 11:39:27 UTC (rev 1288) @@ -0,0 +1,49 @@ +<h3><?= lct('Multiple Choice Question');?></h3> +<form method="POST" action="<?=modurl('exam/');?>"> + <table border="0" width="600"> + <tr> + <td valign="top">*<b><?= lct('Question');?></b></td> + <td> + <textarea rows="5" cols="50" name="questionText" <?= $t['disableFlag'];?>><?=$t['questionObj']->qstText;?></textarea> + </td> + </tr> + <tr> + <td><b><?= lct('Answers');?></b></td> + <td><?=lct('(check boxes to indicate the correct responses)');?></td> + </tr> + <? for ($x=0;$x<10;++$x) { ?> + <? $qc = $t['q']->qstChoices[$x]; ?> + + <tr> + <td align="right"> + <? if ($x <= 1) {echo '*';} else { echo ' '; } ?> + <? printf('%d',$x+1);?>. + </td> + <td NOWRAP> + <? $x <= 1 ? '*' : ''; ?> + <input name="labels[<?=$x;?>]" type="text" value="<?=$qc['label'];?>" size="50" <?= $t['disableFlag'];?>> + <input name="correct" value="<?=$x;?>" type="radio" <?= $qc['correct'] ? 'CHECKED':'';?>> + </td> + </tr> + <? } ?> + + <tr> + <td> </td> + <td> + </td> + </tr> + + <tr> + <td> </td> + <td> + <input type="submit" name="sbmt_button" value="<?=lct('Continue ->');?>"/> + <input type="hidden" name="event" value="saveQuestion"/> + <input type="hidden" name="qidx" value="<?=$t['qidx'];?>"/> + <input type="hidden" name="questionType" value="<?= $t['questionType'];?>"/> +</form> + </td> + </tr> + + </table> + +<p>* denotes a required field.</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |