version 1.63, 2011/12/08 21:37:51
|
version 1.64, 2012/03/13 05:37:55
|
Line 681 function draw() {
|
Line 681 function draw() {
|
if (svalue=='default') { choicewrite(' checked="checked"'); } |
if (svalue=='default') { choicewrite(' checked="checked"'); } |
choicewrite(' /> Default (only bubblesheet grading is lenient)</label><br />'); |
choicewrite(' /> Default (only bubblesheet grading is lenient)</label><br />'); |
} |
} |
|
if (pscat=='discussvote') { |
|
tablestart('Discussion Voting'); |
|
choicewrite('<tr><td>Value:</td><td colspan="2">'); |
|
choicewrite('<label><input name="stringval" value="yes"'+ |
|
' type="radio" '+callradiostringeval('yes')); |
|
if (svalue=='yes') { choicewrite(' checked="checked"'); } |
|
choicewrite(' /> Yes</label><br />'); |
|
choicewrite('<label><input name="stringval" value="notended"'+ |
|
' type="radio" '+callradiostringeval('notended')); |
|
if (svalue=='notended') { choicewrite(' checked="checked"'); } |
|
choicewrite(' /> Yes, unless discussion ended</label><br />'); |
|
choicewrite('<label><input name="stringval" value="no"'+ |
|
' type="radio" '+callradiostringeval('no')); |
|
if (svalue=='no') { choicewrite(' checked="checked"'); } |
|
choicewrite(' /> No</label><br />'); |
|
} |
if (pscat=='ip') { |
if (pscat=='ip') { |
tablestart('IP Number/Name'); |
tablestart('IP Number/Name'); |
choicewrite('<tr><td>Value:</td><td colspan="2">'); |
choicewrite('<tr><td>Value:</td><td colspan="2">'); |
Line 949 function init() {
|
Line 965 function init() {
|
else if (pscat == 'examtype') { sopt('examtype','Exam Type'); } |
else if (pscat == 'examtype') { sopt('examtype','Exam Type'); } |
else if (pscat == 'questiontype') { sopt('questiontype','Question Type'); } |
else if (pscat == 'questiontype') { sopt('questiontype','Question Type'); } |
else if (pscat == 'lenient') { sopt('lenient','Lenient Grading (Partial Credit)'); } |
else if (pscat == 'lenient') { sopt('lenient','Lenient Grading (Partial Credit)'); } |
|
else if (pscat == 'discussvote') { sopt('discussvote','Discussion Voting'); } |
else if (pscat == 'ip') { sopt('ip','IP Number/Name'); } |
else if (pscat == 'ip') { sopt('ip','IP Number/Name'); } |
else if (pscat == 'fileext') { sopt('fileext','File Extension'); } |
else if (pscat == 'fileext') { sopt('fileext','File Extension'); } |
else if (pscat == 'useslots') { sopt('useslots','Slots control access'); } |
else if (pscat == 'useslots') { sopt('useslots','Slots control access'); } |