version 1.31, 2005/06/14 02:33:18
|
version 1.32, 2005/06/20 19:52:51
|
Line 541 function draw() {
|
Line 541 function draw() {
|
if (pscat=='yesno') { |
if (pscat=='yesno') { |
tablestart('Yes/No'); |
tablestart('Yes/No'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<input name="stringval" value="yes"'+ |
choicewrite('<label><input name="stringval" value="yes"'+ |
' type="radio" '+callradiostringeval('yes')); |
' type="radio" '+callradiostringeval('yes')); |
if (svalue=='yes') { choicewrite(' checked'); } |
if (svalue=='yes') { choicewrite(' checked'); } |
choicewrite('> Yes<br />'); |
choicewrite('> Yes</label><br />'); |
choicewrite('<input name="stringval" value="no"'+ |
choicewrite('<label><input name="stringval" value="no"'+ |
' type="radio" '+callradiostringeval('no')); |
' type="radio" '+callradiostringeval('no')); |
if (svalue=='no') { choicewrite(' checked'); } |
if (svalue=='no') { choicewrite(' checked'); } |
choicewrite('> No<br />'); |
choicewrite('> No</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>'); |
choicewrite('<input name="stringval" value="online"'+ |
choicewrite('<label><input name="stringval" value="online"'+ |
' type="radio" '+callradiostringeval('online')); |
' type="radio" '+callradiostringeval('online')); |
if (svalue=='online') { choicewrite(' checked'); } |
if (svalue=='online') { choicewrite(' checked'); } |
choicewrite('> Online<br />'); |
choicewrite('> Online</label><br />'); |
choicewrite('<input name="stringval" value="checkout"'+ |
choicewrite('<label><input name="stringval" value="checkout"'+ |
' type="radio" '+callradiostringeval('checkout')); |
' type="radio" '+callradiostringeval('checkout')); |
if (svalue=='checkout') { choicewrite(' checked'); } |
if (svalue=='checkout') { choicewrite(' checked'); } |
choicewrite('> Check out<br />'); |
choicewrite('> Check out</label><br />'); |
} |
} |
if (pscat=='questiontype') { |
if (pscat=='questiontype') { |
tablestart('Question Type'); |
tablestart('Question Type'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<input name="stringval" value="problem"'+ |
choicewrite('<label><input name="stringval" value="problem"'+ |
' type="radio" '+callradiostringeval('problem')); |
' type="radio" '+callradiostringeval('problem')); |
if (svalue=='problem') { choicewrite(' checked'); } |
if (svalue=='problem') { choicewrite(' checked'); } |
choicewrite('> Standard Problem<br />'); |
choicewrite('> Standard Problem</label><br />'); |
choicewrite('<input name="stringval" value="quiz"'+ |
choicewrite('<label><input name="stringval" value="quiz"'+ |
' type="radio" '+callradiostringeval('quiz')); |
' type="radio" '+callradiostringeval('quiz')); |
if (svalue=='quiz') { choicewrite(' checked'); } |
if (svalue=='quiz') { choicewrite(' checked'); } |
choicewrite('> Quiz<br />'); |
choicewrite('> Quiz</label><br />'); |
choicewrite('<input name="stringval" value="exam"'+ |
choicewrite('<label><input name="stringval" value="exam"'+ |
' type="radio" '+callradiostringeval('exam')); |
' type="radio" '+callradiostringeval('exam')); |
if (svalue=='exam') { choicewrite(' checked'); } |
if (svalue=='exam') { choicewrite(' checked'); } |
choicewrite('> Exam<br />'); |
choicewrite('> Exam</label><br />'); |
choicewrite('<input name="stringval" value="assess"'+ |
choicewrite('<label><input name="stringval" value="assess"'+ |
' type="radio" '+callradiostringeval('assess')); |
' type="radio" '+callradiostringeval('assess')); |
if (svalue=='assess') { choicewrite(' checked'); } |
if (svalue=='assess') { choicewrite(' checked'); } |
choicewrite('> Assessment<br />'); |
choicewrite('> Assessment</label><br />'); |
choicewrite('<input name="stringval" value="survey"'+ |
choicewrite('<label><input name="stringval" value="survey"'+ |
' type="radio" '+callradiostringeval('survey')); |
' type="radio" '+callradiostringeval('survey')); |
if (svalue=='survey') { choicewrite(' checked'); } |
if (svalue=='survey') { choicewrite(' checked'); } |
choicewrite('> Survey<br />'); |
choicewrite('> Survey</label><br />'); |
choicewrite('<input name="stringval" value="form"'+ |
choicewrite('<label><input name="stringval" value="form"'+ |
' type="radio" '+callradiostringeval('form')); |
' type="radio" '+callradiostringeval('form')); |
if (svalue=='form') { choicewrite(' checked'); } |
if (svalue=='form') { choicewrite(' checked'); } |
choicewrite('> Input Form<br />'); |
choicewrite('> Input Form</label><br />'); |
choicewrite('<input name="stringval" value="library"'+ |
choicewrite('<label><input name="stringval" value="library"'+ |
' type="radio" '+callradiostringeval('library')); |
' type="radio" '+callradiostringeval('library')); |
if (svalue=='library') { choicewrite(' checked'); } |
if (svalue=='library') { choicewrite(' checked'); } |
choicewrite('> Library<br />'); |
choicewrite('> Library</label><br />'); |
} |
} |
if (pscat=='ip') { |
if (pscat=='ip') { |
tablestart('IP Number/Name'); |
tablestart('IP Number/Name'); |
Line 603 function draw() {
|
Line 603 function draw() {
|
if (pscat=='fileext') { |
if (pscat=='fileext') { |
tablestart('Allowed File Extensions'); |
tablestart('Allowed File Extensions'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<input name="radstringval" value="txt"'+ |
choicewrite('<label><input name="radstringval" value="txt"'+ |
' type="radio" '+callradiostringeval('txt')); |
' type="radio" '+callradiostringeval('txt')); |
if (svalue=='txt') { choicewrite(' checked'); } |
if (svalue=='txt') { choicewrite(' checked'); } |
choicewrite('> Plain Text<br />'); |
choicewrite('> Plain Text</label><br />'); |
choicewrite('<input name="radstringval" value="png,jpg,jpeg,gif"'+ |
choicewrite('<label><input name="radstringval" value="png,jpg,jpeg,gif"'+ |
' type="radio" '+callradiostringeval('png,jpg,jpeg,gif')); |
' type="radio" '+callradiostringeval('png,jpg,jpeg,gif')); |
if (svalue=='png,jpg,jpeg,gif') { choicewrite(' checked'); } |
if (svalue=='png,jpg,jpeg,gif') { choicewrite(' checked'); } |
choicewrite('> Picture File<br />'); |
choicewrite('> Picture File</label><br />'); |
choicewrite('<input name="radstringval" value="doc,xls,ppt"'+ |
choicewrite('<label><input name="radstringval" value="doc,xls,ppt"'+ |
' type="radio" '+callradiostringeval('doc,xls,ppt')); |
' type="radio" '+callradiostringeval('doc,xls,ppt')); |
if (svalue=='doc,xls,ppt') { choicewrite(' checked'); } |
if (svalue=='doc,xls,ppt') { choicewrite(' checked'); } |
choicewrite('> Office Document<br />'); |
choicewrite('> Office Document</label><br />'); |
choicewrite('<input name="stringval" size="20" value="'+svalue+ |
choicewrite('<input name="stringval" size="20" value="'+svalue+ |
'" onChange="parent.stringeval()">'); |
'" onChange="parent.stringeval()">'); |
} |
} |