home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / toolkit.jar / content / mozapps / autofill / ChangeTimeoutDialog.xul < prev    next >
Extensible Markup Language  |  2005-07-29  |  2KB  |  41 lines

  1. <?xml version="1.0"?> 
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3.  
  4. <!DOCTYPE window SYSTEM "chrome://mozapps/locale/autofill/autofill.dtd">
  5.  
  6. <dialog id="SetTimeout"
  7.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8.         title="&timeout.label;"
  9.         style="width: 15em;"
  10.         persist="screenX screenY"
  11.         screenX="24" screenY="24"
  12.         onload="setTimeoutOnLoad();"
  13.         ondialogaccept="return setTimeoutOnAccept();">
  14.  
  15.     <script type="application/x-javascript"
  16.             src="chrome://mozapps/content/autofill/ChangeTimeoutDialog.js"/>
  17.  
  18.     <description>&timeout.description2;</description>
  19.     <radiogroup id="passwordAskTimes">
  20.                 prefstring="security.ask_for_password"
  21.                 flex="1">
  22.         <!-- note that these values are different than what NSS uses,
  23.              which are (0, -1, 1) respectively -->
  24.         <radio value="0" label="&timeout.askfirsttime;" id="askFirstTime"
  25.                style="margin: 0px;" oncommand="changePasswordSettings(false);"/>
  26.         <!-- MERC JVL
  27.         <radio value="1" label="&timeout.askeverytime;" id="askEveryTime"
  28.                style="margin: 0px;" oncommand="changePasswordSettings(false);"/>
  29.         -->
  30.         <hbox align="center">
  31.             <radio value="2" label="&timeout.asktimeout;" id="askTimeout"
  32.                    style="margin: 0px;" oncommand="changePasswordSettings(true);"/>
  33.             <textbox id="passwordTimeout" size="4"
  34.                      preftype="int"
  35.                      prefstring="security.password_lifetime"
  36.                      oninput="changePasswordSettings(false);"/>
  37.             <label value="&timeout.asktimeout.unit;" style="margin: 4px;"/>
  38.         </hbox>
  39.     </radiogroup>
  40. </dialog>
  41.