version 1.46, 2007/08/30 00:02:20
|
version 1.47, 2007/10/17 00:27:19
|
Line 556 function draw() {
|
Line 556 function draw() {
|
if (svalue=='no') { choicewrite(' checked'); } |
if (svalue=='no') { choicewrite(' checked'); } |
choicewrite('> No</label><br />'); |
choicewrite('> No</label><br />'); |
} |
} |
|
if (pscat=='problemstatus') { |
|
tablestart('Problem Status'); |
|
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
|
choicewrite('<label><input name="stringval" value="yes"'+ |
|
' type="radio" '+callradiostringeval('yes')); |
|
if (svalue=='yes') { choicewrite(' checked'); } |
|
choicewrite('> Yes</label><br />'); |
|
choicewrite('<label><input name="stringval" value="no"'+ |
|
' type="radio" '+callradiostringeval('no')); |
|
if (svalue=='no') { choicewrite(' checked'); } |
|
choicewrite('> No, don\'t show correct/incorrect feedback.</label><br />'); |
|
choicewrite('<label><input name="stringval" value="no_feedback_ever"'+ |
|
' type="radio" '+callradiostringeval('no_feedback_ever')); |
|
if (svalue=='no_feedback_ever') { choicewrite(' checked'); } |
|
choicewrite('> No, show no feedback at all.</label><br />'); |
|
} |
if (pscat=='examtype') { |
if (pscat=='examtype') { |
tablestart('Exam Type'); |
tablestart('Exam Type'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
Line 848 function init() {
|
Line 864 function init() {
|
if (ptype=='string') { |
if (ptype=='string') { |
//sopt('default','Default'); |
//sopt('default','Default'); |
if (pscat == 'yesno') { sopt('yesno','Yes/No'); } |
if (pscat == 'yesno') { sopt('yesno','Yes/No'); } |
|
else if (pscat == 'problemstatus'){ sopt('problemstatus','Problem Status'); } |
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 == 'ip') { sopt('ip','IP Number/Name'); } |
else if (pscat == 'ip') { sopt('ip','IP Number/Name'); } |