1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/manager/pki/resources/content/load_device.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +<?xml version="1.0"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.10 + 1.11 +<!DOCTYPE dialog [ 1.12 +<!ENTITY % deviceManangerDTD SYSTEM "chrome://pippki/locale/deviceManager.dtd"> 1.13 +%deviceManangerDTD; 1.14 +<!ENTITY % pippkiDTD SYSTEM "chrome://pippki/locale/pippki.dtd" > 1.15 +%pippkiDTD; 1.16 +]> 1.17 + 1.18 +<dialog id="loaddevice" 1.19 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.20 + title="&loaddevice.title;" 1.21 + buttons="accept,cancel" 1.22 + ondialogaccept="return doLoadDevice();"> 1.23 + 1.24 +<stringbundleset id="stringbundleset"> 1.25 + <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/> 1.26 + <stringbundle id="pipnss_bundle" src="chrome://pipnss/locale/pipnss.properties"/> 1.27 +</stringbundleset> 1.28 + 1.29 + <script type="application/javascript" src="chrome://pippki/content/device_manager.js"/> 1.30 + 1.31 + <description>&loaddevice.info;</description> 1.32 + <hbox align="center"> 1.33 + <label value="&loaddevice.modname;" accesskey="&loaddevice.modname.accesskey;" 1.34 + control="device_name"/> 1.35 + <textbox id="device_name" flex="1" value="&loaddevice.modname.default;"/> 1.36 + </hbox> 1.37 + <hbox align="center"> 1.38 + <label value="&loaddevice.filename;" accesskey="&loaddevice.filename.accesskey;" 1.39 + control="device_path"/> 1.40 + <textbox id="device_path" flex="1"/> 1.41 + <button label="&loaddevice.browse;" flex="1" 1.42 + accesskey="&loaddevice.browse.accesskey;" oncommand="doBrowseFiles();"/> 1.43 + </hbox> 1.44 + 1.45 +</dialog>