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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial