You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1536 lines
46 KiB
1536 lines
46 KiB
<!-- $Id: qdef.htt,v 1.11 2006/01/17 20:37:50 ddoughty Exp $ -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE><%=PHRASE.328%> <%=QUESTION.id%></TITLE>
|
|
<META name="generator" content="S. Caldwell">
|
|
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
|
|
<STYLE>
|
|
<!--
|
|
SELECT {font-size: 10px;}
|
|
INPUT {font-size: 10px;height: 20;}
|
|
TEXTAREA {font-size: 12px;}
|
|
-->
|
|
</STYLE>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.INCLUDEJS global.js %>
|
|
<script language="JavaScript">
|
|
<!--
|
|
var down, csec, syncform, ChoiceCount, sButton, bNSNG;
|
|
function wdw_onLoad() {
|
|
var n,s,oform;
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mtx,mtr,plc EXCLUDE %>
|
|
ChoiceCount=<%=FORM.numanswers%>;
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mtx,mtr INCLUDE %>
|
|
RowCount=<%=FORM.numarows%>;
|
|
ColCount=<%=FORM.numacols%>;
|
|
<%=SYSTEM.STARTIF?FORM.lblall Y INCLUDE %>
|
|
LblAll="<%=FORM.lblall%>";
|
|
<%=SYSTEM.ELSE%>
|
|
LblAll="<%=QUESTION.lblall%>";
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.ENDIF%>
|
|
SetSubjSkill();
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mca INCLUDE %>
|
|
SetQnxt();
|
|
<%=SYSTEM.ENDIF%>
|
|
syncform = top.findex.document.syncform;
|
|
syncform.csec.value = <%=SYSTEM.autologout%>;
|
|
monitor();
|
|
<%=SYSTEM.STARTIF?QUESTION.reload Y INCLUDE %>
|
|
oform=document.form3;
|
|
oform.submit();
|
|
alert("<%=PHRASE.556%>");
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?SYSTEM.languagesupport TRUE INCLUDE %>
|
|
if ("<%=TEST.deliverlanguage%>" == "") {
|
|
langselect(document.form1.languageext);
|
|
} else {
|
|
for (var x=0;x<document.form1.languageext.options.length;x++) {
|
|
if ( document.form1.languageext.options[x].value == "<%=TEST.deliverlanguage%>") {
|
|
document.form1.languageext.selectedIndex = x;
|
|
langselect(document.form1.languageext);
|
|
}
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcs,mcm,lik INCLUDE %>
|
|
setTextareas(document.form1);
|
|
<%=SYSTEM.ENDIF%>
|
|
}
|
|
|
|
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
|
|
bNSNG = 0;
|
|
<%=SYSTEM.ELSE%>
|
|
bNSNG = 1;
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
<%=SYSTEM.STARTIF?SYSTEM.languagesupport TRUE INCLUDE %>
|
|
<%=SYSTEM.INCLUDEJS langsptqdef.js %>
|
|
<%=SYSTEM.ELSE%>
|
|
<%=SYSTEM.INCLUDEJS langsptnone.js %>
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
function monitor() {
|
|
monitorrepeat();
|
|
}
|
|
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcs,mcm,lik INCLUDE %>
|
|
function setTextareas(myform) {
|
|
var i, mytextarea;
|
|
for (i = 0; i < ChoiceCount; i++) {
|
|
mytextarea = eval("myform.txtchoice"+i);
|
|
changeTextarea(mytextarea);
|
|
}
|
|
}
|
|
|
|
function changeTextarea(obj) {
|
|
var len = 45;
|
|
var inc = 22;
|
|
height = obj.style.height;
|
|
height = parseInt(height);
|
|
if ( obj.value.length <= len ) {
|
|
if ( height != inc ) {
|
|
obj.style.height = inc;
|
|
}
|
|
return true;
|
|
} else if ( obj.value.length > len && obj.value.length < (len * 2) ) {
|
|
if ( height != (inc * 3) ) {
|
|
len = len + 10;
|
|
obj.style.height = (inc * 3);
|
|
}
|
|
return true;
|
|
} else if ( obj.value.length > (len * 2) ) {
|
|
if ( height != (inc * 5) ) {
|
|
len = len + 10;
|
|
obj.style.height = (inc * 5);
|
|
}
|
|
return true;
|
|
} else {
|
|
if ( obj.value.length != (inc * 5) ) {
|
|
height = (inc * 5);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
function monitorrepeat() {
|
|
csec=syncform.csec.value;
|
|
csec--;
|
|
syncform.csec.value=csec;
|
|
if ((csec > 0)) {
|
|
down=setTimeout("monitorrepeat()",1000);
|
|
}
|
|
}
|
|
|
|
function reset_autotimer() {
|
|
syncform.csec.value=<%=SYSTEM.autologout%>;
|
|
}
|
|
|
|
function sbaidChange(oform) {
|
|
var s,i;
|
|
reset_autotimer()
|
|
i=oform.sbaid.selectedIndex;
|
|
s=oform.sbaid.options[i].value;
|
|
oform.subjarea.value=s;
|
|
i=oform.skill.selectedIndex;
|
|
s+="."+oform.skill.options[i].value;
|
|
oform.subj.value=s;
|
|
return true;
|
|
}
|
|
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mca INCLUDE %>
|
|
function SetQnxt() {
|
|
var qnxtAry;
|
|
qnxtAry = document.form1.qnxt.value.split(";");
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
eval("document.form1.qnxt"+iAnswerNo+".value = qnxtAry[iAnswerNo]");
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
function SetSubjSkill() {
|
|
var iSkill, sSubj, nSep, nLen,i,j;
|
|
sSubj = document.form1.subj.value;
|
|
nSep = sSubj.indexOf(".",0);
|
|
if (nSep == -1) {
|
|
if (sSubj == "") {
|
|
document.form1.sbaid.selectedIndex = 0;
|
|
document.form1.subjarea.value = document.form1.sbaid.options[0].value;
|
|
} else {
|
|
document.form1.subjarea.value = sSubj;
|
|
}
|
|
document.form1.skill.selectedIndex = 0;
|
|
} else {
|
|
document.form1.subjarea.value = sSubj.substring(0,nSep);
|
|
nSep++;
|
|
nLen = sSubj.length + 1;
|
|
sSkill = sSubj.substring( nSep, nLen);
|
|
document.form1.skill.selectedIndex = parseInt(sSkill);
|
|
}
|
|
for (i=0; i<document.form1.sbaid.options.length; i++) {
|
|
if (document.form1.sbaid.options[i].value == document.form1.subjarea.value) {
|
|
document.form1.sbaid.selectedIndex=i;
|
|
}
|
|
}
|
|
if (document.form1.qim.selectedIndex == -1) {
|
|
document.form1.qim.selectedIndex = 0;
|
|
}
|
|
}
|
|
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcs INCLUDE %>
|
|
function horiz_onClick(objForm) {
|
|
var i, sti;
|
|
objForm.qalb.options[0].selected = true;
|
|
objForm.left_be.value=prompt("Left bookend:");
|
|
objForm.right_be.value=prompt("Right bookend:");
|
|
objForm.sub_text.value = "hhh::";
|
|
if (objForm.sub_text_num.value > 0) {
|
|
for (i = 1; i <= objForm.sub_text_num.value; i++) {
|
|
sti = eval("objForm.sub_text"+i);
|
|
sti.value = "";
|
|
}
|
|
}
|
|
objForm.sub_text_num.value=prompt("How many text areas below scale? (Default is 0)");
|
|
if (objForm.sub_text_num.value > 0) {
|
|
for (i = 1; i < objForm.sub_text_num.value; i++) {
|
|
objForm.sub_text.value += prompt("Enter text for text area "+i+":");
|
|
objForm.sub_text.value += "::"
|
|
}
|
|
objForm.sub_text.value += prompt("Enter text for text area "+i+":");
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp lik INCLUDE %>
|
|
function horiz_onClick(objForm) {
|
|
var i, sti;
|
|
objForm.qalb.options[0].selected = true;
|
|
objForm.left_be.value=prompt("Left bookend:");
|
|
objForm.right_be.value=prompt("Right bookend:");
|
|
objForm.sub_text.value = "hhh::";
|
|
if (objForm.sub_text_num.value > 0) {
|
|
for (i = 1; i <= objForm.sub_text_num.value; i++) {
|
|
sti = eval("objForm.sub_text"+i);
|
|
sti.value = "";
|
|
}
|
|
}
|
|
objForm.sub_text_num.value=prompt("How many text areas below scale? (Default is 0)");
|
|
if (objForm.sub_text_num.value > 0) {
|
|
for (i = 1; i < objForm.sub_text_num.value; i++) {
|
|
objForm.sub_text.value += prompt("Enter text for text area "+i+":");
|
|
objForm.sub_text.value += "::"
|
|
}
|
|
objForm.sub_text.value += prompt("Enter text for text area "+i+":");
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
function btn_preview_click(objForm) {
|
|
var wdw, sURL, nIdx, objForm1;
|
|
|
|
reset_autotimer();
|
|
objForm1= document.form1;
|
|
objForm.qalb.value = objForm1.qalb.value;
|
|
objForm.qid.value = objForm1.qid.value;
|
|
objForm.qtx.value = objForm1.qtx.value;
|
|
objForm.qca.value = objForm1.qca.value;
|
|
objForm.qia.value = objForm1.qia.value;
|
|
if (objForm1.layout[0].checked) {
|
|
objForm.layout.value = objForm1.layout[0].value;
|
|
}
|
|
if (objForm1.layout[1].checked) {
|
|
objForm.layout.value = objForm1.layout[1].value;
|
|
}
|
|
if (objForm1.layout[2].checked) {
|
|
objForm.layout.value = objForm1.layout[2].value;
|
|
}
|
|
if (objForm1.layout[3].checked) {
|
|
objForm.layout.value = objForm1.layout[3].value;
|
|
}
|
|
if (objForm1.layout[4].checked) {
|
|
objForm.layout.value = objForm1.layout[4].value;
|
|
}
|
|
nIdx = objForm1.qim.selectedIndex;
|
|
objForm.qim.value = objForm1.qim.options[nIdx].value;
|
|
objForm.subj.value = objForm1.subj.value;
|
|
objForm.localimg.value = objForm1.upimg.value;
|
|
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp tf INCLUDE %>
|
|
if (objForm1.rbqca[0].checked) {
|
|
objForm.qca.value = objForm1.rbqca[0].value;
|
|
objForm.qia.value = objForm1.rbqca[1].value;
|
|
} else {
|
|
if (objForm1.rbqca[1].checked) {
|
|
objForm.qca.value = objForm1.rbqca[1].value;
|
|
objForm.qia.value = objForm1.rbqca[0].value;
|
|
} else {
|
|
if (objForm1.rbqca[2].checked) {
|
|
objForm.qca.value = objForm1.rbqca[2].value;
|
|
objForm.qia.value = objForm1.rbqca[3].value;
|
|
} else {
|
|
objForm.qca.value = objForm1.rbqca[3].value;
|
|
objForm.qia.value = objForm1.rbqca[2].value;
|
|
}
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcs INCLUDE %>
|
|
nIdx = objForm1.qalb.selectedIndex;
|
|
objForm.qalb.value = objForm1.qalb.options[nIdx].value;
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
if (ChoiceCount == 1) {
|
|
if (objForm1.choice.checked) {
|
|
objForm.qca.value = eval("objForm1.txtchoice"+objForm1.choice.value+".value");
|
|
} else {
|
|
objForm.qia.value += eval("objForm1.txtchoice"+objForm1.choice.value+".value")+";";
|
|
}
|
|
} else {
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
if (objForm1.choice[iAnswerNo].checked) {
|
|
objForm.qca.value = eval("objForm1.txtchoice"+objForm1.choice[iAnswerNo].value+".value");
|
|
} else {
|
|
objForm.qia.value += eval("objForm1.txtchoice"+objForm1.choice[iAnswerNo].value+".value")+";";
|
|
}
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp lik INCLUDE %>
|
|
nIdx = objForm1.qalb.selectedIndex;
|
|
objForm.qalb.value = objForm1.qalb.options[nIdx].value;
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
if (ChoiceCount == 1) {
|
|
if (objForm1.choice.checked) {
|
|
objForm.qca.value = eval("objForm1.txtchoice"+objForm1.choice.value+".value");
|
|
} else {
|
|
objForm.qia.value += eval("objForm1.txtchoice"+objForm1.choice.value+".value")+";";
|
|
}
|
|
} else {
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
if (objForm1.choice[iAnswerNo].checked) {
|
|
objForm.qca.value = eval("objForm1.txtchoice"+objForm1.choice[iAnswerNo].value+".value");
|
|
} else {
|
|
objForm.qia.value += eval("objForm1.txtchoice"+objForm1.choice[iAnswerNo].value+".value")+";";
|
|
}
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mca INCLUDE %>
|
|
nIdx = objForm1.qalb.selectedIndex;
|
|
objForm.qalb.value = objForm1.qalb.options[nIdx].value;
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
objForm.qia.value += eval("objForm1.txtchoice"+iAnswerNo+".value")+";";
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcm INCLUDE %>
|
|
nIdx = objForm1.qalb.selectedIndex;
|
|
objForm.qalb.value = objForm1.qalb.options[nIdx].value;
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
if (eval("objForm1.choice"+iAnswerNo+".checked")) {
|
|
objForm.qca.value += eval("objForm1.txtchoice"+iAnswerNo+".value")+";";
|
|
} else {
|
|
objForm.qia.value += eval("objForm1.txtchoice"+iAnswerNo+".value")+";";
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mch INCLUDE %>
|
|
nIdx = objForm1.qalb.selectedIndex;
|
|
objForm.qalb.value = objForm1.qalb.options[nIdx].value;
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
objForm.qca.value += eval("objForm1.choice"+iAnswerNo+".value")+";";
|
|
objForm.qia.value += eval("objForm1.txtchoice"+iAnswerNo+".value")+";";
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp ord INCLUDE %>
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
objForm.qca.value += eval("objForm1.txtchoice"+iAnswerNo+".value")+";";
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
wdw=window.open("", "PreviewWindow", "toolbar=no,scrollbars=yes");
|
|
wdw.document.write("One Moment Please ...");
|
|
objForm.submit();
|
|
return false;
|
|
}
|
|
|
|
function savechanges_onClick(objForm) {
|
|
var fNarrativeSize, iAnswerNo;
|
|
|
|
<%=SYSTEM.STARTIF?TEST.prelease Y EXCLUDE %>
|
|
if (sButton == "replaceit") {
|
|
objForm.frm.value="4";
|
|
return true;
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.new Y EXCLUDE %>
|
|
objForm.qil.value = (objForm.chkqil.checked) ? "Y" : "N";
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp plc INCLUDE %>
|
|
objForm.qca.value = (objForm.chkexitpt.checked) ? "Y" : "N";
|
|
<%=SYSTEM.ENDIF%>
|
|
objForm.subj.value = objForm.subjarea.value;
|
|
objForm.subj.value += "."+ objForm.skill.selectedIndex;
|
|
if (objForm.qtx.value == "") {
|
|
alert("You must provide AT LEAST the question text and the correct answer(s).");
|
|
return false;
|
|
} else {
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp tf INCLUDE %>
|
|
if (objForm.rbqca[0].checked) {
|
|
objForm.qca.value = objForm.rbqca[0].value;
|
|
objForm.qia.value = objForm.rbqca[1].value;
|
|
} else {
|
|
if (objForm.rbqca[1].checked) {
|
|
objForm.qca.value = objForm.rbqca[1].value;
|
|
objForm.qia.value = objForm.rbqca[0].value;
|
|
} else {
|
|
if (objForm.rbqca[2].checked) {
|
|
objForm.qca.value = objForm.rbqca[2].value;
|
|
objForm.qia.value = objForm.rbqca[3].value;
|
|
} else {
|
|
objForm.qca.value = objForm.rbqca[3].value;
|
|
objForm.qia.value = objForm.rbqca[2].value;
|
|
}
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcs INCLUDE %>
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
if (ChoiceCount == 1) {
|
|
if (objForm.choice.checked) {
|
|
objForm.qca.value = eval("objForm.txtchoice"+objForm.choice.value+".value");
|
|
} else {
|
|
objForm.qia.value += eval("objForm.txtchoice"+objForm.choice.value+".value")+";";
|
|
}
|
|
} else {
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
if (objForm.choice[iAnswerNo].checked) {
|
|
objForm.qca.value = eval("objForm.txtchoice"+objForm.choice[iAnswerNo].value+".value");
|
|
} else {
|
|
objForm.qia.value += eval("objForm.txtchoice"+objForm.choice[iAnswerNo].value+".value")+";";
|
|
}
|
|
}
|
|
}
|
|
if (objForm.sub_text.value != "") {
|
|
var sta = new Array();
|
|
var stca = new Array();
|
|
stca = objForm.sub_text.value.split(/::/);
|
|
if (stca[0] == "hhh") {
|
|
objForm.sub_text.value = objForm.sub_text.value.substr(5)
|
|
} else {
|
|
objForm.sub_text.value = "";
|
|
for (iAnswerNo = 1; iAnswerNo <= objForm.sub_text_num.value; iAnswerNo++) {
|
|
sta[iAnswerNo-1] = eval("objForm.sub_text"+iAnswerNo+".value");
|
|
}
|
|
objForm.sub_text.value = sta.join('::');
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp lik INCLUDE %>
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
if (ChoiceCount == 1) {
|
|
if (objForm.choice.checked) {
|
|
objForm.qca.value = eval("objForm.txtchoice"+objForm.choice.value+".value");
|
|
} else {
|
|
objForm.qia.value += eval("objForm.txtchoice"+objForm.choice.value+".value")+";";
|
|
}
|
|
} else {
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
if (objForm.choice[iAnswerNo].checked) {
|
|
objForm.qca.value = eval("objForm.txtchoice"+objForm.choice[iAnswerNo].value+".value");
|
|
} else {
|
|
objForm.qia.value += eval("objForm.txtchoice"+objForm.choice[iAnswerNo].value+".value")+";";
|
|
}
|
|
}
|
|
}
|
|
if (objForm.sub_text.value != "") {
|
|
var sta = new Array();
|
|
var stca = new Array();
|
|
stca = objForm.sub_text.value.split(/::/);
|
|
if (stca[0] == "hhh") {
|
|
objForm.sub_text.value = objForm.sub_text.value.substr(5)
|
|
} else {
|
|
objForm.sub_text.value = "";
|
|
for (iAnswerNo = 1; iAnswerNo <= objForm.sub_text_num.value; iAnswerNo++) {
|
|
sta[iAnswerNo-1] = eval("objForm.sub_text"+iAnswerNo+".value");
|
|
}
|
|
objForm.sub_text.value = sta.join('::');
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mca INCLUDE %>
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
objForm.qnxt.value = "";
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
objForm.qia.value += eval("objForm.txtchoice"+iAnswerNo+".value")+";";
|
|
objForm.qnxt.value += eval("objForm.qnxt"+iAnswerNo+".value")+";";
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcm INCLUDE %>
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
if (eval("objForm.choice"+iAnswerNo+".checked")) {
|
|
objForm.qca.value += eval("objForm.txtchoice"+iAnswerNo+".value")+";";
|
|
} else {
|
|
objForm.qia.value += eval("objForm.txtchoice"+iAnswerNo+".value")+";";
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mtx INCLUDE %>
|
|
// Put checked boxes into qca
|
|
objForm.qca.value = "";
|
|
for (iRowNo = 0; iRowNo < RowCount; iRowNo++) {
|
|
for (iColNo = 0; iColNo < ColCount; iColNo++) {
|
|
if (eval("objForm.ch"+iRowNo+iColNo+".checked")) {
|
|
objForm.qca.value += "1;";
|
|
} else {
|
|
objForm.qca.value += "xxx;";
|
|
}
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mtr INCLUDE %>
|
|
// Put selected options into qca
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mtx,mtr INCLUDE %>
|
|
if (LblAll == "Y") {
|
|
// Put headings into qia
|
|
objForm.qia.value = RowCount+"::"+ColCount+"::";
|
|
for (iRowNo = 0; iRowNo < RowCount; iRowNo++) {
|
|
for (iColNo = 0; iColNo < ColCount; iColNo++) {
|
|
objForm.qia.value += eval("objForm.lbl"+iRowNo+iColNo+".value")+";";
|
|
}
|
|
}
|
|
} else {
|
|
// Put row and col headings into qia
|
|
objForm.qia.value = "";
|
|
for (iRowNo = 0; iRowNo < RowCount; iRowNo++) {
|
|
objForm.qia.value += eval("objForm.row"+iRowNo+".value")+";";
|
|
}
|
|
objForm.qia.value += "::"+RowCount+"::"+ColCount+"::";
|
|
for (iColNo = 0; iColNo < ColCount; iColNo++) {
|
|
objForm.qia.value += eval("objForm.col"+iColNo+".value")+";";
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp esa INCLUDE %>
|
|
var i,j,s,t,u;
|
|
t=unescape("%0D")+unescape("%0A");
|
|
s=objForm.qca.value;
|
|
j=0;
|
|
i=s.indexOf(t,j);
|
|
if (i != -1) {
|
|
objForm.qca.value="";
|
|
while (i != -1) {
|
|
u=s.substring(j,i);
|
|
if (u != "") {
|
|
if (objForm.qca.value != "") {
|
|
objForm.qca.value+=";";
|
|
}
|
|
objForm.qca.value+=u;
|
|
}
|
|
j=i+t.length;
|
|
i=s.indexOf(t,j);
|
|
}
|
|
i=s.length+1;
|
|
u=s.substring(j,i);
|
|
if (u != "") {
|
|
if (objForm.qca.value != "") {
|
|
objForm.qca.value+=";";
|
|
}
|
|
objForm.qca.value+=u;
|
|
}
|
|
}
|
|
if (objForm.qca.value == "") {
|
|
alert("You must provide AT LEAST the question text and the correct answer(s).");
|
|
return false;
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp nrt INCLUDE %>
|
|
fNarrativeSize = parseInt(objForm.qca.value);
|
|
if ((fNarrativeSize < 1) || (fNarrativeSize > 16384)) {
|
|
alert("The maximum input text length must be between 1 and 16384 inclusive.");
|
|
return false;
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mch INCLUDE %>
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
objForm.qca.value += eval("objForm.choice"+iAnswerNo+".value")+";";
|
|
objForm.qia.value += eval("objForm.txtchoice"+iAnswerNo+".value")+";";
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp ord INCLUDE %>
|
|
objForm.qca.value = "";
|
|
objForm.qia.value = "";
|
|
for (iAnswerNo = 0; iAnswerNo < ChoiceCount; iAnswerNo++) {
|
|
objForm.qca.value += eval("objForm.txtchoice"+iAnswerNo+".value")+";";
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp plc EXCLUDE %>
|
|
objForm.qrm.value = objForm.qrm.value.replace(/\n/g,"<br>");
|
|
objForm.qrm.value = objForm.qrm.value.replace(/\&/g,"");
|
|
objForm.qcprmpt.value = objForm.qcprmpt.value.replace(/\n/g,"<br>");
|
|
objForm.qcprmpt.value = objForm.qcprmpt.value.replace(/\&/g,"");
|
|
objForm.qcprmpt.value = objForm.qcprmpt.value.replace(/\;/g,"");
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
if (sButton == "preview") {
|
|
objForm.frm.value="3";
|
|
return true;
|
|
} else {
|
|
objForm.frm.value="2";
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
|
|
function save_click(oForm) {
|
|
sButton="save";
|
|
if (savechanges_onClick(oForm)) {
|
|
<!--hkh 2/3/04 popup message if embedded/hyperLinked not selected for Exhibit-->
|
|
if ((oForm.upimg.value != "") && (oForm.qim.value == "0")) {
|
|
alert ("<%=PHRASE.755%>");
|
|
return false;
|
|
}
|
|
oForm.submit();
|
|
return false;
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
<%=SYSTEM.STARTIF?TEST.prelease Y EXCLUDE %>
|
|
function select_question(oform) {
|
|
var i,n,s,styp,swarn,nNoOpts;
|
|
swarn="";
|
|
i=oform.newqid.selectedIndex;
|
|
if (i > 0) {
|
|
s=oform.newqid.options[i].value;
|
|
swarn="<%=PHRASE.682%>";
|
|
swarn+=unescape("%0D")+unescape("%0A");
|
|
swarn+=unescape("%0D")+unescape("%0A");
|
|
swarn+="<%=PHRASE.683%>";
|
|
if (s.substring(0,1)=="*") {
|
|
n=s.length+1;
|
|
styp=s.substring(1,n);
|
|
if (oform.qtp.value == styp) {
|
|
alert("You cannot replace a question with the same type of question.");
|
|
swarn="";
|
|
} else {
|
|
if ((styp == "mcs") || (styp == "mcm") || (styp == "mch") || (styp == "ord") || (styp == "mca") || (styp == "lik")) {
|
|
nNoOpts=prompt("How many answers (2 - 25) ?","3");
|
|
if (nNoOpts) {
|
|
oform.numanswers.value=nNoOpts;
|
|
} else {
|
|
swarn="";
|
|
}
|
|
}
|
|
}
|
|
if (swarn != "") {
|
|
oform.qtp.value=styp;
|
|
}
|
|
} else {
|
|
if (oform.qid.value == s) {
|
|
alert("You cannot replace a question with itself.");
|
|
swarn="";
|
|
}
|
|
}
|
|
}
|
|
if (swarn == "") {
|
|
oform.newqid.selectedIndex=0;
|
|
return false;
|
|
} else {
|
|
if (confirm(swarn)) {
|
|
if (confirm("<%=PHRASE.685%>")) {
|
|
oform.archival.value="Y";
|
|
} else {
|
|
oform.archival.value="N";
|
|
}
|
|
sButton="replaceit";
|
|
oform.frm.value="4";
|
|
oform.submit();
|
|
return true;
|
|
} else {
|
|
oform.newqid.selectedIndex=0;
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
<%=SYSTEM.STARTIF?TEST.seq adp INCLUDE %>
|
|
function selectQnxt(thing) {
|
|
var oform=thing.form;
|
|
if (thing.name=="qnxtc") {
|
|
oform.qnxtcsel[0].checked=true;
|
|
} else {
|
|
if ((thing.name=="qnxtcsubj") || (thing.name=="qnxtcskill")) {
|
|
oform.qnxtcsel[1].checked=true;
|
|
} else {
|
|
if (thing.name=="qnxti") {
|
|
oform.qnxtisel[0].checked=true;
|
|
} else {
|
|
if ((thing.name=="qnxtisubj") || (thing.name=="qnxtiskill")) {
|
|
oform.qnxtisel[1].checked=true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
<%=SYSTEM.ENDIF%>
|
|
|
|
function clone_question(oform) {
|
|
var i,n,s,swarn;
|
|
swarn="";
|
|
i=oform.clonecnt.selectedIndex;
|
|
if (i > 0) {
|
|
swarn="<%=PHRASE.684%>";
|
|
if (confirm(swarn)) {
|
|
sButton="cloneit";
|
|
oform.frm.value="5";
|
|
oform.submit();
|
|
return true;
|
|
}
|
|
}
|
|
oform.clonecnt.selectedIndex=0;
|
|
return false;
|
|
}
|
|
window.onload=wdw_onLoad;
|
|
// -->
|
|
</SCRIPT>
|
|
</HEAD>
|
|
|
|
<BODY BACKGROUND="<%=SYSTEM.BACKGROUND%>" BGCOLOR="<%=SYSTEM.BGCOLOR%>"
|
|
TEXT="<%=SYSTEM.TEXT%>" LINK="<%=SYSTEM.LINK%>"
|
|
VLINK="<%=SYSTEM.VLINK%>" ALINK="<%=SYSTEM.ALINK%>">
|
|
<CENTER>
|
|
<FORM METHOD=POST ACTION="<%=PATHS.cgiroot%>/qdef.pl" Name="form1"
|
|
enctype="multipart/form-data" onSubmit="return savechanges_onClick(document.form1)">
|
|
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
|
|
<input type=hidden name="tstid" value="<%=TEST.id%>">
|
|
<input type=hidden name="subj" value="<%=QUESTION.subj%>">
|
|
<input type=hidden name="qid" value="<%=QUESTION.id%>">
|
|
<input type=hidden name="new" value="<%=QUESTION.new%>">
|
|
<input type=hidden name="qil" value="<%=QUESTION.qil%>">
|
|
<input type=hidden name="qtp" value="<%=QUESTION.qtp%>">
|
|
<INPUT NAME="newq" TYPE=HIDDEN VALUE="<%=FORM.newq%>">
|
|
<input type=hidden name="savechanges" value="Y">
|
|
<input type=hidden name="frm" value="2">
|
|
<input type=hidden name="numanswers" value="<%=FORM.numanswers%>">
|
|
<input type=hidden name="archival" value="">
|
|
<!--%=SYSTEM.STARTIF?TEST.seq adp INCLUDE %>
|
|
<input type=hidden name="qnxtc" value="<%=QUESTION.qnxtc%>">
|
|
<input type=hidden name="qnxti" value="<%=QUESTION.qnxti%>">
|
|
<%=SYSTEM.ENDIF%-->
|
|
<INPUT TYPE="HIDDEN" NAME="lang" VALUE="<%=SESSION.lang%>">
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=3 WIDTH="100%">
|
|
<TR>
|
|
<td rowspan=2 align="center" valign="middle" nowrap>
|
|
<FONT SIZE="2" COLOR="<%=SYSTEM.HEADERCOLOR%>">
|
|
CLONING or<br>REPLACEMENT
|
|
</FONT>
|
|
</td>
|
|
<td align="right" valign="middle" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.560%> <br>
|
|
</FONT>
|
|
</td>
|
|
<td align="left" valign="middle" nowrap>
|
|
<FONT SIZE="2">
|
|
<select name="clonecnt" onChange="return clone_question(this.form)">
|
|
<option value="">
|
|
<option value="1">1
|
|
<option value="2">2
|
|
<option value="3">3
|
|
<option value="4">4
|
|
<option value="5">5
|
|
<option value="6">6
|
|
<option value="7">7
|
|
<option value="8">8
|
|
<option value="9">9
|
|
<option value="10">10
|
|
</select>
|
|
<%=PHRASE.561%> <BR>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.STARTIF?TEST.prelease Y EXCLUDE %>
|
|
<TR>
|
|
<td align="right" valign="middle" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.680%> <br>
|
|
</FONT>
|
|
</td>
|
|
<td align="left" valign="middle" nowrap>
|
|
<FONT SIZE="2">
|
|
<SELECT NAME="newqid" onChange="return select_question(this.form)">
|
|
<option value="">
|
|
<option value="*tf"> <%=PHRASE.286%> <%=PHRASE.438%>
|
|
<option value="*mcs"> <%=PHRASE.286%> <%=PHRASE.50%>
|
|
<option value="*mcm"> <%=PHRASE.286%> <%=PHRASE.49%>
|
|
<option value="*esa"> <%=PHRASE.286%> <%=PHRASE.212%>
|
|
<option value="*nrt"> <%=PHRASE.286%> <%=PHRASE.202%>
|
|
<option value="*mch"> <%=PHRASE.286%> <%=PHRASE.48%>
|
|
<option value="*ord"> <%=PHRASE.286%> <%=PHRASE.52%>
|
|
<option value="*lik"> <%=PHRASE.286%> Likert Scale
|
|
<%=SYSTEM.STARTIF?TEST.seq svy,dmg INCLUDE %>
|
|
<option value="*mtx"> <%=PHRASE.286%> Matrix
|
|
<option value="*mtr"> <%=PHRASE.286%> Ranked Matrix
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?TEST.seq adp,dmg INCLUDE %>
|
|
<option value="*mca"> <%=PHRASE.286%> Fork
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=TEST.questionlist%>
|
|
</SELECT
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
</TABLE>
|
|
<br>
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH="100%">
|
|
<TR>
|
|
<TD align="center" valign="top">
|
|
<TABLE CELLSPACING=0 CELLPADDING=2 BORDER=1 width=100%>
|
|
<TR>
|
|
<td align="center" valign="top" nowrap>
|
|
<FONT SIZE="1" COLOR="<%=SYSTEM.HEADERCOLOR%>">
|
|
<B><U><%=QUESTION.id%></U><BR>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp tf INCLUDE %>
|
|
<%=PHRASE.439%>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mtx,mtr INCLUDE %>
|
|
Matrix
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcm INCLUDE %>
|
|
<%=PHRASE.276%><BR><%=PHRASE.275%>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp lik INCLUDE %>
|
|
<%=PHRASE.947%><BR><%=PHRASE.382%>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcs,mca INCLUDE %>
|
|
<%=PHRASE.276%><BR><%=PHRASE.382%>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp esa INCLUDE %>
|
|
<%=PHRASE.213%>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp nrt INCLUDE %>
|
|
<%=PHRASE.201%>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mch INCLUDE %>
|
|
<%=PHRASE.269%>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp ord INCLUDE %>
|
|
<%=PHRASE.313%>
|
|
<%=SYSTEM.ENDIF%>
|
|
</B><BR>
|
|
<HR>
|
|
<%=SYSTEM.STARTIF?QUESTION.new Y INCLUDE %>
|
|
<FONT COLOR="<%=SYSTEM.ERRORCOLOR%>"><%=PHRASE.252%></FONT><BR>
|
|
<%=SYSTEM.ELSE%>
|
|
<%=PHRASE.300%> <INPUT TYPE=CHECKBOX NAME="chkqil" <%=QUESTION.chkobs%>><br>
|
|
<%=SYSTEM.ENDIF%>
|
|
</FONT>
|
|
</td>
|
|
<td align="left" valign="top">
|
|
<TABLE CELLSPACING=0 CELLPADDING=2 BORDER=0>
|
|
<TR>
|
|
<td align="right" valign="bottom" nowrap>
|
|
<FONT SIZE="2"><%=PHRASE.32%></FONT>
|
|
</td>
|
|
<td align="left" valign="bottom" nowrap>
|
|
<FONT SIZE="2">
|
|
<input type=hidden name="subjarea" maxlength="10" size="12">
|
|
<SELECT NAME=sbaid onChange="return sbaidChange(this.form)">
|
|
<OPTION VALUE="undefined">Undefined
|
|
<%=SUBJAREA.testlist%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
<td rowspan=3 align="right" valign="bottom" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.453%> <input type=text name="wght" maxlength="3" size="4" value="<%=QUESTION.wght%>" onChange="reset_autotimer()"><BR>
|
|
<%=PHRASE.314%> <input type=text name="pts" maxlength="3" size="4" value="<%=QUESTION.pts%>" onChange="reset_autotimer()"><BR>
|
|
<%=PHRASE.164%> <input type=text name="ded" maxlength="3" size="4" value="<%=QUESTION.ded%>" onChange="reset_autotimer()"><BR>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="right" valign="bottom" nowrap>
|
|
<FONT SIZE="2"><%=PHRASE.33%></FONT>
|
|
</td>
|
|
<td align="left" valign="bottom" nowrap>
|
|
<FONT SIZE="2">
|
|
<SELECT NAME="skill" onChange="return sbaidChange(this.form)">
|
|
<OPTION VALUE="0"><%=PHRASE.91%>
|
|
<OPTION VALUE="1"><%=PHRASE.249%>
|
|
<OPTION VALUE="2"><%=PHRASE.67%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
</TABLE>
|
|
</td>
|
|
<td colspan=2 width=100>
|
|
<%=SYSTEM.STARTIF?QUESTION.new Y INCLUDE %>
|
|
<BR>
|
|
<%=SYSTEM.ELSE%>
|
|
<%=QUESTION.defthumbnail%>
|
|
<%=SYSTEM.ENDIF%>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=SYSTEM.STARTIF?QUESTION.qim 0 INCLUDE %>
|
|
<%=PHRASE.61%><BR>
|
|
<INPUT TYPE=FILE NAME="upimg" SIZE=45 MAXLENGTH=120>
|
|
<%=SYSTEM.ELSE%>
|
|
<%=PHRASE.345%><BR>
|
|
<INPUT TYPE=FILE NAME="upimg" SIZE=45 MAXLENGTH=120>
|
|
<%=SYSTEM.ENDIF%>
|
|
</FONT>
|
|
</td>
|
|
<!-- hkh 2/3/04 move 'Select Exhibit' next to add/replace exhibit line -->
|
|
<td colspan="1" align="left" width=100>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.205%><BR>
|
|
<SELECT NAME="qim" onChange="reset_autotimer()">
|
|
<OPTION VALUE="0" <%=QUESTION.qim0%>><%=PHRASE.289%>
|
|
<OPTION VALUE="1" <%=QUESTION.qim1%>><%=PHRASE.239%>
|
|
<OPTION VALUE="2" <%=QUESTION.qim2%>><%=PHRASE.194%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td colspan=3 align=center>
|
|
<BR>
|
|
<INPUT TYPE=BUTTON name="save" VALUE="<%=PHRASE.359%>" onClick="return save_click(document.form1)">
|
|
<INPUT TYPE=BUTTON VALUE="<%=PHRASE.320%>" onClick="return btn_preview_click(document.form2)">
|
|
|
|
</td>
|
|
</TR>
|
|
|
|
<TR>
|
|
<td align=center colspan=3>
|
|
<TABLE border=0 width=100%>
|
|
<TR>
|
|
<TD align=center colspan=5>
|
|
<FONT SIZE=2><%=PHRASE.507%></FONT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD align=center>
|
|
<FONT SIZE=2>
|
|
<IMG SRC="<%=PATHS.graphurl%>/layout1.gif" border=1><BR>
|
|
<INPUT TYPE=RADIO NAME="layout" VALUE="1" <%=QUESTION.layout1chk%>>
|
|
</FONT>
|
|
</TD>
|
|
<TD align=center>
|
|
<FONT SIZE=2>
|
|
<IMG SRC="<%=PATHS.graphurl%>/layout2.gif" border=1><BR>
|
|
<INPUT TYPE=RADIO NAME="layout" VALUE="2" <%=QUESTION.layout2chk%>>
|
|
</FONT>
|
|
</TD>
|
|
<TD align=center>
|
|
<FONT SIZE=2>
|
|
<IMG SRC="<%=PATHS.graphurl%>/layout3.gif" border=1><BR>
|
|
<INPUT TYPE=RADIO NAME="layout" VALUE="3" <%=QUESTION.layout3chk%>>
|
|
</FONT>
|
|
</TD>
|
|
<TD align=center>
|
|
<FONT SIZE=2>
|
|
<IMG SRC="<%=PATHS.graphurl%>/layout4.gif" border=1><BR>
|
|
<INPUT TYPE=RADIO NAME="layout" VALUE="4" <%=QUESTION.layout4chk%>>
|
|
</FONT>
|
|
</TD>
|
|
<TD align=center>
|
|
<FONT SIZE=2>
|
|
<IMG SRC="<%=PATHS.graphurl%>/layout5.gif" border=1><BR>
|
|
<INPUT TYPE=RADIO NAME="layout" VALUE="5" <%=QUESTION.layout5chk%>>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<TD align=center>
|
|
<FONT SIZE=2>
|
|
<%=PHRASE.786%>
|
|
</FONT>
|
|
</TD>
|
|
<TD align=center>
|
|
|
|
<%=SYSTEM.STARTIF?TEST.lblques1 NULL EXCLUDE %>
|
|
<FONT SIZE=2>
|
|
<%=TEST.lblques1%> <INPUT TYPE=TEXT NAME="ques1" VALUE="<%=QUESTION.ques1%>">
|
|
</FONT>
|
|
<%=SYSTEM.ENDIF%>
|
|
</TD>
|
|
<TD align=center>
|
|
|
|
<%=SYSTEM.STARTIF?TEST.lblques2 NULL EXCLUDE %>
|
|
<FONT SIZE=2>
|
|
<%=TEST.lblques2%> <INPUT TYPE=TEXT NAME="ques2" VALUE="<%=QUESTION.ques2%>">
|
|
</FONT>
|
|
<%=SYSTEM.ENDIF%>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<FONT SIZE="1"> <BR></FONT>
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
|
<%=SYSTEM.STARTIF?SYSTEM.languagesupport TRUE INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2" COLOR="<%=SYSTEM.HEADERCOLOR%>">
|
|
<%=PHRASE.505%> <BR>
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2" COLOR="<%=SYSTEM.HEADERCOLOR%>">
|
|
<%=SYSTEM.supportedlanguages%>
|
|
<a href="<%=PATHS.cgiroot%>/help.pl?tid=<%=SESSION.tid%>&lang=<%=SESSION.lang%>&id=103" TARGET="helpwdw"><%=PHRASE.506%></a>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp plc INCLUDE %>
|
|
<%=PHRASE.423%> <BR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp plc EXCLUDE %>
|
|
<%=PHRASE.425%> <BR>
|
|
<%=SYSTEM.ENDIF%>
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<textarea name="qtx" cols="150" rows="40" wrap=on onKeyPress="languagesupport(this)" onFocus="return tGotFocus(this)" onChange="return onConvert(this)"><%=QUESTION.qtx%></textarea>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp tf INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.138%>
|
|
</FONT>
|
|
</td>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<INPUT TYPE=RADIO NAME="rbqca" VALUE="TRUE" <%=QUESTION.tft%>><%=PHRASE.437%><BR>
|
|
<INPUT TYPE=RADIO NAME="rbqca" VALUE="FALSE" <%=QUESTION.tff%>><%=PHRASE.209%><BR>
|
|
</FONT>
|
|
<input type=hidden name="qalb" value="<%=QUESTION.qalb%>">
|
|
<input type=hidden name="qca" value="<%=ESCAPED_QUESTION.qca%>">
|
|
<input type=hidden name="qia" value="<%=ESCAPED_QUESTION.qia%>">
|
|
</td>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<INPUT TYPE=RADIO NAME="rbqca" VALUE="YES" <%=QUESTION.tfy%>><%=PHRASE.465%><BR>
|
|
<INPUT TYPE=RADIO NAME="rbqca" VALUE="NO" <%=QUESTION.tfn%>><%=PHRASE.466%><BR>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcs,mca,lik INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.81%>
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<SELECT NAME="qalb">
|
|
<OPTION VALUE="a" <%=QUESTION.lbla%>><%=PHRASE.77%>
|
|
<OPTION VALUE="A" <%=QUESTION.lblA%>><%=PHRASE.78%>
|
|
<OPTION VALUE="n" <%=QUESTION.lbln%>><%=PHRASE.297%>
|
|
<OPTION VALUE="r" <%=QUESTION.lblr%>><%=PHRASE.298%>
|
|
<OPTION VALUE="R" <%=QUESTION.lblR%>><%=PHRASE.299%>
|
|
<OPTION VALUE="x" <%=QUESTION.lblx%>><%=PHRASE.289%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.738%><BR>
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<input type=radio name=anslay value="v" <%=QUESTION.anslayvchk%>> <%=PHRASE.740%>
|
|
<input type=radio name=anslay value="h" <%=QUESTION.anslayhchk%> onClick="horiz_onClick(this.form)"> <%=PHRASE.739%>
|
|
<%=SYSTEM.STARTIF?QUESTION.left_be NULL EXCLUDE %>
|
|
<br>Left Bookend: <input type=text name=left_be value="<%=QUESTION.left_be%>"> Right Bookend:<input type=text name=right_be value="<%=QUESTION.right_be%>">
|
|
<%=SYSTEM.ELSE%>
|
|
<input type=hidden name=left_be value="<%=QUESTION.left_be%>">
|
|
<input type=hidden name=right_be value="<%=QUESTION.right_be%>">
|
|
<%=SYSTEM.ENDIF%>
|
|
<input type=hidden name=sub_text_num value="<%=QUESTION.sub_text_num%>">
|
|
<input type=hidden name=sub_text value="<%=QUESTION.sub_text%>">
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.113%><BR>
|
|
<input type=hidden name="qca" value="<%=ESCAPED_QUESTION.qca%>">
|
|
<input type=hidden name="qia" value="<%=ESCAPED_QUESTION.qia%>">
|
|
<input type=hidden name="qnxt" value="<%=ESCAPED_QUESTION.qnxt%>">
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<TABLE border=1>
|
|
<TR>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mca EXCLUDE %>
|
|
<TD align"center" valign"top">
|
|
<FONT SIZE="2">
|
|
<B><%=PHRASE.137%></B>
|
|
</FONT>
|
|
</TD>
|
|
<%=SYSTEM.ENDIF%>
|
|
<TD align"left" valign"top">
|
|
<FONT SIZE="2">
|
|
<B><%=PHRASE.423%><BR>
|
|
<%=PHRASE.243%></B>
|
|
</FONT>
|
|
</TD>
|
|
<TR>
|
|
<%=QUESTION.choices%>
|
|
</TABLE>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mcm INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.81%>
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<SELECT NAME="qalb">
|
|
<OPTION VALUE="a" <%=QUESTION.lbla%>><%=PHRASE.77%>
|
|
<OPTION VALUE="A" <%=QUESTION.lblA%>><%=PHRASE.78%>
|
|
<OPTION VALUE="n" <%=QUESTION.lbln%>><%=PHRASE.297%>
|
|
<OPTION VALUE="r" <%=QUESTION.lblr%>><%=PHRASE.298%>
|
|
<OPTION VALUE="R" <%=QUESTION.lblR%>><%=PHRASE.299%>
|
|
<OPTION VALUE="x" <%=QUESTION.lblx%>><%=PHRASE.289%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.113%><BR>
|
|
<input type=hidden name="qca" value="<%=ESCAPED_QUESTION.qca%>">
|
|
<input type=hidden name="qia" value="<%=ESCAPED_QUESTION.qia%>">
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<TABLE border=1>
|
|
<TR>
|
|
<TD align"center" valign"top">
|
|
<FONT SIZE="2">
|
|
<B><%=PHRASE.137%></B>
|
|
</FONT>
|
|
</TD>
|
|
<TD align"left" valign"top">
|
|
<FONT SIZE="2">
|
|
<B><%=PHRASE.423%><BR>
|
|
<%=PHRASE.243%></B>
|
|
</FONT>
|
|
</TD>
|
|
<TR>
|
|
<%=QUESTION.choices%>
|
|
</TABLE>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mtx,mtr INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<br>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.113%><BR>
|
|
<input type=hidden name="qca" value="<%=ESCAPED_QUESTION.qca%>">
|
|
<input type=hidden name="qia" value="<%=ESCAPED_QUESTION.qia%>">
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<br>
|
|
<%=QUESTION.choices%>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp esa INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.138%>
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<textarea name="qca" rows=4 cols=30 onKeyPress="languagesupport(this)" onFocus="return tGotFocus(this)" onChange="return onConvert(this)"><%=QUESTION.qca%></textarea>
|
|
<input type=hidden name="qalb" value="<%=QUESTION.qalb%>">
|
|
<input type=hidden name="qia" value="<%=ESCAPED_QUESTION.qia%>">
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp nrt INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.270%>
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<input type=text name="qca" size="6" maxlength="5" value="<%=QUESTION.qca%>" onKeyPress="languagesupport(this)" onFocus="return tGotFocus(this)" onChange="return onConvert(this)">
|
|
<FONT COLOR="<%=SYSTEM.HEADERCOLOR%>"><%=PHRASE.42%></FONT>
|
|
</FONT>
|
|
<input type=hidden name="qalb" value="">
|
|
<input type=hidden name="qia" value="">
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp plc INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<input type=checkbox name="chkexitpt" <%=QUESTION.chkexitpt%> onChange="reset_autotimer()">
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.844%>
|
|
</FONT>
|
|
<input type=hidden name="qalb" value="">
|
|
<input type=hidden name="qca" value="<%=QUESTION.exitpt%>">
|
|
<input type=hidden name="qia" value="">
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mch INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.81%>
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<SELECT NAME="qalb">
|
|
<OPTION VALUE="a" <%=QUESTION.lbla%>><%=PHRASE.77%>
|
|
<OPTION VALUE="A" <%=QUESTION.lblA%>><%=PHRASE.78%>
|
|
<OPTION VALUE="n" <%=QUESTION.lbln%>><%=PHRASE.297%>
|
|
<OPTION VALUE="r" <%=QUESTION.lblr%>><%=PHRASE.298%>
|
|
<OPTION VALUE="R" <%=QUESTION.lblR%>><%=PHRASE.299%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.113%><BR>
|
|
<input type=hidden name="qca" value="<%=ESCAPED_QUESTION.qca%>">
|
|
<input type=hidden name="qia" value="<%=ESCAPED_QUESTION.qia%>">
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<TABLE border=1>
|
|
<TR>
|
|
<TD align"left" valign"top">
|
|
<FONT SIZE="2">
|
|
<B><%=PHRASE.423%></B>
|
|
</FONT>
|
|
</TD>
|
|
<TD align"left" valign"top">
|
|
<FONT SIZE="2">
|
|
<B><%=PHRASE.268%></B>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<%=QUESTION.choices%>
|
|
</TABLE>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp ord INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.113%><BR>
|
|
<input type=hidden name="qca" value="<%=ESCAPED_QUESTION.qca%>">
|
|
<input type=hidden name="qia" value="<%=ESCAPED_QUESTION.qia%>">
|
|
<input type=hidden name="qalb" value="o">
|
|
</FONT>
|
|
</td>
|
|
<td colspan="2" align="left" valign="top" nowrap>
|
|
<TABLE border=1>
|
|
<TR>
|
|
<TD align"left" valign"top">
|
|
<FONT SIZE="2"> </FONT>
|
|
</TD>
|
|
<TD align"left" valign"top">
|
|
<FONT SIZE="2">
|
|
<B><%=PHRASE.243%></B>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<%=QUESTION.choices%>
|
|
</TABLE>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?TEST.seq adp INCLUDE %>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp mca EXCLUDE %>
|
|
<TR>
|
|
<td> </td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.140%>
|
|
</FONT>
|
|
</td>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<input type=radio name="qnxtcsel" value="q" <%=QUESTION.qnxtcselq%> onChange="reset_autotimer()">
|
|
<%=PHRASE.288%>
|
|
<SELECT NAME=qnxtc onChange="return selectQnxt(this)">
|
|
<OPTION>
|
|
<%=TEST.questionlist%>
|
|
</SELECT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
|
|
</td>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<input type=radio name="qnxtcsel" value="s" <%=QUESTION.qnxtcsels%> onChange="reset_autotimer()">
|
|
<%=PHRASE.32%>
|
|
<SELECT NAME=qnxtcsubj onChange="return selectQnxt(this)">
|
|
<OPTION VALUE="undefined">Undefined
|
|
<%=SUBJAREA.testlist%>
|
|
</SELECT>
|
|
<%=PHRASE.80%> <%=PHRASE.33%>
|
|
<SELECT NAME="qnxtcskill" onChange="return selectQnxt(this)">
|
|
<OPTION VALUE="0"><%=PHRASE.91%>
|
|
<OPTION VALUE="1"><%=PHRASE.249%>
|
|
<OPTION VALUE="2"><%=PHRASE.67%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td> </td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<%=PHRASE.247%>
|
|
</FONT>
|
|
</td>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<input type=radio name="qnxtisel" value="q" <%=QUESTION.qnxtiselq%> onChange="reset_autotimer()">
|
|
<%=PHRASE.288%>
|
|
<SELECT NAME=qnxti onChange="return selectQnxt(this)">
|
|
<OPTION>
|
|
<%=TEST.questionlist%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
|
|
</td>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<input type=radio name="qnxtisel" value="s" <%=QUESTION.qnxtisels%> onChange="reset_autotimer()">
|
|
<%=PHRASE.32%>
|
|
<SELECT NAME=qnxtisubj onChange="return selectQnxt(this)">
|
|
<OPTION VALUE="undefined">Undefined
|
|
<%=SUBJAREA.testlist%>
|
|
</SELECT>
|
|
<%=PHRASE.80%> <%=PHRASE.33%>
|
|
<SELECT NAME="qnxtiskill" onChange="return selectQnxt(this)">
|
|
<OPTION VALUE="0"><%=PHRASE.91%>
|
|
<OPTION VALUE="1"><%=PHRASE.249%>
|
|
<OPTION VALUE="2"><%=PHRASE.67%>
|
|
</SELECT>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.ENDIF%>
|
|
<TR>
|
|
<td colspan=3 align="left" valign="middle" nowrap>
|
|
<FONT SIZE="2">
|
|
<br>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.STARTIF?QUESTION.left_be NULL EXCLUDE %>
|
|
<TR>
|
|
<td> </td>
|
|
<td colspan=2 align="left" valign="middle" nowrap>
|
|
<%=QUESTION.sub_text_html%>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp lik INCLUDE %>
|
|
<TR>
|
|
<td align="left" valign="middle" nowrap>
|
|
Scores - divided by commas
|
|
</td>
|
|
<td colspan=2 align="left" valign="top" nowrap>
|
|
<input type=text name="scores" value="<%=QUESTION.scores%>">
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="middle" nowrap>
|
|
Category for Likert scale
|
|
</td>
|
|
<td colspan=2 align="left" valign="top" nowrap>
|
|
<input type=text name="supercat" value="<%=QUESTION.supercat%>">
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp lik EXCLUDE %>
|
|
<input type=hidden name="scores" value="<%=QUESTION.scores%>">
|
|
<input type=hidden name="supercat" value="<%=QUESTION.supercat%>">
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?QUESTION.qtp plc EXCLUDE %>
|
|
<TR>
|
|
<td colspan=3 align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
Remediation (<A HREF="<%=PATHS.cgiroot%>/help.pl?tid=<%=SESSION.tid%>&id=30" TARGET="helpwdw">Click here for Help</A>)<BR>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
Text: <BR>
|
|
</FONT>
|
|
</td>
|
|
<td colspan=2 align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<TEXTAREA NAME="qrm" cols="50" rows="5" wrap=on><%=QUESTION.qrm%></TEXTAREA>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td colspan=3 align="left" valign="middle" nowrap>
|
|
<FONT SIZE="2">
|
|
<br>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="right" valign="middle" nowrap>
|
|
<FONT SIZE="2">
|
|
<input type=checkbox name="qcmtprmpt" <%=QUESTION.chkqccmt%> onChange="reset_autotimer()"> <br>
|
|
</FONT>
|
|
</td>
|
|
<td colspan=2 align="left" valign="middle" nowrap>
|
|
<FONT SIZE="2">
|
|
Show optional comments input box.
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
Comment prompt: <BR>
|
|
</FONT>
|
|
</td>
|
|
<td colspan=2 align="left" valign="top" nowrap>
|
|
<FONT SIZE="2">
|
|
<TEXTAREA NAME="qcprmpt" cols="50" rows="3" wrap=on onKeyPress="languagesupport(this)" onFocus="return tGotFocus(this)" onChange="return onConvert(this)"><%=QUESTION.qcprmpt%></TEXTAREA>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<TR>
|
|
<td colspan=3 align=center>
|
|
<BR>
|
|
<INPUT TYPE=BUTTON name="save" VALUE="<%=PHRASE.359%>" onClick="return save_click(document.form1)">
|
|
</td>
|
|
</TR>
|
|
</TABLE>
|
|
</FORM>
|
|
<FORM METHOD=POST ACTION="<%=PATHS.cgiroot%>/qdef.pl" Name="form2"
|
|
enctype="multipart/form-data" TARGET="PreviewWindow">
|
|
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
|
|
<input type=hidden name="tstid" value="<%=TEST.id%>">
|
|
<input type=hidden name="subj" value="<%=QUESTION.subj%>">
|
|
<input type=hidden name="qid" value="<%=QUESTION.id%>">
|
|
<input type=hidden name="new" value="<%=QUESTION.new%>">
|
|
<input type=hidden name="localimg" value="">
|
|
<input type=hidden name="qil" value="">
|
|
<input type=hidden name="qim" value="">
|
|
<input type=hidden name="qtx" value="">
|
|
<input type=hidden name="qca" value="">
|
|
<input type=hidden name="qia" value="">
|
|
<input type=hidden name="qtp" value="<%=QUESTION.qtp%>">
|
|
<input type=hidden name="scores" value="<%=QUESTION.scores%>">
|
|
<input type=hidden name="supercat" value="<%=QUESTION.supercat%>">
|
|
<INPUT NAME="newq" TYPE=HIDDEN VALUE="<%=FORM.newq%>">
|
|
<input type=hidden name="savechanges" value="N">
|
|
<input type=hidden name="frm" value="3">
|
|
<input type=hidden name="qalb" value="<%=QUESTION.qalb%>">
|
|
<input type=hidden name="layout" value="<%=QUESTION.layout%>">
|
|
<INPUT TYPE="HIDDEN" NAME="lang" VALUE="<%=SESSION.lang%>">
|
|
<INPUT TYPE=BUTTON VALUE="<%=PHRASE.320%>" onClick="return btn_preview_click(document.form2)">
|
|
</FORM>
|
|
<P><FONT SIZE=1 COLOR="#8C8C8C"><%=PHRASE.136%></FONT></P>
|
|
<FORM METHOD=POST ACTION="<%=PATHS.cgiroot%>/qdef.pl" Name="form3" TARGET="qcore">
|
|
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
|
|
<input type=hidden name="tstid" value="<%=TEST.id%>">
|
|
<input type=hidden name="qid" value="<%=QUESTION.id%>">
|
|
<input type=hidden name="frm" value="1">
|
|
<INPUT TYPE="HIDDEN" NAME="lang" VALUE="<%=SESSION.lang%>">
|
|
</FORM>
|
|
</BODY>
|
|
</HTML>
|
|
|