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.

108 lines
4.6 KiB

  1. <%@ Control Language='C#' Inherits='UDDI.Web.HeaderControl' %>
  2. <%@ Register TagPrefix='uddi' Namespace='UDDI.Web' Assembly='uddi.web' %>
  3. <%@ Import Namespace='UDDI' %>
  4. <%@ Import Namespace='UDDI.Web' %>
  5. <%@ Import Namespace='System.Globalization' %>
  6. <%@ Import Namespace='System.IO' %>
  7. <script language='C#' runat='server'>
  8. protected override void OnInit( EventArgs e )
  9. {
  10. links = new string[] {
  11. "QUICKHELP_PUBLISH_TOC_ALT", "home.toc.aspx",
  12. "QUICKHELP_PUBLISH_PROVIDER", "publish.addproviders.aspx",
  13. "QUICKHELP_PUBLISH_SERVICE", "publish.addservices.aspx",
  14. "QUICKHELP_PUBLISH_TMODEL", "publish.addtmodels.aspx",
  15. "QUICKHELP_SEARCH_ALT", "search.toc.aspx" };
  16. if( Frames )
  17. {
  18. SignIn.ReturnUrl = ( Request.IsSecureConnection ? "https://" : "http://" ) +
  19. Request.ServerVariables["SERVER_NAME"] + Request.ApplicationPath;
  20. }
  21. base.OnInit( e );
  22. }
  23. </script>
  24. <table cellpadding='0' height='100%' cellspacing='0' width='100%' border='0'>
  25. <tr>
  26. <td height='65' rowspan='2' valign='center' align='left'>
  27. <img src='<%=HyperLinkManager.GetHyperLink( "/images/logo.gif" )%>' width='150' height='64' border='0' align='absmiddle'>
  28. <asp:PlaceHolder
  29. ID='beta'
  30. Visible='false'
  31. Runat='server'
  32. >
  33. <a href=' ' onclick='javascript:window.open( "<%=HyperLinkManager.GetNonSecureHyperLink( "/policies/beta.aspx" )%>", null, "height=500,width=400,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes" );'>
  34. <img src='<%=HyperLinkManager.GetHyperLink( "/images/beta.gif" )%>' width='104' height='39' border='0'>
  35. </a>
  36. </asp:PlaceHolder>
  37. <asp:PlaceHolder
  38. ID='test'
  39. Visible='false'
  40. Runat='server'>
  41. <span style='font-family: arial; font-weight: bold; font-size: 20pt; color: blue'>Test Site</span>
  42. </asp:PlaceHolder>
  43. </td>
  44. <td height='15' align='right' valign='top'>
  45. <img src='<%=HyperLinkManager.GetHyperLink( "/images/curve.gif" )%>'>
  46. </td>
  47. <td bgcolor='#000000' height='15' valign='center' align='right' nowrap id='_mnubar'>
  48. <font face='Verdana, arial' size='1' color='#ffffff'>
  49. &nbsp;&nbsp;<a target='_top' href='http://msdn.microsoft.com/isapi/gomscom.asp?Target=/products/' style='text-decoration: none; color: #ffffff'><SPaN id='_mnuitmProducts' class='menu'>MS Products</a></SPaN>&nbsp;&nbsp;|
  50. &nbsp;&nbsp;<a target='_top' href='http://msdn.microsoft.com/isapi/gosearch.asp?Target=/' style='text-decoration: none; color: #ffffff'><SPaN id='_mnuitmSearch' class='menu'>MS Search</SPaN></a>&nbsp;&nbsp;|
  51. &nbsp;&nbsp;<a target='_top' href='http://msdn.microsoft.com' style='text-decoration: none; color: #ffffff'><SPaN id='_mnuitmMSDN' class='menu'>MSDN Home</SPaN></a>&nbsp;&nbsp;|
  52. &nbsp;&nbsp;<a target='_top' href='http://msdn.microsoft.com/isapi/gomscom.asp?Target=/' style='text-decoration: none; color: #ffffff'><SPaN id='_mnuitmMicrosoft' class='menu'>Microsoft Home</a>&nbsp;&nbsp;
  53. </font>
  54. </td>
  55. </tr>
  56. <tr>
  57. <td colspan='3' height='45' align='right' class='normal' valign='center'>
  58. <uddi:SignInControl id='SignIn' Runat='server' />
  59. </td>
  60. </tr>
  61. <tr>
  62. <td colspan='2' align='left' valign='middle' class='menubar'>
  63. <table cellpadding='0' cellspacing='0' border='0' class='menubar'>
  64. <tr>
  65. <td>
  66. &nbsp;&nbsp;<a href='<%=HyperLinkManager.GetNonSecureHyperLink( "/default.aspx" )%>' target='_top' style='color: white'><uddi:UddiLabel Text='[[MENUITEM_HOME]]' Runat='server' /></a>&nbsp;&nbsp;
  67. </td>
  68. <td>
  69. &nbsp;&nbsp;<a href='<%=HyperLinkManager.GetNonSecureHyperLink( "/search/default.aspx" )%>' target='_top' style='color: white'><uddi:UddiLabel Text='[[MENUITEM_SEARCH]]' Runat='server' /></a>&nbsp;&nbsp;
  70. </td>
  71. <asp:PlaceHolder ID='edit' Visible='false' Runat='server'>
  72. <td>
  73. &nbsp;&nbsp;<a href='<%=HyperLinkManager.GetSecureHyperLink( "/edit/default.aspx" )%>' target='_top' style='color: white'><uddi:UddiLabel Text='[[MENUITEM_EDIT]]' Runat='server' /></a>&nbsp;&nbsp;
  74. </td>
  75. </asp:PlaceHolder>
  76. </tr>
  77. </table>
  78. </td>
  79. <td align='right' valign='middle' class='menubar'>
  80. <table cellpadding='0' cellspacing='0' border='0' class='menubar'>
  81. <tr>
  82. <td valign='middle'>
  83. <uddi:UddiLabel Text='[[TAG_QUICK_HELP]]' Runat='server' class='menubar' />&nbsp;&nbsp;
  84. </td>
  85. <td valign='middle'>
  86. <select
  87. ID='quickHelp'
  88. runat='server' />
  89. </td>
  90. <td valign='middle'>
  91. <input
  92. ID='go'
  93. type='button'
  94. runat='server' />&nbsp;&nbsp;
  95. </td>
  96. </tr>
  97. </table>
  98. </td>
  99. </tr>
  100. </table>