[Logicampus-svn] SF.net SVN: logicampus:[1283] logicampus/trunk/src/logicreate/services/ lobrepo/te
Brought to you by:
trilexcom
From: <fah...@us...> - 2009-02-27 11:34:57
|
Revision: 1283 http://logicampus.svn.sourceforge.net/logicampus/?rev=1283&view=rev Author: faheemkhan Date: 2009-02-27 11:34:48 +0000 (Fri, 27 Feb 2009) Log Message: ----------- Removed Paths: ------------- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_essay.html logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_fillinblank.html logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_manswer.html logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_matching.html logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_mchoice.html logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_truefalse.html Deleted: logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_essay.html =================================================================== --- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_essay.html 2009-02-27 10:10:57 UTC (rev 1282) +++ logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_essay.html 2009-02-27 11:34:48 UTC (rev 1283) @@ -1,78 +0,0 @@ -<h3><?= lct('Multiple Answer Question');?></h3> -<?=$t['error'];?> -<form method="post"> - - <table border="0" width="600"> - <tr> - <td valign="top"> - *<b>question</b><br/> - </td> - <td> - <textarea rows="5" cols="50" name="question_text" <?= $t['disableflag'];?>><?=$t['q']->questiontext;?></textarea> - <br/> - </td> - </tr> - <tr> - <td valign="top"><b>select image</b></td> - <td> - - <style> - - div.over { - overflow: scroll; - height: 220px; - width: 240px; - } - - </style> - - <fieldset valign="middle" style="width: 235px; height: 245px; padding: 2px;"> - - <select name="filehash" - style="width: 235px;" - onchange="document.getelementbyid('previewfile').src='<?=appurl('classroom/viewcontent/fhash=');?>' + this.value;" - > - <option value="">select image</option> - <?php - foreach($t['images'] as $myizimage) - { - echo ' - <option value="'.$myizimage['dahasha'].'"'. - ($t['q']->filehash == $myizimage['dahasha'] ? ' selected' : '').'>'. - $myizimage['displayname'].'</option>'; - } - - ?> - </select> - - - <div class="over" align="center" valign="middle"> - <table cellpadding="2" cellspacing="0" border="0" width="100%" height="100%"> - <tr> - - <td valign="middle" align="center" height="100%" width="100%"> - <img alt="" src="<?= $t['q']->filehash ? appurl('classroom/viewcontent/fhash=').$t['q']->filehash : images_url.'spacer.gif'; ?>" id="previewfile"> - - - </td> - </tr> - </table> - </div> - - </fieldset> - - </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> Deleted: logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_fillinblank.html =================================================================== --- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_fillinblank.html 2009-02-27 10:10:57 UTC (rev 1282) +++ logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_fillinblank.html 2009-02-27 11:34:48 UTC (rev 1283) @@ -1,113 +0,0 @@ -<?=$t['sectionheader'];?> - -<?=$t['error'];?> -<form method="POST"> - <table border="0" width="600"> - <tr> - <td valign="top">*<b>Question</b></td> - <td><textarea rows="5" cols="50" name="questionText"><?=$t['q']->questionText;?></textarea></td> - </tr> - <tr> - <td width="12"> - <b>Answer</b> - </td> - <td width="100"> - <input name="labels[0]" type="text" value="<?=$t['q']->questionChoices[0]->label;?>"> - </td> - </tr> - <tr> - <td colspan=2 height=25> </td> - </tr> - <tr> - <td> - - </td> - <td> - <b>Alternate Answer Help</b> - <br> - If you would like to enter alternate answers that you will accept, enter them - below. Example: If the if you are looking for the president of the U.S. and - the student enters 'George Washington' which is the correct answer. However, - another student enters just 'Washington'. If you have 'Washington' as an - alternate answer below, the student will receive credit for their entry. - </td> - </tr> - <tr> - <td valign="top"> - <b>Alternate Answers</b> - </td> - <td valign="top" width="100"> - <table border=0 cellpadding=2 cellspacing=0> - <? for ($x=1;$x<11;++$x) { ?> - <? $qc = $t['q']->questionChoices[$x]; ?> - <tr> - <td><? printf('%d',$x);?>.</td> - <td><? $x <= 1 ? '*' : ''; ?> - <input name="labels[<?=$x;?>]" type="text" value="<?=$qc->label;?>"></td> - </tr> - <? } ?> - </table> - </td> - </tr> - <tr> - <td> </td> - <td colspan=2> -<style> - - div.over { - overflow: scroll; - height: 220px; - width: 240px; - } - -</style> - <FIELDSET valign="middle" style="width: 235px; height: 245px; padding: 2px;"> - - <select name="fileHash" - style="width: 235px;" - onChange="document.getElementById('previewfile').src='<?=appurl('classroom/viewContent/fhash=');?>' + this.value;" - > - <option value="">Select Image</option> -<?php - foreach($t['images'] as $myIzimage) - { - echo ' - <option value="'.$myIzimage['daHasha'].'"'. - ($t['q']->fileHash == $myIzimage['daHasha'] ? ' SELECTED' : '').'>'. - $myIzimage['displayname'].'</option>'; - } - -?> - </select> - - - <div class="over" align="center" valign="middle"> - <table cellpadding="2" cellspacing="0" border="0" width="100%" height="100%"> - <tr> - - <td valign="middle" align="center" height="100%" width="100%"> - <img alt="" src="<?= $t['q']->fileHash ? appurl('classroom/viewContent/fhash=').$t['q']->fileHash : IMAGES_URL.'spacer.gif'; ?>" id="previewfile"> - - - </td> - </tr> - </table> - </div> - - </FIELDSET> - - </td> - </tr> - <tr> - <td> - - </td> - <td> - <input type="submit" value="Continue->"> - <input type="hidden" name="event" value="save"> - </form> - </td> - </tr> - </table> - -<p>* denotes a required field.</p> Deleted: logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_manswer.html =================================================================== --- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_manswer.html 2009-02-27 10:10:57 UTC (rev 1282) +++ logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_manswer.html 2009-02-27 11:34:48 UTC (rev 1283) @@ -1,97 +0,0 @@ -<h3><?= lct('Multiple Answer Question');?></h3> -<?=$t['error'];?> -<form method="POST"> - <table border="0" width="600"> - <tr> - <td valign="top">*<b>Question</b></td> - <td> - <textarea rows="5" cols="50" name="questionText" <?= $t['disableFlag'];?>><?=$t['q']->questionText;?></textarea> - </td> - </tr> - <tr> - <td colspan=2 height=25> </td> - </tr> - <tr> - <td><b>Answers</b></td> - <td>(check boxes to indicate the correct responses)</td> - </tr> - <?// debug($t['q']); ?> - <? for ($x=0;$x<10;++$x) { ?> - <? $qc = $t['q']->questionChoices[$x]; ?> - <? //debug($qc); ?> - - <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="<?= htmlentities($qc->label);?>" size="50" <?= $t['disableFlag'];?> /> - <input name="correct[<?=$x;?>]" value="On" type="checkbox"<?= $qc->correct ? ' CHECKED':'';?> /> - </td> - </tr> - <? } ?> - - <tr> - <td> </td> - <td> -<style> - - div.over { - overflow: scroll; - height: 220px; - width: 240px; - } - -</style> - <FIELDSET valign="middle" style="width: 235px; height: 245px; padding: 2px;"> - - <select name="fileHash" - style="width: 235px;" - onChange="document.getElementById('previewfile').src='<?=appurl('classroom/viewContent/fhash=');?>' + this.value;" - > - <option value="">Select Image</option> -<?php - foreach($t['images'] as $myIzimage) - { - echo ' - <option value="'.$myIzimage['daHasha'].'"'. - ($t['q']->fileHash == $myIzimage['daHasha'] ? ' SELECTED' : '').'>'. - $myIzimage['displayname'].'</option>'; - } - -?> - </select> - - - <div class="over" align="center" valign="middle"> - <table cellpadding="2" cellspacing="0" border="0" width="100%" height="100%"> - <tr> - - <td valign="middle" align="center" height="100%" width="100%"> - <img alt="" src="<?= $t['q']->fileHash ? appurl('classroom/viewContent/fhash=').$t['q']->fileHash : IMAGES_URL.'spacer.gif'; ?>" id="previewfile"> - - - </td> - </tr> - </table> - </div> - - </FIELDSET> - </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'];?>"/> - </td> - </tr> - </table> -</form> - -<p>* denotes a required field.</p> Deleted: logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_matching.html =================================================================== --- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_matching.html 2009-02-27 10:10:57 UTC (rev 1282) +++ logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_matching.html 2009-02-27 11:34:48 UTC (rev 1283) @@ -1,103 +0,0 @@ -<?=$t['sectionheader'];?> - -<?=$t['error'];?> -<FIELDSET> -<LEGEND> -<b>Help</b> -</LEGEND> -Enter your questions in the left column and your answers in the right column. Answers will automatically be sorted for you when you preview on the next page. Questions will remain in the order you entered them. Each time you update this question the answers will be randomly sorted. -</FIELDSET> -<form method="POST" action="<?=modurl('question/event=save/id='.$t['id'].'/type='.$t['questionType']);?>"> - <table border="0" width="100%"> - <tr> - <td> </td> - <td colspan=2> - *<b>Instructions</b><br /> - <textarea rows="5" cols="50" name="questionText" <?= $t['disableFlag'];?>><?=$t['q']->questionText;?></textarea> - </td> - </tr> - <tr> - <td colspan=3> </td> - </tr> - <tr> - <td> </td> - <td><b>Questions (or definitions)</b></td> - <td><b>Answers (or terms)</b></td> - </tr> - <? for ($x=0;$x<20;++$x) { ?> - <? $qc = $t['q']->questionChoices[$x]; ?> - <tr> - <td align="right" valign="center"> - <? if ($x <= 1) {echo '*';} else { echo ' '; } ?> - <? printf('%d',$x+1);?>. - </td> - <td valign="center"> - <input name="labels[<?=$x;?>]" type="text" value="<?=$qc->label;?>" size="40" <?= $t['disableFlag'];?>> - </td> - <td> - <? $x <= 1 ? '*' : ''; ?> - <input name="correct[<?=$x?>]" value="<?=$qc->correct?>" size="20"> - </td> - </tr> - <? } ?> - - <tr> - <td colspan=3> - -<style> - - div.over { - overflow: scroll; - height: 220px; - width: 240px; - } - -</style> - <FIELDSET valign="middle" style="width: 235px; height: 245px; padding: 2px;"> - - <select name="fileHash" - style="width: 235px;" - onChange="document.getElementById('previewfile').src='<?=appurl('classroom/viewContent/fhash=');?>' + this.value;" - > - <option value="">Select Image</option> -<?php - foreach($t['images'] as $myIzimage) - { - echo ' - <option value="'.$myIzimage['daHasha'].'"'. - ($t['q']->fileHash == $myIzimage['daHasha'] ? ' SELECTED' : '').'>'. - $myIzimage['displayname'].'</option>'; - } - -?> - </select> - - - <div class="over" align="center" valign="middle"> - <table cellpadding="2" cellspacing="0" border="0" width="100%" height="100%"> - <tr> - - <td valign="middle" align="center" height="100%" width="100%"> - <img alt="" src="<?= $t['q']->fileHash ? appurl('classroom/viewContent/fhash=').$t['q']->fileHash : IMAGES_URL.'spacer.gif'; ?>" id="previewfile"> - - - </td> - </tr> - </table> - </div> - - </FIELDSET> - </td> - </tr> - - <tr> - <td> </td> - <td> - <input type="submit" name="submit" value="Save ->"> - <input type="hidden" name="event" value="save"> - </td> - </tr> - </table> -</form> - -<p>* denotes a required field.</p> Deleted: logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_mchoice.html =================================================================== --- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_mchoice.html 2009-02-27 10:10:57 UTC (rev 1282) +++ logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_mchoice.html 2009-02-27 11:34:48 UTC (rev 1283) @@ -1,49 +0,0 @@ -<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> Deleted: logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_truefalse.html =================================================================== --- logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_truefalse.html 2009-02-27 10:10:57 UTC (rev 1282) +++ logicampus/trunk/src/logicreate/services/lobrepo/templates/exam_question_truefalse.html 2009-02-27 11:34:48 UTC (rev 1283) @@ -1,95 +0,0 @@ -<h3><?= lct('Multiple Answer Question');?></h3> - -<?=$t['error'];?> - -<form method="POST"> - <table border="0" width="600"> - <tr> - <td valign="top">*<b>Question</b></td> - <td colspan=2> - <textarea rows="5" cols="50" name="question_text" <?= $t['disableFlag'];?>><?=$t['q']->qstText;?></textarea> - </td> - </tr> - <tr> - <td colspan=3 height=25> </td> - </tr> - <tr> - <td>*<b>Answer</b></td> - <td colspan=2> </td> - </tr> - <? for ($x=0;$x<2;++$x) { ?> - <? $qc = $t['q']->qstChoices[$x]; ?> - <?// debug($t['q']);?> - <?// debug($qc);?> - <tr> - <td width=100 align="right"> - <? printf('%d',$x+1);?>. - </td> - <td width=50><?=$qc['label'];?></td> - <td> - <input name="correct" value="<?=$x;?>" type="radio" <?= $qc['correct'] ? 'CHECKED':'';?>> - </td> - </tr> - <? } ?> - <tr> - <td> </td> - <td colspan=2> -<style> - - div.over { - overflow: scroll; - height: 220px; - width: 240px; - } - -</style> - <FIELDSET valign="middle" style="width: 235px; height: 245px; padding: 2px;"> - - <select name="fileHash" - style="width: 235px;" - onChange="document.getElementById('previewfile').src='<?=appurl('classroom/viewContent/fhash=');?>' + this.value;" - > - <option value="">Select Image</option> -<?php - foreach($t['images'] as $myIzimage) - { - echo ' - <option value="'.$myIzimage['daHasha'].'"'. - ($t['q']->fileHash == $myIzimage['daHasha'] ? ' SELECTED' : '').'>'. - $myIzimage['displayname'].'</option>'; - } - -?> - </select> - - - <div class="over" align="center" valign="middle"> - <table cellpadding="2" cellspacing="0" border="0" width="100%" height="100%"> - <tr> - - <td valign="middle" align="center" height="100%" width="100%"> - <img alt="" src="<?= $t['q']->fileHash ? appurl('classroom/viewContent/fhash=').$t['q']->fileHash : IMAGES_URL.'spacer.gif'; ?>" id="previewfile"> - - - </td> - </tr> - </table> - </div> - - </FIELDSET> - </td> - </tr> - <tr> - <td> </td> - <td colspan=2> - <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'];?>"/> - </td> - </tr> - </table> - -</form> - -<p>* denotes a required field.</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |