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.

123 lines
3.3 KiB

<!-- $Id: gradebooks.htt,v 1.4 2006/02/09 23:49:31 ddoughty Exp $ -->
<HTML>
<HEAD>
<TITLE><%=PHRASE.419%> <%=PHRASE.64%></TITLE>
<BASEFONT FACE="Arial">
<%=SYSTEM.INCLUDEJS global.js %>
<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 btn_gupd_click(objForm) {
reset_autotimer();
if (objForm.grpid.selectedIndex == -1) {
alert("<%=PHRASE.495%>");
return false;
} else {
objForm.dbop.value="gupd";
objForm.submit();
return true;
}
}
function btn_gnew_click(objForm) {
reset_autotimer();
objForm.grpid.selectedIndex = -1;
objForm.dbop.value="gnew";
objForm.submit();
return true;
}
function btn_gdel_click(objForm) {
reset_autotimer();
if (objForm.grpid.selectedIndex == -1) {
alert("<%=PHRASE.496%>");
} else {
if (confirm("<%=PHRASE.165%> <%=PHRASE.845%>?")) {
objForm.dbop.value="gdel";
objForm.submit();
return true;
}
}
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%>">
<FORM Name="form4" METHOD=POST ACTION="<%=PATHS.cgiroot%>/grpadmin.pl"
TARGET="gdetail">
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
<INPUT NAME="grpowner" TYPE=HIDDEN VALUE="<%=GROUP.grpowner%>">
<INPUT NAME="dbop" TYPE=HIDDEN VALUE="">
<input name="lang" type="hidden" value="<%=SESSION.lang%>">
<TABLE cellspacing=0 cellpadding=0 border=0 width=100%>
<TR>
<TD align=left valign=top>
<FONT COLOR="<%=SYSTEM.HEADERCOLOR%>"><%=PHRASE.226%></FONT>
<%=SYSTEM.STARTIF?SESSION.uac madmin,admin INCLUDE %>
</TD>
<TD align=left valign=top>
<%=SYSTEM.ENDIF%>
<SELECT NAME=grpid onChange='btn_gupd_click(document.form4)'>
<OPTION VALUE="" SELECTED><%=PHRASE.369%>
<%=CANDIDATE.gradebooks%>
</SELECT>
<%=SYSTEM.STARTIF?SESSION.uac madmin,admin INCLUDE %>
<BR>
<%=SYSTEM.ELSE%>
</TD>
<TD align=left valign=top>
<%=SYSTEM.ENDIF%>
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
<A
<%=SYSTEM.ELSE%>
<A HREF="#top"
<%=SYSTEM.ENDIF%>
onMouseOver="document.gnew.src='<%=PATHS.graphroot%>/<%=SESSION.lang%>/btnnewon.gif'"
onMouseOut="document.gnew.src='<%=PATHS.graphroot%>/<%=SESSION.lang%>/btnnewoff.gif'"
onClick="return btn_gnew_click(document.form4)"
><IMG NAME="gnew" SRC="<%=PATHS.graphroot%>/<%=SESSION.lang%>/btnnewoff.gif" alt="<%=PHRASE.152%>" border=0></A>
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
<A
<%=SYSTEM.ELSE%>
<A HREF="#top"
<%=SYSTEM.ENDIF%>
onMouseOver="document.gdel.src='<%=PATHS.graphroot%>/<%=SESSION.lang%>/btndeleteon.gif'"
onMouseOut="document.gdel.src='<%=PATHS.graphroot%>/<%=SESSION.lang%>/btndeleteoff.gif'"
onClick="return btn_gdel_click(document.form4)"
><IMG NAME="gdel" SRC="<%=PATHS.graphroot%>/<%=SESSION.lang%>/btndeleteoff.gif" alt="<%=PHRASE.187%>" border=0></A>
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>