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

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:b67600da3e20
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/. -->
5
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
7
8 <!DOCTYPE dialog SYSTEM "chrome://pippki/locale/pippki.dtd">
9
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();">
17
18 <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>
19
20 <script type="application/javascript" src="chrome://pippki/content/downloadcert.js"/>
21 <script type="application/javascript" src="chrome://pippki/content/pippki.js"/>
22
23
24 <!-- Let 'em know what they're doing -->
25 <vbox>
26 <description>&downloadCert.message1;</description>
27 </vbox>
28
29 <separator/>
30
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>
46
47 <separator/>
48
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>
72
73 </dialog>

mercurial