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