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
-
- 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.command=form.path
-
- output.redirect("script.fts?domain="+form.domain+"&name="+form.name)
- }
- else if (form.command=="2")
- {
- d.domainname = form.domain
- m = new d.mailbox
- m.name=form.name
-
- var suffix = ".fts?domain="+form.domain+"&name="+form.name
- output.redirect("general"+suffix)
- }
- 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 isOK(form)
- {
- return true;
- }
-
- function onLoad()
- {
- <%
- if (session.system.error)
- {
- output.writeln("alert(aspError("+session.system.error+"));")
- }
- %>
- document.ftgate.path.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="Command"
- #include <header.fts>
- %>
-
- <!--- start of the tabs ---->
- <FORM NAME="ftgate" METHOD="POST" onSubmit="return isOK(this)" ACTION="command.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>
- <TD>
- <TABLE BORDER="0" WIDTH="100%">
- <TR>
- <TH>Enter the command line that you wish to execute.<P></TH>
- </TR>
- <TR>
- <TD>
- Note: you must specify the full path to the file and include the extension
- (.exe). You may use command line option %FILE% to represent
- the mail message that will be processed by te command.<P>
-
- e.g. c:\windows\notepad.exe %FILE%<p>
-
- <INPUT TYPE="EDIT" NAME="path" SIZE="<%=size60%>" VALUE="<%=m.command%>">
- </TD>
- </TR>
- </TABLE>
- </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/command.fts?domain=<%=domain%>&name=<%=name%>">
- </FORM>
-
- </TD><TD WIDTH="10"> </TD></TR></TABLE>
- </BODY>
- </HTML>
-