toolkit/mozapps/preferences/removemp.xul
author Sean Lin <selin@mozilla.com>
Fri, 30 May 2014 11:11:23 +0800
changeset 186401 3dd59dda51fce8a55862a61061a35dc61307d86e
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 911242 - [LED] De-couple the control of screen backlight and keyboard backlight. r=dhylands, sr=sicking

<?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 % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
<!ENTITY % removempDTD SYSTEM "chrome://mozapps/locale/preferences/removemp.dtd" >
%brandDTD;
%removempDTD;
]>

<dialog id="removemp" title="&removePassword.title;"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
        style="width: 35em;" 
        ondialogaccept="gRemovePasswordDialog.removePassword();" 
        onload="gRemovePasswordDialog.init()">

  <script type="application/javascript" src="chrome://mozapps/content/preferences/removemp.js"/>

  <stringbundle id="bundlePreferences" src="chrome://mozapps/locale/preferences/preferences.properties"/>

  <vbox id="warnings">
    <description>&removeWarning1.label;</description>
    <description class="header">&removeWarning2.label;</description>
  </vbox>
  
  <separator class="thin"/>
    
  <groupbox>
    <caption label="&removeInfo.label;"/>

    <hbox align="center">
      <label control="password" value="&setPassword.oldPassword.label;"/> 
      <textbox id="password" type="password"
               oninput="gRemovePasswordDialog.validateInput();"
               aria-describedby="warnings"/>
    </hbox>
  </groupbox>
  
  <separator/>

</dialog>