home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / pippki.jar / content / pippki / downloadcert.xul < prev    next >
Extensible Markup Language  |  2002-02-27  |  3KB  |  107 lines

  1. <?xml version="1.0"?>
  2. <!-- 
  3.    - The contents of this file are subject to the Mozilla Public
  4.    - License Version 1.1 (the "License"); you may not use this file
  5.    - except in compliance with the License. You may obtain a copy of
  6.    - the License at http://www.mozilla.org/MPL/
  7.    - 
  8.    - Software distributed under the License is distributed on an "AS
  9.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    - implied. See the License for the specific language governing
  11.    - rights and limitations under the License.
  12.    - 
  13.    - The Original Code is mozilla.org code.
  14.    - 
  15.    - The Initial Developer of the Original Code is Netscape
  16.    - Communications Corp.  Portions created by Netscape are
  17.    - Copyright (C) 2001 Netscape Communications Corp.  All
  18.    - Rights Reserved.
  19.    - 
  20.    - Contributor(s):
  21.    -   Ian McGreer <mcgreer@netscape.com>
  22.   -->
  23.  
  24. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  25.  
  26. <!DOCTYPE window SYSTEM "chrome://pippki/locale/pippki.dtd">
  27.  
  28. <window id="download_cert" title="&downloadCert.title;"
  29.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"      
  30.   style="width: 46em;"
  31.   onload="onLoad();">
  32.  
  33. <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  34. <script type="application/x-javascript" src="chrome://pippki/content/downloadcert.js"/>
  35. <script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
  36. <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  37.  
  38.  
  39. <vbox style="margin: 5px;" flex="1">
  40.  
  41.   <!--  Let 'em know what they're doing -->
  42.   <vbox>
  43.     <description>&downloadCert.message1;</description>
  44.   </vbox>
  45.  
  46.   <separator/>
  47.  
  48.   <!--  checkboxes for trust bits
  49.      -  "do you want to?"
  50.      -  * trust for SSL
  51.      -  * trust for email
  52.      -  * trust for object signing
  53.     -->
  54.   <vbox>
  55.     <description id="message2"/>
  56.     <checkbox label="&downloadCert.trustSSL;"
  57.               id="trustSSL"/>
  58.     <checkbox label="&downloadCert.trustEmail;"
  59.               id="trustEmail"/>
  60.     <checkbox label="&downloadCert.trustObjSign;"
  61.               id="trustObjSign"/>
  62.   </vbox>
  63.  
  64.   <separator/>
  65.  
  66.   <!--  buttons for viewing cert and policies
  67.      -  "suggested you view the following:"
  68.      -  <>  view cert
  69.      -  <>  view policy
  70.     -->
  71.   <vbox>
  72.     <description>&downloadCert.message3;</description>
  73.     <separator/>
  74.     <grid>
  75.       <columns>
  76.         <column/>
  77.         <column/>
  78.       </columns>
  79.       <rows>
  80.         <row>
  81.           <button id="viewC-button"
  82.                   label="&downloadCert.viewCert.label;"
  83.                   oncommand="viewCert();"/> 
  84.           <description style="margin: 4px;">&downloadCert.viewCert.text;</description>
  85.         </row>
  86.       </rows>
  87.     </grid>
  88.   </vbox>
  89.  
  90.   <separator/>
  91.  
  92.   <!--  usual runaround
  93.      -  <ok>  <cancel> <help>
  94.     -->
  95.   <hbox align="center">
  96.     <button id="ok-button" label="&ok.label;"
  97.             oncommand="doOK();"/> 
  98.     <button id="cancel-button" label="&cancel.label;"
  99.             oncommand="doCancel();"/> 
  100.     <button id="help-button" label="&help.label;"
  101.             oncommand="openHelp('new_ca');"/> 
  102.   </hbox>
  103.  
  104. </vbox>
  105.  
  106. </window>
  107.