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.

123 lines
3.4 KiB

  1. <HTML XMLNS:helpcenter>
  2. <HEAD>
  3. <!--
  4. Copyright (c) 2000 Microsoft Corporation
  5. -->
  6. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=windows-1252">
  7. <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))'>
  8. <META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
  9. <OBJECT ID=pchealth classid=CLSID:FC7D9E02-3F9E-11d3-93C0-00C04F72DAF7></OBJECT>
  10. <LINK ID=Stylesheet_Ref0 href="hcp://system/css/shared.css" rel=STYLESHEET type=text/css>
  11. <LINK ID=Stylesheet_Ref1 href="hcp://system/css/Behaviors.css" rel=STYLESHEET type=text/css>
  12. <LINK ID=Stylesheet_Ref2 href="hcp://system/css/Layout.css" rel=STYLESHEET type=text/css>
  13. <XML id='xmlOptions'>
  14. <NODE NodeType="Frame1_Expand" Key="Top" Title="Options" URL='hcp://system/blurbs/options.htm'>
  15. <NODE NodeType="Expando_Link" Key="OPT" Title="Change Help and Support Center options" URL="hcp://system/panels/options.htm" Description="Change how you use and view Help and Support Center."/>
  16. <NODE NodeType="Expando_Link" Key="SRC" Title="Set search options" URL="hcp://system/panels/advsearch.htm" Description="Set search options to find help and information from a variety of sources."/>
  17. <NODE NodeType="Expando_Link" Key="RemoteHelp" Title="Install and share Windows Help" URL="hcp://system/panels/ShareHelp.htm" Level="NoPersonal" Description="Share your computer's Help or install and quickly switch to other Windows Help."/>
  18. </NODE>
  19. </XML>
  20. </HEAD>
  21. <BODY id=noloc0 tabindex=-1 class="sys-lhp-bgcolor" style="margin: 11px" scroll=no>
  22. <helpcenter:tree id="idDisplay" target="HelpCtrContents" onSelect="tree_onSelect();" ></helpcenter:tree>
  23. </BODY>
  24. <SCRIPT>
  25. function tree_onSelect()
  26. {
  27. try
  28. {
  29. var node = event.srcElement.data;
  30. if(node && node.URL != "")
  31. {
  32. if(pchealth.HelpSession.IsNavigating() == false)
  33. {
  34. if(node.Title)
  35. {
  36. pchealth.HelpSession.SetTitle( node.URL, node.Title );
  37. }
  38. pchealth.UI_Contents.content.Navigate( node.URL, null, null, null, null );
  39. }
  40. }
  41. }
  42. catch(e)
  43. {
  44. }
  45. }
  46. function options_ContextSwitch()
  47. {
  48. var ctx = pchealth.HelpSession.CurrentContext;
  49. if(ctx.ContextName == "OPTIONS")
  50. {
  51. var oXML = xmlOptions.cloneNode( true );
  52. var oRoot = oXML.documentElement;
  53. switch(pchealth.UserSettings.MachineSKU.SKU)
  54. {
  55. case "Personal_32":
  56. {
  57. var oNodes = oRoot.selectNodes( "//NODE[@Level=\"NoPersonal\"]" );
  58. var oNode;
  59. while(oNode = oNodes.nextNode)
  60. {
  61. if(oNode.parentNode)
  62. {
  63. oNode.parentNode.removeChild( oNode );
  64. }
  65. }
  66. }
  67. break;
  68. }
  69. idDisplay.Populate( oRoot );
  70. }
  71. }
  72. function options_PersistLoad()
  73. {
  74. var dataSer = idState.stateProperty( "dataser" );
  75. if(dataSer)
  76. {
  77. idDisplay.Load( dataSer );
  78. }
  79. }
  80. function options_TravelDone()
  81. {
  82. var dataSer;
  83. try
  84. {
  85. dataSer = idDisplay.Save();
  86. }
  87. catch(e)
  88. {
  89. dataSer = null;
  90. }
  91. idState.stateProperty( "dataser" ) = dataSer;
  92. }
  93. </SCRIPT>
  94. <helpcenter:events id=idEvents onContextSwitch="options_ContextSwitch();" onPersistLoad="options_PersistLoad();" onTravelDone="options_TravelDone();" />
  95. <helpcenter:state id=idState identity="Options" />
  96. </HTML>