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

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:bb4c739debd9
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 [
9 <!ENTITY % deviceManangerDTD SYSTEM "chrome://pippki/locale/deviceManager.dtd">
10 %deviceManangerDTD;
11 <!ENTITY % pippkiDTD SYSTEM "chrome://pippki/locale/pippki.dtd" >
12 %pippkiDTD;
13 ]>
14
15 <dialog id="loaddevice"
16 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
17 title="&loaddevice.title;"
18 buttons="accept,cancel"
19 ondialogaccept="return doLoadDevice();">
20
21 <stringbundleset id="stringbundleset">
22 <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>
23 <stringbundle id="pipnss_bundle" src="chrome://pipnss/locale/pipnss.properties"/>
24 </stringbundleset>
25
26 <script type="application/javascript" src="chrome://pippki/content/device_manager.js"/>
27
28 <description>&loaddevice.info;</description>
29 <hbox align="center">
30 <label value="&loaddevice.modname;" accesskey="&loaddevice.modname.accesskey;"
31 control="device_name"/>
32 <textbox id="device_name" flex="1" value="&loaddevice.modname.default;"/>
33 </hbox>
34 <hbox align="center">
35 <label value="&loaddevice.filename;" accesskey="&loaddevice.filename.accesskey;"
36 control="device_path"/>
37 <textbox id="device_path" flex="1"/>
38 <button label="&loaddevice.browse;" flex="1"
39 accesskey="&loaddevice.browse.accesskey;" oncommand="doBrowseFiles();"/>
40 </hbox>
41
42 </dialog>

mercurial