Source code of Windows XP (NT5)
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.

82 lines
3.5 KiB

  1. <%@ CODEPAGE=65001 'UTF-8%>
  2. <%' certrmpn.asp - (CERT)srv web - (R)e(M)ove (P)e(N)ding request
  3. ' Copyright (C) Microsoft Corporation, 1998 - 1999 %>
  4. <!-- #include FILE=certsbrt.inc -->
  5. <!-- #include FILE=certdat.inc -->
  6. <!-- #include FILE=certsrck.inc -->
  7. <%
  8. Dim sAction
  9. sAction=Request.Form("Action")
  10. sActionErr=Request.Form("ActionErr")
  11. sCertInstalled=Request.Form("CertInstalled")
  12. If "rmpn"<>sAction And "inst"<>sAction And "instCA"<>sAction Then
  13. ' Not supposed to be here!
  14. ' Go directly to Home. Do not pass go; do not collect $200.
  15. Response.Redirect "/certsrv"
  16. End If
  17. If "instCA"<>sAction Then
  18. RemoveReq(Request.Form("ReqID"))
  19. End If
  20. %>
  21. <HTML>
  22. <Head>
  23. <Meta HTTP-Equiv="Content-Type" Content="text/html; charset=UTF-8">
  24. <Title>Microsoft Certificate Services</Title>
  25. </Head>
  26. <Body BgColor=#FFFFFF Link=#0000FF VLink=#0000FF ALink=#0000FF><Font ID=locPageFont Face="Arial">
  27. <Table Border=0 CellSpacing=0 CellPadding=4 Width=100% BgColor=#008080>
  28. <TR>
  29. <TD><Font Color=#FFFFFF><LocID ID=locMSCertSrv><Font Face="Arial" Size=-1><B><I>Microsoft</I></B> Certificate Services &nbsp;--&nbsp; <%=sServerDisplayName%> &nbsp;</Font></LocID></Font></TD>
  30. <TD ID=locHomeAlign Align=Right><A Href="/certsrv"><Font Color=#FFFFFF><LocID ID=locHomeLink><Font Face="Arial" Size=-1><B>Home</B></Font></LocID></Font></A></TD>
  31. </TR>
  32. </Table>
  33. <%If "rmpn"=sAction Then%>
  34. <P ID=locPageTitle1> <B> Removed Pending Request </B>
  35. <!-- Green HR --><Table Border=0 CellSpacing=0 CellPadding=0 Width=100%><TR><TD BgColor=#008080><Img Src="certspc.gif" Alt="" Height=2 Width=0></TD></TR></Table>
  36. <P ID=locRemovedMsg> The request was removed from your list of pending requests.</P>
  37. <P ID=locRemovedNote><Font Size=-1><I>Note:</I> You have only removed the request from the list of pending
  38. requests stored in your web browser. This does not affect the certification authority in any way.
  39. </Font>
  40. </P>
  41. <%ElseIf "inst"=sAction Then%>
  42. <P ID=locPageTitle2> <B> Certificate Installed </B>
  43. <!-- Green HR --><Table Border=0 CellSpacing=0 CellPadding=0 Width=100%><TR><TD BgColor=#008080><Img Src="certspc.gif" Alt="" Height=2 Width=0></TD></TR></Table>
  44. <P ID=locInstalledCertMsg>Your new certificate has been successfully installed.
  45. </P>
  46. <%ElseIf "instCA"=sAction Then%>
  47. <P ID=locPageTitle3> <B> CA Certificate Installation </B>
  48. <!-- Green HR --><Table Border=0 CellSpacing=0 CellPadding=0 Width=100%><TR><TD BgColor=#008080><Img Src="certspc.gif" Alt="" Height=2 Width=0></TD></TR></Table>
  49. <%If "OK" <> sActionErr Then
  50. If "YES" <> sCertInstalled Then%>
  51. <P ID=locInstalledCACertMsg2>The certificate installation was cancelled by the user.
  52. </P>
  53. <% Else%>
  54. <P ID=locInstalledCACertMsg2>The root certificate installation was cancelled by the user but the rest of the certificate chain has been successfully installed.
  55. </P>
  56. <% End If%>
  57. <%Else%>
  58. <P ID=locInstalledCACertMsg>The CA certificate chain has been successfully installed.
  59. </P>
  60. <%End If%>
  61. <%Else%>
  62. <P ID=locUnexpected> Click <A Href="/certsrv">here</A> to go to the Certificate Services home page.
  63. </P>
  64. <%End If%>
  65. <!-- Green HR --><Table Border=0 CellSpacing=0 CellPadding=0 Width=100%><TR><TD BgColor=#008080><Img Src="certspc.gif" Alt="" Height=2 Width=0></TD></TR></Table>
  66. <!-- White HR --><Table Border=0 CellSpacing=0 CellPadding=0 Width=100%><TR><TD BgColor=#FFFFFF><Img Src="certspc.gif" Alt="" Height=5 Width=0></TD></TR></Table>
  67. </Font>
  68. <!-- ############################################################ -->
  69. <!-- End of standard text. Scripts follow -->
  70. <!-- No scripts -->
  71. </Body>
  72. </HTML>