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.
244 lines
8.8 KiB
244 lines
8.8 KiB
<!-- $Id: tmaster.htt,v 1.3 2006/10/17 14:41:12 ddoughty Exp $ -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Test Master-Key Print Form</TITLE>
|
|
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
|
|
<STYLE>
|
|
<!--
|
|
SELECT {font-size: 10px;height: 20;}
|
|
INPUT {font-size: 10px;height: 20;}
|
|
-->
|
|
</STYLE>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.INCLUDEJS global.js %>
|
|
<BASEFONT FACE="Arial">
|
|
<%=SYSTEM.STARTIF?SYSTEM.languagesupport TRUE INCLUDE %>
|
|
<SCRIPT language="JavaScript">
|
|
<!--
|
|
function language_select(sLang) {
|
|
var sUrl;
|
|
sUrl = "<%=PATHS.cgiroot%>/tmaster.pl?tid=<%=SESSION.tid%>&tstid=<%=TEST.id%>&cndid=<%=CANDIDATE.uid%>&lang=" + sLang;
|
|
document.location.replace(sUrl);
|
|
return false;
|
|
}
|
|
// -->
|
|
</SCRIPT>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.STARTIF?TEST.seq svy EXCLUDE %>
|
|
<SCRIPT language="JavaScript">
|
|
<!--
|
|
function showmasterClick(oform) {
|
|
if (oform.showmaster.checked) {
|
|
oform.showkey.checked=false;
|
|
oform.showocransw.checked=false;
|
|
}
|
|
}
|
|
function showkeyClick(oform) {
|
|
if (oform.showkey.checked) {
|
|
oform.showmaster.checked=false;
|
|
oform.showocransw.checked=false;
|
|
}
|
|
}
|
|
function ocrstyleClick(oform) {
|
|
var b;
|
|
b=oform.ocrstyle.checked;
|
|
//oform.showocransw.checked=b;
|
|
if (b) {
|
|
b=false;
|
|
} else {
|
|
b=true;
|
|
}
|
|
oform.showqid.checked=b;
|
|
oform.showsubj.checked=b;
|
|
oform.showskill.checked=b;
|
|
oform.showscoreboxes.checked=b;
|
|
}
|
|
function cancelocrstyle(obox,oform) {
|
|
var s;
|
|
if (obox.checked) {
|
|
s="This setting is not compatible with the ocr style setting."
|
|
s+=unescape("%0D")+unescape("%0A");
|
|
s+="Click OK to keep this setting and cancel the ocr style."
|
|
s+=unescape("%0D")+unescape("%0A");
|
|
s+="Click CANCEL to cancel this setting and keep the ocrstyle."
|
|
if (confirm(s)) {
|
|
oform.ocrstyle.checked=false;
|
|
oform.showocransw.checked=false;
|
|
} else {
|
|
obox.checked = false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
function ocranssheetClick(oform) {
|
|
if (oform.showocransw.checked) {
|
|
if (oform.ocrstyle.checked == false) {
|
|
oform.ocrstyle.checked=true;
|
|
ocrstyleClick(oform);
|
|
}
|
|
oform.showkey.checked=false;
|
|
oform.showmaster.checked=false;
|
|
}
|
|
return true;
|
|
}
|
|
// -->
|
|
</SCRIPT>
|
|
<%=SYSTEM.ENDIF%>
|
|
</HEAD>
|
|
|
|
<BODY BACKGROUND="<%=SYSTEM.BACKGROUND%>" BGCOLOR="<%=SYSTEM.BGCOLOR%>"
|
|
TEXT="<%=SYSTEM.TEXT%>" LINK="<%=SYSTEM.LINK%>"
|
|
VLINK="<%=SYSTEM.VLINK%>" ALINK="<%=SYSTEM.ALINK%>">
|
|
<CENTER>
|
|
<FORM NAME="form1" METHOD=POST ACTION="<%=PATHS.cgiroot%>/tmasterp.pl">
|
|
<INPUT TYPE="HIDDEN" NAME="tid" VALUE="<%=SESSION.tid%>">
|
|
<INPUT TYPE="HIDDEN" NAME="clid" VALUE="<%=CLIENT.clid%>">
|
|
<INPUT TYPE="HIDDEN" NAME="tstid" VALUE="<%=TEST.id%>">
|
|
<INPUT TYPE="HIDDEN" NAME="cndid" VALUE="<%=CANDIDATE.uid%>">
|
|
<INPUT TYPE="HIDDEN" NAME="lang" VALUE="<%=SESSION.lang%>">
|
|
<TABLE CELLSPACING=0 CELLPADDING=10 BORDER=0>
|
|
<TR>
|
|
<TD ALIGN="center" VALIGN="middle" NOWRAP>
|
|
<%=CLIENT.testlogo%><BR>
|
|
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>">
|
|
<B><I><%=CLIENT.clnmc%></I></B><BR>
|
|
</FONT>
|
|
</TD>
|
|
<TD ALIGN="center" VALIGN="middle" NOWRAP>
|
|
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>">
|
|
<%=SYSTEM.STARTIF?TEST.seq svy INCLUDE %>
|
|
<B><%=PHRASE.29%> <%=PHRASE.41%></B><BR>
|
|
<%=SYSTEM.ELSE%>
|
|
<B><%=PHRASE.28%> <%=PHRASE.41%></B><BR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=TEST.id%> - <%=TEST.desc%>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<%=SYSTEM.STARTIF?SYSTEM.languagesupport TRUE INCLUDE %>
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%>
|
|
<TR>
|
|
<TD align=center NOWRAP>
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=1>
|
|
<TR>
|
|
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
|
|
<TD><A onclick="return language_select('enu')"><img src="<%=PATHS.graphurl%>/flagsussm.gif" border=0 Alt="English (U.S.)"></A></TD>
|
|
<TD><A onclick="return language_select('fr')"><img src="<%=PATHS.graphurl%>/flagsfrsm.gif" border=0 Alt="Fr�nca�s"></A></TD>
|
|
<TD><A onclick="return language_select('deu')"><img src="<%=PATHS.graphurl%>/flagsdeusm.gif" border=0 Alt="D�utsch"></A></TD>
|
|
<TD><A onclick="return language_select('enu')"><img src="<%=PATHS.graphurl%>/flagscnsm.gif" border=0 Alt="English (Canada)"></A></TD>
|
|
<TD><A onclick="return language_select('fr')"><img src="<%=PATHS.graphurl%>/flagscnfrsm.gif" border=0 Alt="Fr�nca�s (Canadi�n)"></A></TD>
|
|
<TD><A onclick="return language_select('sp')"><img src="<%=PATHS.graphurl%>/flagsspsm.gif" border=0 Alt="Espa�ol"></A></TD>
|
|
<%=SYSTEM.ELSE%>
|
|
<TD><A href="#top" onclick="return language_select('enu')"><img src="<%=PATHS.graphurl%>/flagsussm.gif" border=0 Alt="English (U.S.)"></A></TD>
|
|
<TD><A href="#top" onclick="return language_select('fr')"><img src="<%=PATHS.graphurl%>/flagsfrsm.gif" border=0 Alt="Fr�nca�s"></A></TD>
|
|
<TD><A href="#top" onclick="return language_select('deu')"><img src="<%=PATHS.graphurl%>/flagsdeusm.gif" border=0 Alt="D�utsch"></A></TD>
|
|
<TD><A href="#top" onclick="return language_select('enu')"><img src="<%=PATHS.graphurl%>/flagscnsm.gif" border=0 Alt="English (Canada)"></A></TD>
|
|
<TD><A href="#top" onclick="return language_select('fr')"><img src="<%=PATHS.graphurl%>/flagscnfrsm.gif" border=0 Alt="Fr�nca�s (Canadi�n)"></A></TD>
|
|
<TD><A href="#top" onclick="return language_select('sp')"><img src="<%=PATHS.graphurl%>/flagsspsm.gif" border=0 Alt="Espa�ol"></A></TD>
|
|
<%=SYSTEM.ENDIF%>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<%=SYSTEM.ENDIF%>
|
|
<BR>
|
|
<TABLE CELLSPACING=3 CELLPADDING=3 BORDER=1>
|
|
<TR>
|
|
<TD ALIGN="left" VALIGN="top" NOWRAP>
|
|
<font size=2>
|
|
<B><%=PHRASE.17%>: </B><BR>
|
|
<%=SYSTEM.STARTIF?TEST.seq svy INCLUDE %>
|
|
<INPUT TYPE=RADIO NAME="showtype" VALUE="master" CHECKED> <%=PHRASE.18%><BR>
|
|
<%=SYSTEM.ELSE%>
|
|
<INPUT TYPE=CHECKBOX NAME="ocrstyle" onClick="return ocrstyleClick(this.form)"> <%=PHRASE.590%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showmaster" VALUE="1" CHECKED onClick="return showmasterClick(this.form)"> <%=PHRASE.18%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showocransw" VALUE="0" onClick="return ocranssheetClick(this.form)"> OCR Answer Sheet<BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showkey" VALUE="1" onClick="return showkeyClick(this.form)"> <%=PHRASE.19%><br>
|
|
<INPUT TYPE=CHECKBOX NAME="blackoutthrowoffs"> <%=PHRASE.26%><br>
|
|
<%=SYSTEM.ENDIF%>
|
|
<INPUT TYPE=CHECKBOX NAME="noradios"> <%=PHRASE.890%><br>
|
|
<BR>
|
|
<B><%=PHRASE.21%>: </B><BR>
|
|
<INPUT TYPE=RADIO NAME="outputto" VALUE="display" CHECKED> <%=PHRASE.22%><BR>
|
|
<INPUT TYPE=RADIO NAME="outputto" VALUE="html"> <%=PHRASE.23%><BR>
|
|
<INPUT TYPE=RADIO NAME="outputto" VALUE="autoprint"> <%=PHRASE.24%><BR>
|
|
</font>
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="top" NOWRAP>
|
|
<font size=2>
|
|
<B><%=PHRASE.27%>: </B><BR>
|
|
<%=SYSTEM.STARTIF?TEST.seq svy INCLUDE %>
|
|
<INPUT TYPE=CHECKBOX NAME="showdates" CHECKED> <%=PHRASE.29%> <%=PHRASE.30%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showqid"> <%=PHRASE.31%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showsubj"> <%=PHRASE.32%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showskill"> <%=PHRASE.33%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showscoreboxes"> <%=PHRASE.24%><BR>
|
|
<%=SYSTEM.ELSE%>
|
|
<INPUT TYPE=CHECKBOX NAME="showdates" CHECKED> <%=PHRASE.28%> <%=PHRASE.30%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showqid" CHECKED onClick="return cancelocrstyle(this,this.form)"> <%=PHRASE.31%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showsubj" CHECKED onClick="return cancelocrstyle(this,this.form)"> <%=PHRASE.32%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showskill" CHECKED onClick="return cancelocrstyle(this,this.form)"> <%=PHRASE.33%><BR>
|
|
<INPUT TYPE=CHECKBOX NAME="showscoreboxes" CHECKED onClick="return cancelocrstyle(this,this.form)"> <%=PHRASE.34%><BR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<BR>
|
|
<B><%=PHRASE.35%>: </B><BR>
|
|
<INPUT TYPE=RADIO NAME="showgraphics" VALUE="OFF"> <%=PHRASE.36%><BR>
|
|
<INPUT TYPE=RADIO NAME="showgraphics" VALUE="ON" CHECKED> <%=PHRASE.37%><BR>
|
|
<INPUT TYPE=RADIO NAME="showgraphics" VALUE="refpage"> <%=PHRASE.38%><BR>
|
|
</font>
|
|
</TD>
|
|
</TR>
|
|
<tr>
|
|
<TD COLSPAN=2 ALIGN="center" VALIGN="top" NOWRAP>
|
|
<font size=2>
|
|
<b>Format Features</b><br>
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 width="100%">
|
|
<%=SYSTEM.STARTIF?TEST.seq svy EXCLUDE %>
|
|
<TR>
|
|
<TD ALIGN="right" VALIGN="middle" NOWRAP>
|
|
<font size=2>
|
|
OCR Key/Answer Sheet Text Color:
|
|
</font>
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<font size=2>
|
|
<SELECT name="ocrtextcolor">
|
|
<OPTION VALUE="black" selected> BLACK
|
|
<OPTION VALUE="red"> RED
|
|
</SELECT>
|
|
</font>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="middle" NOWRAP>
|
|
<font size=2>
|
|
<br>
|
|
</font>
|
|
</TD>
|
|
</TR>
|
|
<%=SYSTEM.ENDIF%>
|
|
<TR>
|
|
<TD ALIGN="right" VALIGN="middle" NOWRAP>
|
|
<font size=2>
|
|
<%=PHRASE.39%>:
|
|
</font>
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<font size=2>
|
|
<INPUT TYPE=TEXT NAME="prtwidth" size=4 maxlength=4 VALUE="640">
|
|
</font>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="middle" NOWRAP>
|
|
<font size=2>
|
|
<INPUT TYPE=SUBMIT NAME="submit" VALUE="<%=PHRASE.40%>">
|
|
</font>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</font>
|
|
</TD>
|
|
</tr>
|
|
</TABLE>
|
|
</FORM>
|
|
</BODY>
|
|
</HTML>
|
|
|