Leaked source code of windows server 2003
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.

148 lines
4.5 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE>Program Compatibility Data</TITLE>
  5. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=windows-1252">
  6. <META HTTP-EQUIV=PICS-Label CONTENT='(PICS-1.1 "http://www.rsac.org/ratingsv01.html" l comment "RSACi North America Server" by "[email protected]" r (n 0 s 0 v 0 l 0))'>
  7. <META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
  8. <META content=en-us http-equiv=Content-Language>
  9. <LINK ID=Stylesheet_Ref0 href="hcp://system/css/shared.css" rel=STYLESHEET type=text/css>
  10. <LINK ID=Stylesheet_Ref1 href="hcp://system/css/Behaviors.css" rel=STYLESHEET type=text/css>
  11. <LINK ID=Stylesheet_Ref2 href="hcp://system/css/Layout.css" rel=STYLESHEET type=text/css>
  12. <SCRIPT language="javascript">
  13. <!--
  14. var g_shell = new ActiveXObject("Wscript.Shell");
  15. var g_ViewCmd = '%SystemRoot%\\system32\\notepad.exe ';
  16. var g_rgFileList = null;
  17. var g_rgJobList = null;
  18. function onTempFileView(iFile) {
  19. var sCmd = g_ViewCmd;
  20. var sFileName = g_rgFileList[iFile];
  21. if (event != null) {
  22. event.returnValue = false;
  23. }
  24. sCmd += '\"' + sFileName + '\"';
  25. if (g_rgJobList[iFile] != null) {
  26. g_rgJobList[iFile].Terminate();
  27. }
  28. g_rgJobList[iFile] = g_shell.Exec(sCmd);
  29. }
  30. function onNothing() {
  31. }
  32. function OnDialogEnd() {
  33. var i;
  34. if (g_rgJobList != null) {
  35. for (i = 0; i < g_rgJobList.length; ++i) {
  36. if (g_rgJobList[i] != null) {
  37. g_rgJobList[i].Terminate();
  38. }
  39. }
  40. }
  41. }
  42. function OnDialogInit() {
  43. var sFileList = window.dialogArguments;
  44. var divTempFileList = document.all['TempFileList'];
  45. var rgFileList = sFileList.split(';');
  46. var sHtml = '';
  47. var i;
  48. // now we have an array of individual file names
  49. for (i = 0; i < rgFileList.length; ++i) {
  50. sHtml += '<a onclick=\"javascript:onTempFileView(' + i + ');\" ' +
  51. 'href=\"javascript:onNothing()\">';
  52. sHtml += rgFileList[i];
  53. sHtml += '</a><br>';
  54. }
  55. divTempFileList.innerHTML = sHtml;
  56. g_rgFileList = rgFileList;
  57. if (rgFileList.length) {
  58. g_rgJobList = new Array(rgFileList.length);
  59. }
  60. }
  61. function onClose() {
  62. window.close();
  63. }
  64. //-->
  65. </SCRIPT>
  66. <STYLE ID="CompatibilityDataDialogStyle" TYPE="text/css">
  67. HTML {width:480px;
  68. height:240px;
  69. top-margin:0;
  70. bottom-margin:0;
  71. left-margin:0;
  72. right-margin:0}
  73. </STYLE>
  74. </HEAD>
  75. <BODY onload="javascript:OnDialogInit()" onunload="javascript:OnDialogEnd()"
  76. style="margin-top:0.5em; margin-left:0.5em; margin-right:0.5em; margin-bottom:0.5em"
  77. class="sys-color-body sys-font-body">
  78. <!-- header -->
  79. <table border=0 cellpadding=0 cellspacing=0 height=100% width=100% style="margin-top:0; margin-bottom:0">
  80. <tr style="margin-bottom:0em; margin-top:0em">
  81. <td>
  82. <div id=loc1 class="sys-font-heading3 sys-rhp-color-title" style="margin-bottom:1em; margin-top:0em">
  83. Program Compatibility Wizard
  84. </div>
  85. </td>
  86. </tr>
  87. <tr valign=top height=100%>
  88. <td>
  89. <Div style="height:100%; margin-top:0em; margin-bottom:0em">
  90. <table border=0 cellspacing=0 cellpadding=0 height=100% width=100% style="margin-top:0; margin-bottom:0">
  91. <tr valign=top>
  92. <td>
  93. <Div class="sys-font-body sys-color-body" style="margin-bottom:0.5em; margin-top:0em">
  94. <label id="lblTemporaryFiles" title="Temporary Files" class="sys-font-body sys-color-body">Temporary Files</label>
  95. </Div>
  96. <Div style="height:80%; overflow-y:auto; border-style:inset; border-width:1; padding:2">
  97. <div id=TempFileList class="sys-font-body sys-color-body" style="margin-top:0em; margin-left:1em">
  98. </div>
  99. </Div>
  100. </td>
  101. </tr>
  102. </table>
  103. </Div>
  104. </td>
  105. </tr>
  106. <tr>
  107. <td>
  108. <Div style="margin-top:1em; width:100%" class="sys-font-body sys-color-body">
  109. <BUTTON id="btnClose" value="Close" name="btnClose" ACCESSKEY="C" onclick="javascript:onClose()" style="float:right"><u>C</u>lose</BUTTON>
  110. </Div>
  111. </td>
  112. </tr>
  113. </table>
  114. </BODY>
  115. </HTML>