home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / toolkit.jar / content / mozapps / preferences / ocsp.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-06-05  |  2.7 KB  |  69 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/"?>
  5.  
  6. <!DOCTYPE prefwindow [
  7.   <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  8.   <!ENTITY % ocspDTD SYSTEM "chrome://mozapps/locale/preferences/ocsp.dtd">
  9.   %brandDTD;
  10.   %ocspDTD;
  11. ]>
  12.  
  13. <prefwindow id="OCSPDialog" type="child"
  14.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  15.             dlgbuttons="accept,cancel"
  16.             title="&ocspDialog.title;">
  17.  
  18.   <prefpane id="OCSPDialogPane" onpaneload="gOCSPDialog.init();">
  19.     <script type="application/javascript" src="chrome://mozapps/content/preferences/ocsp.js"/>
  20.  
  21.     <preferences>
  22.       <preference id="security.OCSP.enabled"    name="security.OCSP.enabled"   type="int"/>
  23.       <preference id="security.OCSP.signingCA"  name="security.OCSP.signingCA" type="string"/>
  24.       <preference id="security.OCSP.URL"        name="security.OCSP.URL"       type="string"/>
  25.       <preference id="security.OCSP.require"    name="security.OCSP.require"   type="bool"/>
  26.     </preferences>
  27.     
  28.     <checkbox id="enableOCSPBox" label="&enableOCSP.label;" accesskey="&enableOCSP.accesskey;"
  29.               oncommand="gOCSPDialog._updateUI(1);"/>
  30.     <radiogroup id="securityOCSPEnabled" preference="security.OCSP.enabled"
  31.                 onsyncfrompreference="return gOCSPDialog._updateUI(0);"
  32.                 class="indent">
  33.       <radio value="0" hidden="true"/>
  34.       <radio id="certOCSP" value="1" label="&certOCSP2.label;"
  35.              accesskey="&certOCSP2.accesskey;"/>
  36.       <radio id="proxyOCSP" value="2" label="&proxyOCSP2.label;"
  37.              accesskey="&proxyOCSP2.accesskey;"/>
  38.  
  39.       <grid class="indent" flex="1">
  40.         <columns>
  41.           <column/>
  42.           <column flex="1"/>
  43.         </columns>
  44.           
  45.         <rows>
  46.           <row align="center">
  47.             <label value="&signingCA.label;" accesskey="&signingCA.accesskey;" control="signingCA"/>
  48.             <hbox id="signingCABox" flex="1">
  49.               <menulist id="signingCA" flex="1"
  50.                         preference="security.OCSP.signingCA"
  51.                         oncommand="gOCSPDialog.chooseServiceURL()">
  52.                 <menupopup/>
  53.               </menulist>
  54.             </hbox>            
  55.           </row>
  56.           <row align="center">
  57.             <label value="&serviceURL.label;" accesskey="&serviceURL.accesskey;" control="serviceURL"/>
  58.             <textbox id="serviceURL" preference="security.OCSP.URL"/>
  59.           </row>
  60.         </rows>
  61.       </grid>
  62.     </radiogroup>
  63.     <separator class="thin"/>
  64.     <checkbox id="requireWorkingOCSP" preference="security.OCSP.require" 
  65.               label="&requireOCSP.label;"
  66.               accesskey="&requireOCSP.accesskey;"/>
  67.   </prefpane>
  68. </prefwindow>
  69.