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.

156 lines
4.6 KiB

  1. <HTML XMLNS:helpcenter>
  2. <head>
  3. <Title>Advanced System Information</Title>
  4. <LINK href="hcp://system/css/shared.css" rel=STYLESHEET type=text/css>
  5. <LINK href="hcp://system/css/Behaviors.css" rel=STYLESHEET type=text/css>
  6. <LINK href="msinfohss.css" rel=STYLESHEET type=text/css>
  7. <Script Language="JScript" Src="CommonFunc.js"></script>
  8. <Script Language="JavaScript">
  9. var MSInfo = "msinfo32.exe"
  10. function OnLoadHandler() {
  11. _body.style.cursor= "wait";
  12. DisplayLocStrings();
  13. window.setTimeout("LoadChores()", TIMEOUT);
  14. }
  15. function DisplayLocStrings() {
  16. What_do_you_want_todo.innerHTML = TAG_WHATDOYOUWANTTODO;
  17. Advanced_Desc.innerHTML = TAG_ADVANEDSYSTEMINFODESC;
  18. Advanced.all.link.innerHTML = TAG_VIEWDETAILEDSYSTEMINFO;
  19. Services.all.link.innerHTML = TAG_VIEWSERVICES;
  20. Policy.all.link.innerHTML = TAG_VIEWPOLICY;
  21. EvtLog.all.link.innerHTML = TAG_VIEWERRLOG;
  22. Remote_View.all.link.innerHTML = TAG_REMOTE_VIEW;
  23. }
  24. function LoadChores() {
  25. try {
  26. var remoteServer = GetServerName();
  27. Title.innerHTML = remoteServer ? (TAG_REMOTEADVINFO + " \\\\" + remoteServer) : TAG_LOCALADVINFO;
  28. if(!pchealth.UserSettings)
  29. throw MSG_ONLYINHELPCTR;
  30. if(pchealth.UserSettings.CurrentSKU.SKU.toUpperCase() != "PERSONAL_32")
  31. Policy.style.display = "";//show for all SKUs other than personal
  32. if(remoteServer)
  33. {
  34. Remote_View.style.display = "none";
  35. MSInfo += " /computer " + remoteServer;
  36. }
  37. }
  38. catch (e) {
  39. HandleErr(e);
  40. }
  41. finally {
  42. _body.style.cursor= "default";
  43. }
  44. }
  45. function GotosysServicesInfo()
  46. {
  47. var svrName = GetServerName();
  48. var URL = "sysServicesInfo.htm" + "?" + COOKIE_NAME + "=" +svrName;
  49. window.navigate(URL);
  50. }
  51. function GotosysEvtLogInfo()
  52. {
  53. var svrName = GetServerName();
  54. var URL = "sysEvtLogInfo.htm" + "?" + COOKIE_NAME + "=" +svrName;
  55. window.navigate(URL);
  56. }
  57. function GotoMSInfo()
  58. {
  59. var svrName = GetServerName();
  60. var cmdline;
  61. if (svrName)
  62. {
  63. cmdline = "msinfo32 /Computer " + svrName;
  64. }
  65. else
  66. {
  67. cmdline = "msinfo32";
  68. }
  69. Run(cmdline);
  70. }
  71. </Script>
  72. </head>
  73. <body ID="_body" onLoad="OnLoadHandler()" STYLE="cursor: wait" SCROLL="AUTO" class="sys-font-body sys-color-body sys-rhp-bgcolor">
  74. <DIV class="sys-font-heading3 sys-rhp-color-title" ID="Title">
  75. &nbsp;
  76. </DIV>
  77. <BR>
  78. <DIV ID="What_do_you_want_todo" class="sys-font-body-bold">
  79. &nbsp;
  80. </DIV>
  81. <BR>
  82. <BR>
  83. <DIV ID="Advanced_Desc">
  84. &nbsp;
  85. </DIV>
  86. <BR>
  87. <BR>
  88. <DIV ID="Advanced" style="margin-bottom: 1em" onmouseover="ShowInfoTip(this, DESC_DETAILEDSYSINFO)">
  89. <A class="sys-link-normal" href="#" onClick="GotoMSInfo()">
  90. <helpcenter:bitmap class="layout-arrow" SRCNORMAL="hcp://system/images/16x16/arrow_green_normal_shadow.bmp"></helpcenter:bitmap>
  91. <Span ID="link">&nbsp;</Span>
  92. </A>
  93. </DIV>
  94. <DIV ID="Services" style="margin-bottom: 1em" onmouseover="ShowInfoTip(this, DESC_RUNNINGSERVICES)">
  95. <A class="sys-link-normal" href="#" onClick="GotosysServicesInfo()">
  96. <helpcenter:bitmap class="layout-arrow" SRCNORMAL="hcp://system/images/16x16/arrow_green_normal_shadow.bmp"></helpcenter:bitmap>
  97. <Span ID="link">&nbsp;</Span>
  98. </A>
  99. </DIV>
  100. <DIV ID="Policy" Style="display : none; margin-bottom: 1em" onmouseover="ShowInfoTip(this, DESC_POLICY)">
  101. <A class="sys-link-normal" href="RSoP.htm">
  102. <helpcenter:bitmap class="layout-arrow" SRCNORMAL="hcp://system/images/16x16/arrow_green_normal_shadow.bmp"></helpcenter:bitmap>
  103. <Span ID="link">&nbsp;</Span>
  104. </A>
  105. </DIV>
  106. <DIV ID="EvtLog" style="margin-bottom: 1em" onmouseover="ShowInfoTip(this, DESC_ERRLOG)">
  107. <A class="sys-link-normal" href="#" onClick="GotosysEvtLogInfo()">
  108. <helpcenter:bitmap class="layout-arrow" SRCNORMAL="hcp://system/images/16x16/arrow_green_normal_shadow.bmp"></helpcenter:bitmap>
  109. <Span ID="link">&nbsp;</Span>
  110. </A>
  111. </DIV>
  112. <DIV ID="Remote_View" onmouseover="ShowInfoTip(this, DESC_REMOTE_VIEW)">
  113. <A class="sys-link-normal" href="#" onClick="OpenRemoteDialog()">
  114. <helpcenter:bitmap class="layout-arrow" SRCNORMAL="hcp://system/images/16x16/arrow_green_normal_shadow.bmp"></helpcenter:bitmap>
  115. <Span ID="link">&nbsp;</Span>
  116. </A>
  117. </DIV>
  118. <OBJECT ID="wbemlocator" WIDTH=0 HEIGHT=0
  119. CLASSID="CLSID:76A64158-CB41-11D1-8B02-00600806D9B6">
  120. </OBJECT>
  121. <OBJECT ID="pchealth" WIDTH=0 HEIGHT=0
  122. CLASSID="CLSID:FC7D9E02-3F9E-11d3-93C0-00C04F72DAF7">
  123. </OBJECT>
  124. </body>
  125. </html>