version 1.46, 2007/08/30 00:02:20
|
version 1.50, 2008/04/05 16:11:03
|
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="answer"'+ |
|
' type="radio" '+callradiostringeval('answer')); |
|
if (svalue=='answer') { choicewrite(' checked'); } |
|
choicewrite('> Yes, and show correct answer if they exceed the maximum number of tries.</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 801 function init() {
|
Line 821 function init() {
|
} |
} |
|
|
if (ptype=='date') { |
if (ptype=='date') { |
sopt('default','Default'); |
if (pscat != 'interval') { |
sopt('start','Starting Date'); |
sopt('default','Default'); |
sopt('end','Ending Date'); |
sopt('start','Starting Date'); |
sopt('interval','Time Interval'); |
sopt('end','Ending Date'); |
|
} else { |
|
sopt('interval','Time Interval'); |
|
} |
|
|
if ((pvalue!='') && (typeof(pvalue)!="undefined")) { |
if ((pvalue!='') && (typeof(pvalue)!="undefined")) { |
cdate.setTime(pvalue*1000); |
cdate.setTime(pvalue*1000); |
} else { |
} else { |
Line 848 function init() {
|
Line 871 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'); } |