home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <STYLE>
- body{
- font-size : medium;
- }
- td {
- font-size : medium;
- }
- </STYLE>
- </head>
-
- <body bgcolor="silver" text="maroon">
-
- $MENUITEMS$
- <h1><div align="center">$WORKNODENAME$</div></h1><!--<form method="POST" action="http://">-->
- <br>
- <h1><div align="center">General Parameters</div></h1><!--<form method="POST" action="http://">-->
- <form method="post" name="configure" action="CALLBACKID-ConfigureStuff" onSubmit="return VerifyData();">
- <br>
- Enter the instance name:
- <input name="instance_name" value="" size=50 maxlength=80 >
- <br>
- Save file location:
- <input name="save_file_location" size=50 maxlength=80 style="HEIGHT: 22px; WIDTH: 373px">
- <!--<p>Path to help file: <input name="fileInputText" style="HEIGHT: 22px; WIDTH: 373px"><input type="button" name="browseButton" value="Browse..." onClick="BrowseClick();"><input type="file" name="HELP_FILE_PATH" style="HEIGHT: 22px; WIDTH: 80px" style='display: none;'></p>-->
- <br>
- <P>$MENUITEMS$
- </P>
- <hr>
- <table>
- <tr><th align="right">
- <input type="hidden" name="saveState" value="0">
- <input type="hidden" name="WorkingDir">
- <input type="button" name="save" value="Save" style="HEIGHT: 28px; WIDTH: 72px" onClick="return SubmitForSave();">
- </form></th>
- <th align="left"><form method="post" name="cancel_config" action="CALLBACKID-CancelConfigure"><INPUT name=cancel type=submit value=Cancel style="HEIGHT: 28px; WIDTH: 72px">
- </form>
- </th></tr>
- </table>
- <hr>
-
- <BR>
-
- <A href="ConfigHelp.html#General" target=_blank>Click here for help</A>
- <P> </P>
- </body>
- </html>
-
- <SCRIPT LANGUAGE="JavaScript">
- var strInstanceName="";
- var strSaveFileLocation = "";
-
- /*VARS*/
-
- /*ENDVARS*/
-
- document.forms[0].instance_name.value = strInstanceName;
- document.forms[0].save_file_location.value = strSaveFileLocation;
-
- </SCRIPT>
-
- <SCRIPT LANGUAGE="VBScript">
-
-
- Function SubmitForSave()
- document.forms(0).saveState.value = "1"
- if (VerifyData()) then
- if (document.forms(0).onSubmit()) then
- document.forms(0).submit()
- end if
- end if
- End Function
-
- Function VerifyData()
- dim strInstanceName
- dim strFilePath
- dim bReturn
- dim strWorkingDir
-
- bReturn = True
- strInstanceName = document.forms(0).instance_name.value
-
- if (strInstanceName="") then
- MsgBox("You must enter an Instance Name")
- bReturn = False
- end if
-
- VerifyData = bReturn
- end function
-
- </SCRIPT>