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.

216 lines
6.7 KiB

  1. <%@ Page Language='C#' Inherits='UDDI.Web.UddiPage' %>
  2. <%@ Register Tagprefix='uddi' Tagname='Header' Src='../controls/header.ascx' %>
  3. <%@ Register Tagprefix='uddi' Tagname='Footer' Src='../controls/footer.ascx' %>
  4. <%@ Register Tagprefix='uddi' Tagname='BreadCrumb' Src='../controls/breadcrumb.ascx' %>
  5. <%@ Register TagPrefix='uddi' Namespace='UDDI.Web' Assembly='uddi.web' %>
  6. <%@ Import Namespace='UDDI' %>
  7. <%@ Import Namespace='UDDI.API' %>
  8. <%@ Import Namespace='UDDI.API.ServiceType' %>
  9. <%@ Import Namespace='System.Data' %>
  10. <%@ Import Namespace='System.Web.UI' %>
  11. <script language='C#' runat='server'>
  12. protected bool frames;
  13. protected void Page_Init( object sender, EventArgs e )
  14. {
  15. frames = ( "true" == Request[ "frames" ] );
  16. breadcrumb.AddBlurb( Localization.GetString( "HEADING_ADMINISTER" ), null, null, null, false );
  17. }
  18. protected void Page_Load( object sender, EventArgs e )
  19. {
  20. if( null!=Request[ "refreshExplorer" ] && frames )
  21. {
  22. Response.Write(
  23. ClientScripts.ReloadExplorerPane( "_root" )
  24. );
  25. }
  26. }
  27. protected void Page_PreRender( object sender, EventArgs e )
  28. {
  29. ImportPanel.Visible = UDDI.Context.User.IsAdministrator;
  30. }
  31. </script>
  32. <uddi:StyleSheetControl
  33. Runat='server'
  34. Default='../stylesheets/uddi.css'
  35. Downlevel='../stylesheets/uddidl.css'
  36. />
  37. <uddi:PageStyleControl
  38. Runat='server'
  39. OnClientContextMenu='Document_OnContextMenu()'
  40. Title="TITLE"
  41. AltTitle="TITLE_ALT"
  42. />
  43. <uddi:ClientScriptRegister
  44. Runat='server'
  45. Source='../client.js'
  46. Language='javascript'
  47. />
  48. <uddi:SecurityControl
  49. CoordinatorRequired='true'
  50. Runat='server'
  51. />
  52. <form enctype='multipart/form-data' Runat='server'>
  53. <table width='100%' border='0' height='100%' cellpadding='0' cellspacing='0'>
  54. <asp:PlaceHolder
  55. Id='HeaderBag'
  56. Runat='server'
  57. >
  58. <tr height='95'>
  59. <td>
  60. <!-- Header Control Here -->
  61. <uddi:Header
  62. Runat='server'
  63. />
  64. </td>
  65. </tr>
  66. </asp:PlaceHolder>
  67. <tr height='100%' valign='top'>
  68. <td>
  69. <uddi:BreadCrumb
  70. Id='breadcrumb'
  71. Runat='server'
  72. />
  73. <table cellpadding='10' cellspacing='0' border='0' width='100%'>
  74. <tr>
  75. <td>
  76. <uddi:UddiLabel Text='[[HELP_BLOCK_ADMIN]]' CssClass='helpBlock' Runat='server' /><br>
  77. <br>
  78. <uddi:TabControl ID='tabs' Runat='server'>
  79. <uddi:TabPage Name='HEADING_COORDINATE' Runat='server'>
  80. <table width='100%' height='100%' cellpadding='0' cellspacing='2' border='0'>
  81. <tr>
  82. <td>
  83. <uddi:ContextualHelpControl
  84. Runat='Server'
  85. Text='[[HELP_BLOCK_ADMIN_DETAILS]]'
  86. HelpFile='coordinate.context.coordinate'
  87. CssClass='tabHelpBlock'
  88. />
  89. </td>
  90. </tr>
  91. <tr>
  92. <td style='padding-bottom:5px'>
  93. <table width='100%' cellpadding='2' cellspacing='0' border='0'>
  94. <tr>
  95. <td colspan='3' style='border-bottom:solid #639ACE 1px;'>
  96. <a href="<%=HyperLinkManager.GetSecureHyperLink( "/admin/categorization.aspx?refreshExplorer=&frames="+( frames ? "true" : "false" ) )%>">
  97. <b>
  98. <%=Localization.GetString( "HEADING_CATEGORIZATION" )%>
  99. </b>
  100. </a>
  101. </td>
  102. </tr>
  103. <tr>
  104. <td width='10'>
  105. <img src='<%=HyperLinkManager.GetHyperLink( "/images/trans_pixel.gif" )%>' width='10' height='1'>
  106. </td>
  107. <td >
  108. <span><%=Localization.GetString( "TEXT_ADMIN_CATEGORIZATION" )%></span>
  109. </td>
  110. <td width='10'>
  111. <img src='<%=HyperLinkManager.GetHyperLink( "/images/trans_pixel.gif" )%>' width='10' height='1'>
  112. </td>
  113. </tr>
  114. </table>
  115. </td>
  116. </tr>
  117. <tr>
  118. <td style='padding-bottom:5px'>
  119. <table width='100%' cellpadding='2' cellspacing='0' border='0'>
  120. <tr>
  121. <td colspan='3' style='border-bottom:solid #639ACE 1px;'>
  122. <a href="<%=HyperLinkManager.GetSecureHyperLink( "/admin/statistics.aspx?refreshExplorer=&frames="+( frames ? "true" : "false" ) )%>">
  123. <b>
  124. <%=Localization.GetString( "HEADING_STATISTICS" )%>
  125. </b>
  126. </a>
  127. </td>
  128. </tr>
  129. <tr>
  130. <td width='10'>
  131. <img src='<%=HyperLinkManager.GetHyperLink( "/images/trans_pixel.gif" )%>' width='10' height='1'>
  132. </td>
  133. <td >
  134. <span ><%=Localization.GetString( "TEXT_ADMIN_STATISTICS" )%></span>
  135. </td>
  136. <td width='10'>
  137. <img src='<%=HyperLinkManager.GetHyperLink( "/images/trans_pixel.gif" )%>' width='10' height='1'>
  138. </td>
  139. </tr>
  140. </table>
  141. </td>
  142. </tr>
  143. <asp:PlaceHolder
  144. Runat='server'
  145. Id='ImportPanel'
  146. >
  147. <tr>
  148. <td style='padding-bottom:5px'>
  149. <table width='100%' cellpadding='2' cellspacing='0' border='0'>
  150. <tr>
  151. <td colspan='3' style='border-bottom:solid #639ACE 1px;'>
  152. <a href="<%=HyperLinkManager.GetSecureHyperLink( "/admin/taxonomy.aspx?refreshExplorer=&frames="+( frames ? "true" : "false" ) )%>">
  153. <b>
  154. <%=Localization.GetString( "HEADING_TAXONOMY" )%>
  155. </b>
  156. </a>
  157. </td>
  158. </tr>
  159. <tr>
  160. <td width='10'>
  161. <img src='<%=HyperLinkManager.GetHyperLink( "/images/trans_pixel.gif" )%>' width='10' height='1'>
  162. </td>
  163. <td >
  164. <span><%=Localization.GetString( "TEXT_ADMIN_TAXONOMY" )%></span>
  165. </td>
  166. <td width='10'>
  167. <img src='<%=HyperLinkManager.GetHyperLink( "/images/trans_pixel.gif" )%>' width='10' height='1'>
  168. </td>
  169. </tr>
  170. </table>
  171. </td>
  172. </tr>
  173. </asp:PlaceHolder>
  174. </table>
  175. </uddi:TabPage>
  176. </uddi:TabControl>
  177. </td>
  178. </tr>
  179. </table>
  180. </td>
  181. </tr>
  182. <asp:PlaceHolder
  183. Id='FooterBag'
  184. Runat='server'
  185. >
  186. <tr height='95'>
  187. <td>
  188. <!-- Footer Control Here -->
  189. <uddi:Footer
  190. Runat='server'
  191. />
  192. </td>
  193. </tr>
  194. </asp:PlaceHolder>
  195. </table>
  196. </form>