<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE dialog [
<!ENTITY % deviceManangerDTD SYSTEM "chrome://pippki/locale/deviceManager.dtd">
%deviceManangerDTD;
<!ENTITY % pippkiDTD SYSTEM "chrome://pippki/locale/pippki.dtd" >
%pippkiDTD;
]>

<dialog id="loaddevice" 
	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
        title="&loaddevice.title;"
        buttons="accept,cancel"
        ondialogaccept="return doLoadDevice();">

  <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>

  <script type="application/javascript" src="chrome://pippki/content/device_manager.js"/>

  <description>&loaddevice.info;</description>
  <hbox align="center">
    <label value="&loaddevice.modname;" accesskey="&loaddevice.modname.accesskey;"
           control="device_name"/>
    <textbox id="device_name" flex="1" value="&loaddevice.modname.default;"/>
  </hbox>
  <hbox align="center">
    <label value="&loaddevice.filename;" accesskey="&loaddevice.filename.accesskey;"
           control="device_path"/>
    <textbox id="device_path" flex="1"/>
    <button label="&loaddevice.browse;" flex="1" 
            accesskey="&loaddevice.browse.accesskey;" oncommand="doBrowseFiles();"/>
  </hbox>

</dialog>
