security/manager/pki/resources/content/downloadcert.xul

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <?xml version="1.0"?>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     8 <!DOCTYPE dialog SYSTEM "chrome://pippki/locale/pippki.dtd">
    10 <dialog id="download_cert" title="&downloadCert.title;"
    11   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"      
    12   style="width: 46em;"
    13   buttons="accept,cancel"
    14   ondialogaccept="return doOK();"
    15   ondialogcancel="return doCancel();"
    16   onload="onLoad();">
    18 <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>
    20 <script type="application/javascript" src="chrome://pippki/content/downloadcert.js"/>
    21 <script type="application/javascript" src="chrome://pippki/content/pippki.js"/>
    24   <!--  Let 'em know what they're doing -->
    25   <vbox>
    26     <description>&downloadCert.message1;</description>
    27   </vbox>
    29   <separator/>
    31   <!--  checkboxes for trust bits
    32      -  "do you want to?"
    33      -  * trust for SSL
    34      -  * trust for email
    35      -  * trust for object signing
    36     -->
    37   <vbox>
    38     <description id="message2"/>
    39     <checkbox label="&downloadCert.trustSSL;"
    40               id="trustSSL"/>
    41     <checkbox label="&downloadCert.trustEmail;"
    42               id="trustEmail"/>
    43     <checkbox label="&downloadCert.trustObjSign;"
    44               id="trustObjSign"/>
    45   </vbox>
    47   <separator/>
    49   <!--  buttons for viewing cert and policies
    50      -  "suggested you view the following:"
    51      -  <>  view cert
    52      -  <>  view policy
    53     -->
    54   <vbox>
    55     <description>&downloadCert.message3;</description>
    56     <separator/>
    57     <grid>
    58       <columns>
    59         <column/>
    60         <column/>
    61       </columns>
    62       <rows>
    63         <row>
    64           <button id="viewC-button"
    65                   label="&downloadCert.viewCert.label;"
    66                   oncommand="viewCert();"/> 
    67           <description style="margin: 4px;">&downloadCert.viewCert.text;</description>
    68         </row>
    69       </rows>
    70     </grid>
    71   </vbox>
    73 </dialog>

mercurial