home *** CD-ROM | disk | FTP | other *** search
/ Adephia Powerlink / AdephiaPowerlink-030102.iso / pc / Install / WorkFlow / Bin / SysInfoText.dll / GUI_INFO / 135 next >
Encoding:
Text File  |  2002-11-15  |  2.4 KB  |  92 lines

  1. <html>
  2. <head>
  3. <STYLE>
  4. body{
  5.     font-size : medium;
  6.     }
  7. td    {
  8.     font-size : medium;
  9.     }
  10. </STYLE>
  11. </head>
  12.  
  13. <body bgcolor="silver" text="maroon">
  14.  
  15. $MENUITEMS$
  16. <h1><div align="center">$WORKNODENAME$</div></h1><!--<form method="POST"  action="http://">-->
  17. <br>
  18. <h1><div align="center">General Parameters</div></h1><!--<form method="POST"  action="http://">-->
  19. <form method="post" name="configure" action="CALLBACKID-ConfigureStuff" onSubmit="return VerifyData();">
  20. <br>
  21. Enter the instance name:  
  22. <input name="instance_name" value="" size=50 maxlength=80 >
  23. <br>
  24. Save file location:  
  25. <input name="save_file_location" size=50 maxlength=80 style="HEIGHT: 22px; WIDTH: 373px">
  26. <!--<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>-->
  27. <br>
  28. <P>$MENUITEMS$
  29. </P>
  30. <hr>
  31. <table>
  32. <tr><th align="right">
  33. <input type="hidden" name="saveState" value="0">
  34. <input type="hidden" name="WorkingDir">
  35. <input type="button" name="save" value="Save" style="HEIGHT: 28px; WIDTH: 72px" onClick="return SubmitForSave();"> 
  36. </form></th>
  37. <th align="left"><form method="post" name="cancel_config" action="CALLBACKID-CancelConfigure"><INPUT name=cancel type=submit value=Cancel style="HEIGHT: 28px; WIDTH: 72px">
  38. </form>
  39. </th></tr>
  40. </table>
  41. <hr>
  42.  
  43. <BR>
  44.  
  45. <A href="ConfigHelp.html#General" target=_blank>Click here for help</A>
  46. <P> </P>
  47. </body>
  48. </html>
  49.  
  50. <SCRIPT LANGUAGE="JavaScript">
  51. var strInstanceName="";
  52. var strSaveFileLocation = "";
  53.  
  54. /*VARS*/
  55.  
  56. /*ENDVARS*/
  57.  
  58. document.forms[0].instance_name.value = strInstanceName;
  59. document.forms[0].save_file_location.value = strSaveFileLocation;
  60.  
  61. </SCRIPT>
  62.  
  63. <SCRIPT LANGUAGE="VBScript">
  64.  
  65.  
  66. Function SubmitForSave()
  67.     document.forms(0).saveState.value = "1"
  68.     if (VerifyData()) then
  69.         if (document.forms(0).onSubmit()) then
  70.             document.forms(0).submit()
  71.         end if
  72.     end if
  73. End Function
  74.  
  75. Function VerifyData()
  76.     dim strInstanceName
  77.     dim strFilePath
  78.     dim bReturn
  79.     dim strWorkingDir
  80.  
  81.     bReturn = True
  82.     strInstanceName = document.forms(0).instance_name.value
  83.     
  84.     if (strInstanceName="") then
  85.         MsgBox("You must enter an Instance Name")
  86.         bReturn = False
  87.     end if
  88.     
  89.     VerifyData = bReturn
  90. end function
  91.  
  92. </SCRIPT>