Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.3 KiB

  1. <%@ LANGUAGE = VBScript %>
  2. <% Option Explicit %>
  3. <!-- #include file="directives.inc" -->
  4. <!--#include file="iigtdata.str"-->
  5. <!--#include file="iisetfnt.inc"-->
  6. <%
  7. On Error Resume Next
  8. Session("clearPaths") = ""
  9. Session("clearPathsOneTime") = ""
  10. ' Choose which strings to display based on the type of node we are accessing.
  11. Dim L_CLEARPATHS_TEXT, L_CLICKYES_TEXT, L_CLICKNO_TEXT
  12. if Session("vtype") = "comp" then
  13. L_CLEARPATHS_TEXT = L_SVCCLEARPATHS_TEXT
  14. L_CLICKYES_TEXT = L_SVCCLICKYES_TEXT
  15. L_CLICKNO_TEXT = L_SVCCLICKNO_TEXT
  16. else
  17. if Session("vtype") = "server" then
  18. L_CLEARPATHS_TEXT = L_SRVCLEARPATHS_TEXT
  19. else
  20. L_CLEARPATHS_TEXT = L_DIRCLEARPATHS_TEXT
  21. end if
  22. L_CLICKYES_TEXT = L_DEFCLICKYES_TEXT
  23. L_CLICKNO_TEXT = L_DEFCLICKNO_TEXT
  24. end if
  25. %>
  26. <HTML>
  27. <HEAD>
  28. <TITLE></TITLE>
  29. <SCRIPT LANGUAGE="JavaScript">
  30. function setClearPaths(val){
  31. top.opener.top.connect.location.href="iisess.asp?clearPaths="+val;
  32. if (top.opener.top.body != null)
  33. {
  34. toolaction = "top.body.tool.toolFuncs.save();"
  35. }
  36. else
  37. {
  38. toolaction = "top.poptools.toolFuncs.save();"
  39. }
  40. top.opener.top.connect.location.href="iiscript.asp?actions="+toolaction;
  41. window.close();
  42. }
  43. function dontAsk()
  44. {
  45. top.opener.top.connect.location.href="iisess.asp?dontask=true";
  46. top.opener.top.connect.location.href="iiscript.asp?actions=top.title.Global.dontAsk=true;";
  47. }
  48. </SCRIPT>
  49. </HEAD>
  50. <BODY BGCOLOR="<%= Session("BGCOLOR") %>" LINK="#FFFFFF" LEFTMARGIN=0 TOPMARGIN=0 >
  51. <FORM NAME="userform">
  52. <P>
  53. <TABLE HEIGHT="100%" WIDTH="100%" CELLPADDING=0 CELLSPACING=0>
  54. <TR><TD VALIGN="top">
  55. <TABLE BORDER=0 BGCOLOR="<%= Session("BGCOLOR") %>" WIDTH="99%" CELLPADDING=10 CELLSPACING=0>
  56. <TR>
  57. <TD COLSPAN = 2>
  58. <%= sFont("","","",True) %>
  59. <%= L_CLEARPATHS_TEXT %><P>
  60. <%= L_CLICKYES_TEXT %><P>
  61. <%= L_CLICKNO_TEXT %><P>
  62. </FONT>
  63. </TD>
  64. </TR>
  65. <TR>
  66. <TD>
  67. <%= sFont("","","",True) %>
  68. <INPUT TYPE="checkbox" onClick="dontAsk();">&nbsp;<%= L_DONTASK_TEXT %>
  69. </FONT>
  70. </TD>
  71. <TD ALIGN="right">
  72. <%= sFont("","","",True) %>
  73. <INPUT TYPE="button" VALUE="<%= L_YES_TEXT %>" OnClick="setClearPaths('True');">&nbsp;&nbsp;&nbsp;
  74. <INPUT TYPE="button" VALUE="<%= L_NO_TEXT %>" OnClick="setClearPaths('');">
  75. </FONT>
  76. </TD>
  77. </TR>
  78. </TABLE>
  79. <P>
  80. </TD>
  81. </TR>
  82. </TABLE>
  83. </FORM>
  84. </BODY>
  85. </HTML>