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.
 
 
 
 
 
 

218 lines
4.8 KiB

<!-- $Id: upimport.htt,v 1.2 2005/02/21 22:18:12 ddoughty Exp $ -->
<HEAD>
<TITLE><%=PHRASE.419%> <%=PHRASE.244%></TITLE>
<%=SYSTEM.INCLUDEJS global.js %>
<BASEFONT FACE="Arial">
<script language="JavaScript">
<!--
var down, csec, syncform;
function wdw_onLoad() {
syncform = top.findex.document.syncform
syncform.csec.value = <%=SYSTEM.autologout%>;
monitor();
}
function monitor() {
monitorrepeat();
}
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 form_submit(objForm) {
var bOK;
bOK = (objForm.groups.value != "");
bOK = (bOK || (objForm.tests.value != ""));
bOK = (bOK || (objForm.questions.value != ""));
bOK = (bOK || (objForm.subjareas.value != ""));
<%=SYSTEM.STARTIF?SESSION.uac gadmin,tadmin,madmin,admin INCLUDE %>
bOK = (bOK || (objForm.cndsfile.value != ""));
bOK = (bOK || (objForm.testfile.value != ""));
<%=SYSTEM.ENDIF%>
if (bOK == false) {
alert("<%=PHRASE.511%>");
}
return bOK;
}
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%>/uploadmass.pl" NAME="form1" enctype="multipart/form-data" onSubmit="return form_submit(this)">
<INPUT TYPE=HIDDEN NAME="tid" VALUE="<%=SESSION.tid%>">
<INPUT TYPE=HIDDEN NAME="active" VALUE="<%=CLIENT.active%>">
<TABLE CELLSPACING=2 CELLPADDING=2 BORDER=0>
<TR>
<TD COLSPAN="3" ALIGN="center" VALIGN="middle">
<FONT SIZE=4 COLOR="<%=SYSTEM.HEADERCOLOR%>">
<%=SYSTEM.STARTIF?SESSION.clid std,sacc INCLUDE %>
<B><I><%=PHRASE.419%> <%=PHRASE.245%></I></B>
<%=SYSTEM.ELSE%>
<B><I><%=CLIENT.clnmc%> <%=PHRASE.245%></I></B>
<%=SYSTEM.ENDIF%>
</FONT>
</TD>
</TR>
<%=SYSTEM.STARTIF?SESSION.uac gadmin,tadmin,madmin,admin INCLUDE %>
<TR>
<TD COLSPAN="3">&nbsp;</TD>
</TR>
<TR>
<TD align="right">
<FONT SIZE=2>
<%=PHRASE.446%>&nbsp;
</FONT>
</TD>
<TD align="left">
<FONT SIZE=2>
<INPUT TYPE=FILE NAME="cndsfile">
</FONT>
</TD>
<TD align="left">
<FONT SIZE=1>
<A HREF="<%=PATHS.cgiroot%>/help.pl?tid=<%=SESSION.tid%>&id=40&show=cndspecs" TARGET="helpwdw"><%=PHRASE.451%></A><BR>
<A HREF="/cndspecs.xls"><%=PHRASE.178%></A><BR>
</FONT>
</TD>
</TR>
<%=SYSTEM.ENDIF%>
<!-- 1/30/07 DED Removed because not supported
<TR>
<TD COLSPAN="3">&nbsp;</TD>
</TR>
<TR>
<TD align="right">
<FONT SIZE=2>
<%=PHRASE.907%> <%=PHRASE.909%>&nbsp;
</FONT>
</TD>
<TD align="left">
<FONT SIZE=2>
<INPUT TYPE=FILE NAME="customfile">
</FONT>
</TD>
<TD align="left">
&nbsp;
</TD>
</TR>
<TR>
<TD COLSPAN="3">&nbsp;</TD>
</TR>
<TR>
<TD align="right">
<FONT SIZE=2>
<%=PHRASE.231%>&nbsp;
</FONT>
</TD>
<TD align="left">
<FONT SIZE=2>
<INPUT TYPE=FILE NAME="groups">
</FONT>
</TD>
<TD align="left">
<FONT SIZE=1>
<A HREF="<%=PATHS.cgiroot%>/help.pl?tid=<%=SESSION.tid%>&id=40&dl=grpspecs" TARGET="helpwdw"><%=PHRASE.451%></A><BR>
</FONT>
</TD>
</TR>
-->
<TR>
<TD COLSPAN="3">&nbsp;</TD>
</TR>
<TR>
<TD align="right">
<FONT SIZE=2>
<%=PHRASE.28%> <%=PHRASE.909%>&nbsp;
</FONT>
</TD>
<TD align="left">
<FONT SIZE=2>
<INPUT TYPE=FILE NAME="testfile">
</FONT>
</TD>
<TD align="left">
<FONT SIZE=1>
<A HREF="<%=PATHS.cgiroot%>/help.pl?tid=<%=SESSION.tid%>&id=40&dl=testspecs" TARGET="helpwdw"><%=PHRASE.451%></A><BR>
</FONT>
</TD>
</TR>
<!-- 1/30/07 DED Removed because not supported
<TR>
<TD COLSPAN="3">&nbsp;</TD>
</TR>
<TR>
<TD align="right">
<FONT SIZE=2>
<%=PHRASE.331%>&nbsp;
</FONT>
</TD>
<TD align="left">
<FONT SIZE=2>
<INPUT TYPE=FILE NAME="questions">
</FONT>
</TD>
<TD align="left">
<FONT SIZE=1>
<A HREF="<%=PATHS.cgiroot%>/help.pl?tid=<%=SESSION.tid%>&id=40&dl=questspecs" TARGET="helpwdw"><%=PHRASE.451%></A><BR>
</FONT>
</TD>
</TR>
<TR>
<TD COLSPAN="3">&nbsp;</TD>
</TR>
<TR>
<TD align="right">
<FONT SIZE=2>
<%=PHRASE.32%>&nbsp;
</FONT>
</TD>
<TD align="left">
<FONT SIZE=2>
<INPUT TYPE=FILE NAME="subjareas">
</FONT>
</TD>
<TD align="left">
<FONT SIZE=1>
<A HREF="<%=PATHS.cgiroot%>/help.pl?tid=<%=SESSION.tid%>&id=40&dl=questspecs" TARGET="helpwdw"><%=PHRASE.32%></A><BR>
</FONT>
</TD>
</TR>
<TR>
<TD COLSPAN="3">&nbsp;</TD>
</TR>
-->
<TR>
<TD colspan="3" align="center">
<INPUT TYPE=SUBMIT VALUE="<%=PHRASE.512%>">
</TD>
</TR>
<TR>
<TD COLSPAN="3">&nbsp;</TD>
</TR>
<%=CLIENT.customfilestable%>
</TABLE>
</FORM>
<P>
<FONT SIZE=1 COLOR="#8C8C8C">
<%=PHRASE.136%><BR>
</FONT>
</P>
</CENTER>
</BODY>
</HTML>