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.

140 lines
3.5 KiB

  1. <%@ LANGUAGE = VBScript %>
  2. <% Option Explicit %>
  3. <!-- #include file="directives.inc" -->
  4. <!--#include file="iifnav.str"-->
  5. <!--#include file="iisetfnt.inc"-->
  6. <%
  7. Dim vtype
  8. vtype=Request.QueryString("vtype")
  9. %>
  10. <HTML>
  11. <HEAD>
  12. <SCRIPT LANGUAGE="javascript">
  13. theList=top.title.nodeList;
  14. i=top.title.Global.selId;
  15. function changePage(pg, sel) {
  16. if (top.title.Global.updated){
  17. if (confirm("<%= L_SAVECHANGES_WARNING %>")){
  18. parent.tool.toolFuncs.save();
  19. return;
  20. }
  21. top.title.Global.updated=false;
  22. }
  23. if (pg=="") {
  24. alert("<%= L_NOTIMPLEMENTED_ERRORMESSAGE %>");
  25. }
  26. else {
  27. parent.iisstatus.location.href=("iistat.asp");
  28. parent.main.location.href=(pg + ".asp");
  29. }
  30. }
  31. function goBack(){
  32. if (top.title.Global.updated){
  33. if (confirm("<%= L_SAVECHANGES_WARNING %>")){
  34. parent.tool.toolFuncs.save();
  35. return;
  36. }
  37. top.title.Global.updated=false;
  38. }
  39. parent.location.href="iibody.asp";
  40. }
  41. </SCRIPT>
  42. </HEAD>
  43. <%= Session("MENUBODY") %>
  44. <IMG SRC="images/ism.gif" WIDTH=189 HEIGHT=55 BORDER=0>
  45. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH =189>
  46. <TR>
  47. <TD VALIGN=top COLSPAN = 2 BGCOLOR='silver'>
  48. <% if vtype="svc" then %>
  49. <SCRIPT LANGUAGE="JavaScript">
  50. document.write("<TABLE><TR><TD><%= sFont(2,Session("MENUFONT"),"#000000",True) %><B>");
  51. document.write("&nbsp;</TD>");
  52. document.write("<TD><%= sFont(2,Session("MENUFONT"),"#000000",True) %><B><%= L_MASTERPROPS_TEXT %></B></FONT>");
  53. document.write("</TD></TR></TABLE>");
  54. </SCRIPT>
  55. <% else %>
  56. <SCRIPT LANGUAGE="JavaScript">
  57. document.write("<TABLE><TR><TD><%= sFont(2,Session("MENUFONT"),"#FFFFFF",True) %><B>");
  58. document.write("<IMAGE BORDER=0 ALIGN=top SRC='"+theList[i].icon+theList[i].state+".gif'>&nbsp;</TD>");
  59. document.write("<TD><%= sFont(2,Session("MENUFONT"),"#000000",True) %><B>" + theList[i].title + "</B></FONT>");
  60. document.write("</TD></TR></TABLE>");
  61. </SCRIPT>
  62. <% end if %>
  63. </TD>
  64. </TR>
  65. <% if vtype="svc" then %>
  66. <TR>
  67. <TD WIDTH=18 VALIGN=top ALIGN=right>
  68. &nbsp;
  69. </TD>
  70. <TD WIDTH=142 VALIGN=top><%= sFont(Session("MENUFONTSIZE"),Session("MENUFONT"),"",True) %><A HREF="javascript:changePage('iidef',1)"><B><%= L_DEFAULTSITE_TEXT %></B></A></FONT></TD>
  71. </TR>
  72. <% end if %>
  73. <% if (vtype="server") or (vtype="svc") then %>
  74. <TR><TD WIDTH=18 VALIGN=top ALIGN=right>
  75. &nbsp;
  76. </TD>
  77. <TD><%= sFont(Session("MENUFONTSIZE"),Session("MENUFONT"),"",True) %><A HREF="javascript:changePage('iifvs',1,document.sel1)"><B><%= L_VIRTUALSERVER_TEXT %></B></A></FONT></TD>
  78. </TR>
  79. <TR><TD VALIGN=top ALIGN=right>
  80. &nbsp;
  81. </TD>
  82. <TD VALIGN=top><%= sFont(Session("MENUFONTSIZE"),Session("MENUFONT"),"",True) %><A HREF="javascript:changePage('iiadm',2);"><B><%= L_SECACCT_TEXT %></B></A></FONT></TD>
  83. </TR>
  84. <TR><TD>
  85. </TD>
  86. <TD><%= sFont(Session("MENUFONTSIZE"),Session("MENUFONT"),"",True) %><A HREF="javascript:changePage('iifmsg',6,document.sel3);"><B><%= L_MESSAGES_TEXT %></B></A></FONT></TD>
  87. </TR>
  88. <% end if %>
  89. <TR><TD WIDTH=18>
  90. </TD>
  91. <TD><%= sFont(Session("MENUFONTSIZE"),Session("MENUFONT"),"",True) %><A HREF="javascript:changePage('iifvd',4,document.sel5)"><B><%= L_VIRTUALDIRECTORY_TEXT %></B></A></FONT></TD>
  92. </TR>
  93. <TR><TD>
  94. </TD>
  95. <TD><%= sFont(Session("MENUFONTSIZE"),Session("MENUFONT"),"",True) %><A HREF="javascript:changePage('iisec',5,document.sel5);"><B><%= L_SEC_TEXT %></B></A></FONT></TD>
  96. </TR>
  97. </TABLE>
  98. <P ALIGN="right">
  99. <A HREF="javascript:goBack();">
  100. <IMG SRC="images/back.gif" WIDTH=55 HEIGHT=51 BORDER=0 ALT="<%= L_BACK_TEXT %>"></A>
  101. </BODY>
  102. </HTML>