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.
 
 
 
 
 
 

210 lines
5.9 KiB

<!-- $Id: grpdef.htt,v 1.2 2005/02/21 22:18:12 ddoughty Exp $ -->
<HTML>
<HEAD>
<TITLE><%=PHRASE.229%></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 form1_validate(objForm) {
return false;
}
function form1_submit(objForm) {
alert("<%=PHRASE.497%>");
return false;
}
function grpid_check(objForm) {
var sURL,down;
if (objForm.chkgrpid.checked) {
sURL = "<%=PATHS.cgiroot%>/groupid.pl?tid=<%=SESSION.tid%>&lang=<%=SESSION.lang%>";
objWdw = window.open("", "helpwindow", "height=300,width=300,resizable=no,scrollbars=auto");
objWdw.document.open();
objWdw.document.write("<CENTER><%=PHRASE.498%><BR><%=PHRASE.479%></CENTER>");
objWdw.document.location = sURL;
objForm.chkgrpid.checked=false;
}
}
function chkadd_Click(objForm) {
if (objForm.chkadd.checked) {
objForm.chkadd.checked = false;
}
}
function chkdel_Click(objForm) {
if (objForm.chkdel.checked) {
objForm.chkdel.checked = 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 NAME="form1" METHOD=POST ACTION="<%=PATHS.cgiroot%>/tmprequest.pl"
onSubmit="return form1_submit(this.form)">
<INPUT TYPE="HIDDEN" NAME="tid" VALUE="<%=SESSION.tid%>">
<INPUT TYPE="HIDDEN" NAME="new" VALUE="<%=FORM.new%>">
<%=SYSTEM.STARTIF?SESSION.uac madmin,admin INCLUDE %>
<INPUT TYPE="HIDDEN" NAME="dbop" VALUE="edit">
<%=SYSTEM.ELSE%>
<INPUT TYPE="HIDDEN" NAME="dbop" VALUE="register">
<%=SYSTEM.ENDIF%>
<INPUT TYPE="HIDDEN" NAME="grpowner" VALUE="<%=CANDIDATE.grpowner%>">
<INPUT TYPE="HIDDEN" NAME="reqadr" VALUE="<%=CLIENT.clreqadr%>">
<input name="lang" type="hidden" value="<%=SESSION.lang%>">
<TABLE CELLSPACING=0 CELLPADDING=0 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%>">
<%=PHRASE.230%><BR>
<%=SYSTEM.STARTIF?FORM.new Y EXCLUDE %>
<B><I><%=GROUP.desc%></I></B><BR>
<%=SYSTEM.ELSE%>
<B><I><%=PHRASE.287%></I></B><BR>
<%=SYSTEM.ENDIF%>
</FONT>
</TD>
</TR>
<%=SYSTEM.STARTIF?SESSION.uac madmin,admin INCLUDE %>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
&nbsp;<BR>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<%=PHRASE.227%>&nbsp;<BR>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<INPUT TYPE=TEXT NAME="ownerid" VALUE="<%=GROUP.ownerid%>">
</TD>
</TR>
<%=SYSTEM.ELSE%>
<TR>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<INPUT TYPE=hidden NAME="ownerid" VALUE="<%=GROUP.ownerid%>">
</TD>
</TR>
<%=SYSTEM.ENDIF%>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<%=PHRASE.224%>&nbsp;<BR>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<%=SYSTEM.STARTIF?FORM.new Y INCLUDE %>
<INPUT TYPE=TEXT NAME="grpid" VALUE="<%=GROUP.grpid%>">
<%=SYSTEM.ELSE%>
<INPUT TYPE=TEXT NAME="grpid" VALUE="<%=GROUP.grpid%>" readonly>
<%=SYSTEM.ENDIF%>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<%=PHRASE.226%>&nbsp;<BR>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<INPUT TYPE=TEXT NAME="grpnme" VALUE="<%=FORM.grpnme%>">
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
&nbsp;<BR>
</TD>
</TR>
<TR>
<%=SYSTEM.STARTIF?SESSION.uac madmin,admin INCLUDE %>
<TD COLSPAN=2 ALIGN="center" VALIGN="middle" NOWRAP>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR>
<TD ROWSPAN=2 ALIGN="center" VALIGN="middle" NOWRAP>
<FONT COLOR="<%=SYSTEM.HEADERCOLOR%>"><%=PHRASE.106%><BR></FONT>
<SELECT NAME="idlist" SIZE=12 multiple>
<%=CLIENT.userlist%>
</SELECT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<INPUT TYPE=CHECKBOX NAME="chkadd" onClick="chkadd_Click(this.form)"><%=PHRASE.60%><BR>
<INPUT TYPE=CHECKBOX NAME="chkdel" onClick="chkdel_Click(this.form)"><%=PHRASE.344%><BR>
</TD>
<TD ROWSPAN=2 ALIGN="center" VALIGN="middle" NOWRAP>
<FONT COLOR="<%=SYSTEM.HEADERCOLOR%>"><%=PHRASE.225%> <%=GROUP.desc%><BR></FONT>
<TEXTAREA NAME="grplist" ROWS=12 COLS=30 readonly><%=GROUP.userlist%></TEXTAREA>
</TD>
</TR>
<TR>
<TD ALIGN="center" VALIGN="middle" NOWRAP>
<INPUT TYPE=SUBMIT VALUE="Submit">
</TD>
</TR>
</TABLE>
</TD>
<%=SYSTEM.ELSE%>
<TD COLSPAN=2 ALIGN="center" VALIGN="middle" NOWRAP>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR>
<TD ROWSPAN=2 ALIGN="center" VALIGN="middle" NOWRAP>
<FONT COLOR="<%=SYSTEM.HEADERCOLOR%>"><%=PHRASE.86%><BR></FONT>
<SELECT NAME="idlist" SIZE=12 multiple>
<%=CANDIDATE.testlist%>
</SELECT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<INPUT TYPE=CHECKBOX NAME="chkadd" onClick="chkadd_Click(this.form)"><%=PHRASE.60%><BR>
<INPUT TYPE=CHECKBOX NAME="chkdel" onClick="chkdel_Click(this.form)"><%=PHRASE.344%><BR>
</TD>
<TD ROWSPAN=2 ALIGN="center" VALIGN="middle" NOWRAP>
<FONT COLOR="<%=SYSTEM.HEADERCOLOR%>"><%=PHRASE.228%><BR></FONT>
<TEXTAREA NAME="grplist" ROWS=12 COLS=30 readonly><%=GROUP.testlist%></TEXTAREA>
</TD>
</TR>
<TR>
<TD ALIGN="center" VALIGN="middle" NOWRAP>
<INPUT TYPE=SUBMIT VALUE="<%=PHRASE.2%>" onClick="return form1_submit(this.form)">
</TD>
</TR>
</TABLE>
</TD>
<%=SYSTEM.ENDIF%>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>