home *** CD-ROM | disk | FTP | other *** search
- <%
- #include </utility/security.fts>
- #include </utility/global.fts>
- #include </utility/theme.fts>
- #include </utility/ftgate.fts>
-
- var d = new server.domain
- var buildType = build()
- var m
-
- var domain
- var name
-
- session.system.error=0
-
- if ((form.command==1)||(form.command==3))
- {
- domain = form.domain
- name = form.name
-
- d.domainname = form.domain
- m = new d.mailbox
- m.name=name
-
- m.roundrobin = form.roundrobin
-
- if (form.command==3)
- output.redirect("done.fts")
- else
- output.redirect("script.fts?domain="+domain+"&name="+name)
- }
- else if (form.command=="2")
- {
- output.redirect("general.fts?domain="+form.domain+"&name="+form.name)
- }
- else
- {
- domain = request.domain
- name = request.name
-
- d.domainname = request.domain
- m = new d.mailbox
- m.name=name
- }
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
- <HTML>
- <HEAD>
- <LINK REL=STYLESHEET HREF="/utility/main<%=nn4%>.css" TYPE="text/css">
- <META NAME="GENERATOR" Content="Microsoft Developer Studio">
- <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
- <TITLE>Mailbox Wizard</TITLE>
- <SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
- <!--
- var dir="<%=buttons%>";
-
- <%
- if (netscape)
- {
- %>
- document.captureEvents(Event.KEYPRESS);
- document.onkeypress = keypress;
-
- function keypress(event)
- {
- if (event.which==13)
- {
- onNext();
- return false;
- }
-
- return true;
- }
- <%
- }
- else
- {
- %>
- function keypress()
- {
- if (event.keyCode==13)
- {
- event.returnValue=null;
- onNext();
- }
- }
- <%
- }
- %>
-
- function onLoad()
- {
- <%
- if (session.system.error)
- {
- output.writeln("alert(aspError("+session.system.error+"));")
- }
- %>
- document.ftgate.roundrobin.focus();
- }
-
- function isOK(form)
- {
- return true;
- }
- //-->
- </SCRIPT>
- <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/cookies.js" TYPE="text/javascript"></SCRIPT>
- <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/core.js" TYPE="text/javascript"></SCRIPT>
- <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/wizard.js" TYPE="text/javascript"></SCRIPT>
- </HEAD>
-
- <%
- var pagetitle="Round Robin"
- #include <header.fts>
- %>
-
- <!-- start of the tabs -->
- <FORM NAME="ftgate" METHOD="POST" onSubmit="return isOK(this)" ACTION="robin.fts">
- <INPUT TYPE="HIDDEN" NAME="command" VALUE="1">
- <INPUT TYPE="HIDDEN" NAME="domain" VALUE="<%=domain%>">
- <INPUT TYPE="HIDDEN" NAME="name" VALUE="<%=name%>">
-
- <!-- start of the tab body -->
- <TABLE BORDER="0" BGCOLOR="<%=border%>" WIDTH="100%" CELLPADDING="0" CELLSPACING="0"><TR><TD>
- <TABLE <%=table%> CELLPADDING="0" CELLSPACING="0">
- <!-- start of block -->
- <TR>
- <TD VALIGN="TOP">
- <!-- sub table goes here -->
- <TABLE BORDER="0" WIDTH="100%">
- <TR>
- <TD>
- <TABLE BORDER="0" WIDTH="100%">
- <TR>
- <TH>When you check this box emails arriving will be delivered to each
- member of the group in turn, rather than all members of the group
- receiving all emails.<P>
- E.g. The first email to arrive gets delivered to the first member of
- the group. The next email is sent to the secend member of the group,
- and so on. Once everyone in the group has received an email, the
- cycle repeats wit the first member receiving the next email.<P></TH>
- </TR>
- <TR>
- <TD><INPUT TYPE="CHECKBOX" NAME="roundrobin" onClick="setModified(true)"
- <% if (m.roundrobin) output.writeln("CHECKED") %>>Round robin delivery
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- <%
- #include <footer.fts>
- %>
- </TABLE>
- <!-- sub table ends here -->
- </TD>
- </TR>
- <!-- end of block -->
- </TABLE>
- <!-- end of the tab body -->
- </TD></TR></TABLE>
- <INPUT TYPE="HIDDEN" NAME="href" VALUE="/mailboxes/wizard/robin.fts?domain=<%=domain%>&name=<%=name%>">
- </FORM>
-
- </TD><TD WIDTH="10"> </TD></TR></TABLE>
- </BODY>
- </HTML>
-