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.

188 lines
5.8 KiB

  1. <%@ LANGUAGE = VBScript %>
  2. <% Option Explicit %>
  3. <!-- #include file="directives.inc" -->
  4. <!--#include file="iiappmn.str"-->
  5. <%
  6. On Error Resume Next
  7. Const IISAO_APPROT_ISOLATE = 1
  8. Dim path, currentobj
  9. path=Session("dpath")
  10. Session("path")=path
  11. Session("SpecObj")=""
  12. Session("SpecProps")=""
  13. Set currentobj=GetObject(path)
  14. if Session("vtype") = "svc" Or IISAO_APPROT_ISOLATE = currentobj.AppIsolated then
  15. bShowProcessOptions = True
  16. else
  17. bShowProcessOptions = False
  18. end if
  19. %>
  20. <!--#include file="iiset.inc"-->
  21. <!--#include file="iisetfnt.inc"-->
  22. <%
  23. ' Do not use top.title.Global.update flag if page is loaded into a dialog
  24. bUpdateGlobal = false
  25. %>
  26. <HTML>
  27. <HEAD>
  28. <TITLE></TITLE>
  29. <SCRIPT LANGUAGE="JavaScript">
  30. <!--#include file="iijsfuncs.inc"-->
  31. function buildListForm(){
  32. qstr="numrows=0";
  33. top.hlist.location.href="iihdn.asp?"+qstr;
  34. }
  35. function SetListVals(){
  36. }
  37. function listFuncs(){
  38. this.bHasList = false;
  39. this.writeList=buildListForm;
  40. this.SetListVals=SetListVals;
  41. this.mainframe = top.opener.top;
  42. }
  43. listFunc=new listFuncs();
  44. </SCRIPT>
  45. </HEAD>
  46. <BODY TOPMARGIN=10 LEFTMARGIN=10 BGCOLOR="<%= Session("BGCOLOR") %>" LINK="#000000" VLINK="#000000">
  47. <%= sFont("","","",True) %>
  48. <FORM NAME="userform">
  49. <A NAME="ASP">
  50. <TABLE WIDTH =100% HEIGHT = <%= L_PAGEHEIGHT_NUM %>>
  51. <TR>
  52. <TD >
  53. <%= sFont("","","",True) %>
  54. <B><%= L_ASP_TEXT %></B>
  55. </FONT>
  56. </TD>
  57. </TR>
  58. <TR>
  59. <TD VALIGN="top" WIDTH = 50%>
  60. <%= sFont("","","",True) %>
  61. <IMG SRC="images/hr.gif" WIDTH=5 HEIGHT=2 BORDER=0 ALIGN="middle">
  62. <%= L_APPCONFIG_TEXT %>
  63. <IMG SRC="images/hr.gif" WIDTH=200 HEIGHT=2 BORDER=0 ALIGN="middle">
  64. <P>
  65. <%= checkbox("AspAllowSessionState", "", false) %>&nbsp;<%= L_ENABLESESSION_TEXT %><BR>&nbsp;&nbsp;&nbsp;&nbsp;
  66. <%= L_SESSIONTO_TEXT %>&nbsp;<%= text("AspSessionTimeout",L_SESSIONTO_NUM,"","", "isNum(this,1,4294967295);",False,False) %>&nbsp;<%= L_MINUTES_TEXT %><BR>
  67. <%= checkbox("AspBufferingOn", "", false) %>&nbsp;<%= L_ENABLEBUFF_TEXT %><BR>
  68. <%= checkbox("AspEnableParentPaths", "", false) %>&nbsp;<%= L_ENABLEPATHS_TEXT %><BR>
  69. <%= L_DEFAULTLANG_TEXT %>&nbsp;<%= text("AspScriptLanguage",L_DEFAULTLANG_NUM,"","", "",False,False) %><P>
  70. <%= L_SCRIPTTO_TEXT %>&nbsp;<%= text("AspScriptTimeout",L_SCRIPTTO_NUM,"","", "isNum(this,1,4294967295);",False,False) %>&nbsp;<%= L_SECONDS_TEXT %>
  71. </TD>
  72. </TR>
  73. </TABLE>
  74. <!-- App Debugging -->
  75. <% if not Session("IsIE") then %>
  76. <P>&nbsp;
  77. <% end if %>
  78. <A NAME="DBG">
  79. <TABLE WIDTH =100% HEIGHT = <%= L_PAGEHEIGHT_NUM %>>
  80. <TR>
  81. <TD >
  82. <%= sFont("","","",True) %>
  83. <B><%= L_DBG_TEXT %></B>
  84. </FONT>
  85. </TD>
  86. </TR>
  87. <TR>
  88. <TD VALIGN="top" WIDTH = 50%>
  89. <%= sFont("","","",True) %>
  90. <IMG SRC="images/hr.gif" WIDTH=5 HEIGHT=2 BORDER=0 ALIGN="middle">
  91. <%= L_DEBUGGING_TEXT %>
  92. <IMG SRC="images/hr.gif" WIDTH=<%= L_DEBUGGING_HR %> HEIGHT=2 BORDER=0 ALIGN="middle">
  93. <P>
  94. <%= checkbox("AppAllowDebugging","",false) %><%= L_ENABLESSDEBUG_TEXT %><P>
  95. <%= checkbox("AppAllowClientDebug","",false) %><%= L_ENABLECLIENTDEBUG_TEXT %><P>
  96. <IMG SRC="images/hr.gif" WIDTH=5 HEIGHT=2 BORDER=0 ALIGN="middle">
  97. <%= L_SCRIPTERRMSG_TEXT %>
  98. <IMG SRC="images/hr.gif" WIDTH=<%= L_SCRIPTERRMSG_HR %> HEIGHT=2 BORDER=0 ALIGN="middle">
  99. <P>
  100. <%= printradio("rdoAspScriptErrorSentToBrowser", currentobj.AspScriptErrorSentToBrowser, "document.userform.AspScriptErrorSentToBrowser.value='True'",False) %>
  101. <%= L_SENDDETAILED_TEXT %><BR>
  102. <%= printradio("rdoAspScriptErrorSentToBrowser", not currentobj.AspScriptErrorSentToBrowser, "document.userform.AspScriptErrorSentToBrowser.value='False'",False) %>
  103. <%= L_SENDTEXT_TEXT %><P>
  104. <INPUT TYPE="hidden" NAME="AspScriptErrorSentToBrowser" VALUE="<%= currentobj.AspScriptErrorSentToBrowser %>">
  105. <TEXTAREA NAME="txtAspScriptErrorMessage" ROWS=<%= L_TEXTERRORROWS_NUM %> COLS=<%= L_TEXTERRORCOLS_NUM %>><%= currentobj.AspScriptErrorMessage %>
  106. </TEXTAREA>
  107. </FONT>
  108. </TD>
  109. </TR>
  110. </TABLE>
  111. <% if bShowProcessOptions then %>
  112. <!-- Process Options -->
  113. <% if not Session("IsIE") then %>
  114. <P>&nbsp;
  115. <% end if %>
  116. <A NAME="OTHER">
  117. <TABLE WIDTH =100% HEIGHT = <%= L_PAGEHEIGHT_NUM %>>
  118. <TR>
  119. <TD>
  120. <%= sFont("","","",True) %>
  121. <B><%= L_OTHER_TEXT %></B>
  122. </FONT>
  123. </TD>
  124. </TR>
  125. <TR>
  126. <TD VALIGN="top" WIDTH = 50%>
  127. <%= sFont("","","",True) %>
  128. <IMG SRC="images/hr.gif" WIDTH=5 HEIGHT=2 BORDER=0 ALIGN="middle">
  129. <%= L_PROCESSOPTIONS_TEXT %>
  130. <IMG SRC="images/hr.gif" WIDTH=<%= L_PROCESSOPTIONS_HR %> HEIGHT=2 BORDER=0 ALIGN="middle">
  131. <P>
  132. <%= checkbox("AspLogErrorRequests", "", false) %>&nbsp;<%= L_WRITEFAILED_TEXT %><BR>
  133. <%= checkbox("AspExceptionCatchEnable", "", false) %>&nbsp;<%= L_EXCEPTIONCATCH_TEXT %><P>
  134. <%= L_NUMENGINESCACHED_TEXT %><%= text("AspScriptEngineCacheMax",L_NUMENGINESCACHED_NUM,"","", "",False,False) %><P>
  135. <IMG SRC="images/hr.gif" WIDTH=5 HEIGHT=2 BORDER=0 ALIGN="middle">
  136. <%= L_SCRIPTCACHE_TEXT %>
  137. <IMG SRC="images/hr.gif" WIDTH=<%= L_SCRIPTCACHE_HR %> HEIGHT=2 BORDER=0 ALIGN="middle">
  138. <P>
  139. <%= printradio("AspScriptFileCacheSize", currentobj.AspScriptFileCacheSize = 0 , "AspScriptFileCacheSize.value=0;setCntrlState(false,hdnAspScriptFileCacheSize);",False) %>
  140. <%= L_NOCACHE_TEXT %><BR>
  141. <%= printradio("AspScriptFileCacheSize", currentobj.AspScriptFileCacheSize , "AspScriptFileCacheSize.value=-1;setCntrlState(false,hdnAspScriptFileCacheSize);",False) %>
  142. <%= L_CACHEASP_TEXT %><BR>
  143. <%= printradio("AspScriptFileCacheSize", (currentobj.AspScriptFileCacheSize > 0) , "AspScriptFileCacheSize.value=hdnAspScriptFileCacheSize.value;setCntrlState(true,hdnAspScriptFileCacheSize);",False) %>
  144. <%= L_ASPCACHESIZE_TEXT %>&nbsp;
  145. <%= inputbox(0,"text","hdnAspScriptFileCacheSize", minVal(currentobj.AspScriptFileCacheSize,0),L_ASPCACHESIZE_NUM,"","", "isNum(this,1,4294967295);AspScriptFileCacheSize.value=hdnAspScriptFileCacheSize.value;rdoAspScriptFileCacheSize[2].checked = true;",False,False,False) %><BR>
  146. <%= writehidden("AspScriptFileCacheSize")%>
  147. </FONT>
  148. </TD>
  149. </TR>
  150. </TABLE>
  151. <% end if %>
  152. </FORM>
  153. </BODY>
  154. </HTML>