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 m
-
- var domain
- var name
-
- 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.usesystemlogon = (form.usesystemlogon=="on")
- m.systemlogonid = form.systemlogonid
-
- var suffix = ".fts?domain="+domain+"&name="+name
- if (form.command==3)
- output.redirect("done.fts")
- else if (m.usesystemlogon)
- output.redirect("quota"+suffix)
- else
- output.redirect("password"+suffix)
- }
- else if (form.command=="2")
- {
- output.redirect("local.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%>";
-
- function isOK(form)
- {
- if (form.usesystemlogon.checked && form.systemlogonid.value=="")
- {
- window.alert("Enter an ID to use.");
- form.systemlogonid.focus();
-
- return false;
- }
-
- return true;
- }
-
- <%
- 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("aspError("+session.system.error+");")
- }
- %>
-
- document.ftgate.usesystemlogon.focus();
- }
- //-->
- </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="System Logon"
- #include <header.fts>
- %>
-
- <!-- start of the tabs -->
- <FORM NAME="ftgate" METHOD="POST" onSubmit="return isOK(this)" ACTION="nt.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 VALIGN="TOP">
- <TABLE BORDER="0" WIDTH="100%">
- <TR>
- <TH COLSPAN="3">If you want to use NT password control then check the box and
- enter the NT ID to use in the adjacent field. If the box is left clear then
- the next page will request a password for the mailbox.<P></TH>
- </TR>
- <TR>
- <TD>
- <INPUT TYPE="CHECKBOX" NAME="usesystemlogon"
- <% if (m.usesystemlogon!=0) output.write("CHECKED") %>>Use NT password control<BR>
- </TD>
- <TD>ID:</TD>
- <TD><INPUT TYPE="TEXT" NAME="systemlogonid" size="<%=size20%>" VALUE="<%=m.systemlogonid%>"></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/nt.fts?domain=<%=domain%>&name=<%=name%>">
- </FORM>
- </TD><TD WIDTH="10"> </TD></TR></TABLE>
- </BODY>
- </HTML>
-