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 / autofill.xul < prev    next >
Extensible Markup Language  |  2005-07-29  |  21KB  |  541 lines

  1. <?xml version="1.0"?> 
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://browser/skin/pref/pref.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://mozapps/content/autofill/advancedViewBindings.css" type="text/css"?>
  6.  
  7.  
  8. <!DOCTYPE window [
  9. <!ENTITY % afDTD SYSTEM "chrome://mozapps/locale/autofill/autofill.dtd">
  10. %afDTD;
  11. <!ENTITY % afPrefDTD SYSTEM "chrome://browser/locale/pref/pref-autofill.dtd">
  12. %afPrefDTD;
  13. <!ENTITY % pmDTD SYSTEM "chrome://passwordmgr/locale/passwordManager.dtd">
  14. %pmDTD;
  15. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
  16. %brandDTD;
  17. <!ENTITY % prefPrivacyDTD SYSTEM "chrome://browser/locale/pref/pref-privacy.dtd">
  18. %prefPrivacyDTD;
  19. ]>
  20.  
  21.  
  22. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  23.       id="autofillManager" 
  24.       orient="vertical" title="&autofill.title;" headertitle="&lHeader;"
  25.       style="width: 30em;"
  26.       persist="width height screenX screenY sizeMode"
  27.       onload="parent.initPanel('chrome://mozapps/content/autofill/autofill.xul');"
  28.       onunload="CommitLastSelectedSignon();">
  29.  
  30.     <script type="application/x-javascript" src="chrome://mozapps/content/autofill/countryList.js"/>
  31.     <script type="application/x-javascript" src="chrome://mozapps/content/autofill/datacardUtils.js"/>
  32.     <script type="application/x-javascript" src="chrome://mozapps/content/autofill/autofill.js"/>
  33.     <script type="application/x-javascript" src="chrome://mozapps/content/autofill/passcard.js"/>
  34.     <script type="application/x-javascript" src="chrome://passwordmgr/content/passwordManager.js"/>
  35.     <script type="application/x-javascript" src="chrome://mozapps/content/autofill/masterpassword.js"/>
  36.     <script type="application/x-javascript" src="chrome://mozapps/content/autofill/ccard.js"/>
  37.  
  38.     <stringbundle id="signonBundle"
  39.                   src="chrome://passwordmgr/locale/passwordmgr.properties"/>
  40.     <stringbundle id="formfillpasscardBundle"
  41.                   src="chrome://mozapps/locale/autofill/autofill.properties"/>
  42.  
  43.     <?xul-overlay href="chrome://mozapps/content/autofill/passcardOverlay.xul"?>
  44.  
  45.     <tabbox id="autofilltabbox" flex="1">
  46.         <tabs id="formfill-passcard-tabs" onselect="OnTabSelect();">
  47.             <tab id="formfilltab" label="&datacard.tab.title;"/>
  48.             <tab id="passcardtab" label="&passcard.tab.title;"/>
  49.             <tab id="passwordtab" label="&password.tab.title;"/>
  50.         </tabs>
  51.  
  52.         <tabpanels flex="1">
  53. <!-- Datacard UI -->
  54. <!-- Begin Datacards tab panel -->
  55. <tabpanel id="formfillpanel" flex="1">
  56.  
  57. <tabbox id="datacard-tabbox" flex="1">
  58.  
  59.     <tabs id="datacard-tabs" onselect="OndatacardPrefTabSelect();">
  60.         <tab id="datacard-datacards-tab" label="&datacard.tab.title;"/>
  61.         <tab id="datacard-preferences-tab" label="&preferences.tab.title;"/>
  62.     </tabs>
  63.  
  64.     <tabpanels flex="1">
  65.  
  66.         <!-- Datacards panel -->
  67.         <tabpanel flex="1">
  68.             <vbox flex="1">
  69.                 <!-- saved signons -->
  70.                 <tree id="datacardTree" flex="1" style="height: 12em;" hidecolumnpicker="true"
  71.                       seltype="single" onkeypress="HandleSignonKeyPress(event)"
  72.                       onselect="SelectSignon();">
  73.                     <treecols>
  74.                         <treecol id="datacardCol" label="&datacard.treehead.label;"
  75.                                  flex="2" style="font-weight: bold;"
  76.                                  onclick="SignonColumnSort('datacard');" persist="width"/>
  77.                     </treecols>
  78.                     <treechildren id="datacardTreeChildren"/>
  79.                 </tree>
  80.  
  81.                 <!-- rejected signon sites -->
  82.                 <tree id="datacardRejectsTree" flex="1" style="height: 11em;" hidecolumnpicker="true"
  83.                       seltype="single" onkeypress="dcHandleRejectKeyPress(event)"
  84.                       onselect="SelectReject();">
  85.                     <treecols>
  86.                         <treecol id="datacardRejectCol" label="&datacard.treehead.site.label;"
  87.                                  flex="5" style="font-weight: bold;"
  88.                                  onclick="datacardRejectColumnSort('host');"/>
  89.                     </treecols>
  90.                     <treechildren id="datacardRejectsTreeChildren"/>
  91.                 </tree>
  92.                 <hbox>
  93.                     <button id="datacardAdd" label="Add" oncommand="datacardAddButton();"/>
  94.                     <button id="datacardRemoveButton" disabled="true"
  95.                             label="&datacard.remove.label;" oncommand="datacardRemoveButton();"/>
  96.                     <button id="datacardRemoveAllButton" disabled="true" hidden="true"
  97.                             label="&datacard.removeall.label;"
  98.                             oncommand="datacardRemoveAllButton();"/>
  99.                 </hbox>
  100.             </vbox>
  101.  
  102.             <deck id="datacardDetails-deck" flex="1">
  103.                 <vbox>
  104.                     <spacer flex="1"/>
  105.                     <hbox>
  106.                         <spacer flex="1"/>
  107.                         <description>No Datacard is selected</description>
  108.                         <spacer flex="1"/>
  109.                     </hbox>
  110.                     <spacer flex="1"/>
  111.                 </vbox>
  112.  
  113.                 <tabbox id="datacardDetails-tabbox" flex="1">
  114.                     <tabs id="datacard-datacards-tabs" onselect="OndatacardPrefTabSelect();">
  115.                         <tab id="datacard-datacardDetails-tab" label="&datacard.details.tab.title;"/>
  116.                         <tab id="datacard-contact-detail1-tab" label="&datacard.tab.NameEmailTitle;"/>
  117.                         <tab id="datacard-contact-detail2-tab" label="&datacard.tab.ShipBillTitle;"/>
  118.                         <tab id="datacard-contact-detail3-tab" label="&datacard.tab.CreditCard;"/>
  119.                         <tab id="datacard-contact-detail3-tab" label="&datacard.tab.Advanced;"/>
  120.                     </tabs>
  121.                     <tabpanels flex="1">
  122.  
  123.                         <!-- Details panel -->
  124.                         <tabpanel flex="1" orient="vertical">
  125.                             <hbox>
  126.                                 <label value="Datacard Name:"/>
  127.                                 <label id="datacardName"/>
  128.                             </hbox>
  129.                             <separator class="thin"/>
  130.                             <description>&datacard.dropdown.label;</description>
  131.                             <hbox>
  132.                                 <spacer minwidth="60"/>
  133.                                 <menulist id="datacardAutofillList" oncommand="dcOnDropdownClick(this);">
  134.                                     <menupopup id="dcAFillMenupoup">
  135.                                         <menuitem label="&autologin.displayprompt.label;" value="displayprompt"/>
  136.                                         <menuitem label="&datacard.fill.label;" value="filldatacard"/>
  137.                                         <menuitem label="&datacard.fillandsubmit.label;" value="fillsubmitdatacard"/>
  138.                                         <menuitem label="&autologin.donothing.label;" value="donothing"/>
  139.                                     </menupopup>
  140.                                 </menulist>
  141.                             </hbox>
  142.                             <!-- <separator flex="1"/> -->
  143.                             <checkbox id="dcProtect" label="&datacard.protect.checkbox.label;"/>
  144.                             <!-- <separator flex="1"/> -->
  145.                             <button id="dcSetAsDefaultBtn" label="Set as the default Datacard"
  146.                                     oncommand="SetDatacardAsDefault();"/>
  147.                             <separator flex="1"/>
  148.                         </tabpanel>
  149.  
  150.                         <!-- Name and Email Panel -->
  151.                         <tabpanel flex="1">
  152.                             <grid flex="1"> <!-- Personal Info -->
  153.                                 <rows flex="1">
  154.                                     <row/><!-- First Name -->
  155.                                     <row/><!-- Last Name -->
  156.                                     <row/><!-- E-Mail Address -->
  157.                                     <row/><!-- Phone Number -->
  158.                                     <row/><!-- E-Mail Address -->
  159.                                     <row/><!-- E-Mail Address -->
  160.                                 </rows>
  161.                                 <columns>
  162.                                     <column> <!-- Label Column -->
  163.                                         <label value="Title:" control="Title"/>
  164.                                         <label value="First Name:" control="FirstName"/>
  165.                                         <label value="Last Name:" control="LastName"/>
  166.                                         <label value="E-Mail Address:" control="EmailAddr"/>
  167.                                         <label value="Home Phone:" control="PhoneNum"/>
  168.                                         <label value="Work Phone:" control="WorkPhoneNum"/>
  169.                                     </column>
  170.                                     <column flex="1"> <!-- Values Column -->
  171.                                         <textbox id="Title" maxlength="50" flex="1"/>
  172.                                         <textbox id="FirstName" maxlength="50" flex="1"/>
  173.                                         <textbox id="LastName" maxlength="50" flex="1"/>
  174.                                         <textbox id="EmailAddr" maxlength="100" flex="1"/>
  175.                                         <textbox id="PhoneNum" maxlength="15" flex="1"/>
  176.                                         <textbox id="WorkPhoneNum" maxlength="15" flex="1"/>
  177.                                     </column>
  178.                                 </columns>
  179.                             </grid>
  180.                             <separator flex="6"/>
  181.                         </tabpanel>
  182.                         <!-- Shipping and Billing Address Panel -->
  183.                         <tabpanel flex="1" orient="vertical">
  184.                             <description style="margin-top: 4px;">Enter your address information:</description>
  185.                             <separator class="thin"/>
  186.  
  187.                             <radiogroup id="afillRadio" orient="horizontal">
  188.                                 <radio id="PriAddr" label="Billing"
  189.                                        oncommand="afillRadioChange(this);"/>
  190.                                 <radio id="AltAddr" label="Shipping"
  191.                                        oncommand="afillRadioChange(this);"/>
  192.                             </radiogroup>
  193.  
  194.                             <grid id="shippingAddresses"> <!-- Shipping addresses -->
  195.                                 <rows>
  196.                                     <row/><!-- Address 1 -->
  197.                                     <row/><!-- Address 2 -->
  198.                                     <row/><!-- City -->
  199.                                     <row/><!-- State/Province -->
  200.                                     <row/><!-- Country -->
  201.                                     <row/><!-- Zip/Postal Code -->
  202.                                 </rows>
  203.                                 <columns>
  204.                                     <column>
  205.                                         <label value="Address 1:" control="StrAddr"/>
  206.                                         <label value="Address 2:" control="StrAddr2"/>
  207.                                         <label value="City:" control="city"/>
  208.                                         <label value="State/Province:" control="State"/>
  209.                                         <label value="Country:" control="Country"/>
  210.                                         <label value="Zip/Postal Code:" control="ZipCode"/>
  211.                                     </column>
  212.                                     <column flex="1">
  213.                                         <textbox id="StrAddr" maxlength="150" flex="1"/>
  214.                                         <textbox id="StrAddr2" maxlength="150" flex="1"/>
  215.                                         <textbox id="City" maxlength="50" flex="1"/>
  216.                                         <textbox id="State" maxlength="50" flex="1"/>
  217.  
  218.                                         <menulist id="countryList" label="countryType">
  219.                                             <menupopup id="countryType"/>
  220.                                         </menulist>
  221.                                         <textbox id="ZipCode" maxlength="10"/>
  222.                                     </column>
  223.                                 </columns>
  224.                             </grid>
  225.  
  226.                         </tabpanel>
  227.                         <!-- Credit Card -->
  228.                         <tabpanel flex="1">
  229.                             <grid>
  230.                                 <rows>
  231.                                     <row/><!-- Name on Card -->
  232.                                     <row/><!-- Number -->
  233.                                     <row/><!-- Type -->
  234.                                     <row/><!-- Expiration Month/Year -->
  235.                                     <row/><!-- Expiration Month/Year -->
  236.                                     <row/><!-- Password -->
  237.                                     <row/><!-- Retype Password -->
  238.                                 </rows>
  239.                                 <columns>
  240.                                     <column> <!-- Column 1 Labels -->
  241.                                         <label value="Name on Card:" control="CardName"/>
  242.                                         <label value="Number:" control="CardNumber"/>
  243.                                         <label value="Type:" control="CardType"/>
  244.                                         <label value="Expiration Month:" control="expireMonth"/>
  245.                                         <label value="Year:" control="expireYear"/>
  246.                                     </column>
  247.                                     <column> <!-- Column 2 Values -->
  248.                                         <textbox id="CardName" maxlength="100"/>
  249.                                         <textbox id="CardNumber" maxlength="16"/>
  250.                                         <menulist id="cardtypeList" label="cardType">
  251.                                             <menupopup id="cardType">
  252.                                                 <menuitem label="Visa" value="Visa"/>
  253.                                                 <menuitem label="Master Card" value="MasterCard"/>
  254.                                                 <menuitem label="Amer. Express" value="AmericanExpress"/>
  255.                                                 <menuitem label="Discover" value="Discover"/>
  256.                                                 <menuitem label="Other" value="Other"/>
  257.                                             </menupopup>
  258.                                         </menulist>
  259.                                         <menulist id="monthList" label="expireMonth">
  260.                                             <menupopup id="expireMonth">
  261.                                                 <menuitem label="01" value="01"/>
  262.                                                 <menuitem label="02" value="02"/>
  263.                                                 <menuitem label="03" value="03"/>
  264.                                                 <menuitem label="04" value="04"/>
  265.                                                 <menuitem label="05" value="05"/>
  266.                                                 <menuitem label="06" value="06"/>
  267.                                                 <menuitem label="07" value="07"/>
  268.                                                 <menuitem label="08" value="08"/>
  269.                                                 <menuitem label="09" value="09"/>
  270.                                                 <menuitem label="10" value="10"/>
  271.                                                 <menuitem label="11" value="11"/>
  272.                                                 <menuitem label="12" value="12"/>
  273.                                             </menupopup>
  274.                                         </menulist>
  275.                                         <menulist id="yearList" label="expireYear">
  276.                                             <menupopup id="expireYear">
  277.                                                 <menuitem label="04" value="04"/>
  278.                                                 <menuitem label="05" value="05"/>
  279.                                                 <menuitem label="06" value="06"/>
  280.                                                 <menuitem label="07" value="07"/>
  281.                                                 <menuitem label="08" value="08"/>
  282.                                                 <menuitem label="09" value="09"/>
  283.                                                 <menuitem label="10" value="10"/>
  284.                                                 <menuitem label="11" value="11"/>
  285.                                                 <menuitem label="12" value="12"/>
  286.                                                 <menuitem label="13" value="13"/>
  287.                                                 <menuitem label="14" value="14"/>
  288.                                                 <menuitem label="15" value="15"/>
  289.                                                 <menuitem label="16" value="16"/>
  290.                                                 <menuitem label="17" value="17"/>
  291.                                                 <menuitem label="18" value="18"/>
  292.                                                 <menuitem label="19" value="19"/>
  293.                                                 <menuitem label="20" value="20"/>
  294.                                             </menupopup>
  295.                                         </menulist>
  296.                                     </column>
  297.                                 </columns>
  298.                             </grid>
  299.                         </tabpanel> <!-- /Credit Card -->
  300.  
  301.                         <!-- Advanced -->
  302.                         <tabpanel flex="1">
  303.                             <deck id="advancedDeck" flex="1">
  304.                                 <vbox>
  305.                                     <spacer flex="1"/>
  306.                                     <hbox>
  307.                                         <spacer flex="1"/>
  308.                                         <description>There are no additional fields for this datacard.</description>
  309.                                         <spacer flex="1"/>
  310.                                     </hbox>
  311.                                     <spacer flex="1"/>
  312.                                 </vbox>
  313.                                 <vbox>
  314.                                     <tree id="advancedTree" flex="1" hidecolumnpicker="true">
  315.                                         <treecols>
  316.                                             <treecol id="advancedTree-keyCol"
  317.                                                      label="Name"
  318.                                                      flex="1"/>
  319.                                             <treecol id="advancedTree-valCol"
  320.                                                      label="Value"
  321.                                                      flex="1"/>
  322.                                         </treecols>
  323.                                         <treechildren id="advancedTreeChildren"/>
  324.                                     </tree>
  325.                                 </vbox>
  326.                             </deck>
  327.                         </tabpanel> <!-- /Advanced -->
  328.  
  329.                     </tabpanels>
  330.                 </tabbox>
  331.             </deck>
  332.         </tabpanel>
  333.  
  334.         <!-- Preferences Panel -->
  335.         <tabpanel flex="1" orient="vertical">
  336.             <groupbox>
  337.                 <caption label="&datacard.behavior.tab.title;"/>
  338.                 <hbox>
  339.                     <vbox flex="1">
  340.                         <label value="&datacard.autosave.label;"/>
  341.                         <menulist id="dcAutosave" preftype="int" prefstring="datacard.autosave">
  342.                             <menupopup>
  343.                                 <menuitem label="&datacard.displayprompt.label;" value="0"/>
  344.                                 <menuitem label="&datacard.save.label;" value="1"/>
  345.                                 <menuitem label="&datacard.donothing.label;" value="2"/>
  346.                             </menupopup>
  347.                         </menulist>
  348.                     </vbox>
  349.                     <spacer minwidth="160"/>
  350.                 </hbox>
  351. <!--
  352.                 <row>
  353.                     <checkbox id="dcAutosave" label="&datacard.behavior.autosave.label;"
  354.                               prefstring="datacard.autosave" oncommand="dataCardAutoSaveChange();"/>
  355.                     <separator orient="vertical"/>
  356.                     <checkbox id="dcAutosavePrompt" label="&behavior.autosaveprompt2.label;"
  357.                               prefstring="datacard.autosave.prompt"/>
  358.                 </row>
  359. -->
  360.  
  361.                 <checkbox id="dcHighlight" label="&datacard.behavior.highlight.label;"
  362.                           prefstring="datacard.highlight"/>
  363.                 <checkbox id="dcFillAndSubmit" label="&behavior.fillAndSubmit.label;"
  364.                           prefstring="datacard.fillandsubmit"/>
  365.                 <checkbox id="dcMessageBar" label="&datacard.behavior.messagebar.label;"
  366.                           prefstring="datacard.messagebar.enable"/>
  367.             </groupbox>
  368.             <groupbox>
  369.                 <caption label="&datacard.protection.tab.title;"/>
  370.                 <checkbox id="dcPasswordProtect" label="&datacard.protection.protect.label;"
  371.                           prefstring="datacard.passwordprotect"/>
  372.                 <checkbox id="dcPasswordPrompt" label="&datacard.protection.prompt.label;"
  373.                           prefstring="datacard.passwordprotect.prompt" hidden="true"/>
  374.             </groupbox>
  375.         </tabpanel>
  376.     </tabpanels>
  377. </tabbox>
  378.  
  379. </tabpanel>
  380. <!-- END Datacards tab panel -->
  381. <!-- Passcard UI -->
  382. <!-- Passcard top level panel -->
  383. <tabpanel id="passcard-tabpanel" flex="1">
  384. <!--
  385.     <deck id="passcard-deck" selectedIndex="0">
  386.         <vbox align="center" pack="center">
  387.             <label value="Passcard Manager password required"/>
  388.         </vbox>
  389. -->
  390.         <tabbox id="passcard-tabbox" flex="1">
  391.             <tabs id="passcard-tabs" onselect="OnSelectPasscardTab(this);">
  392.                 <tab id="passcards-tab" label="&passcards.tab.title;"/>
  393.                 <tab id="preferences-tab" label="&preferences.tab.title;"/>
  394.             </tabs>
  395.             <tabpanels flex="1">
  396.                 <tabpanel flex="1">
  397.                     <!-- Passcard detail overlay -->
  398.                     <box id="passcardPanel" flex="1"/>
  399.                 </tabpanel>
  400.                 <!-- Passcard preferences tab panel -->
  401.                 <tabpanel flex="1" orient="vertical">
  402.                     <groupbox>
  403.                         <caption label="&behavior.tab.title;"/>
  404.                         <hbox>
  405.                             <vbox flex="1">
  406.                                 <label value="&autologin.preference.label;"/>
  407.                                 <menulist id="pcAutologin" flex="1">
  408.                                     <menupopup>
  409.                                         <menuitem label="&autologin.displayprompt.label;"/>
  410.                                         <menuitem label="&autologin.fill.label;"/>
  411.                                         <menuitem label="&autologin.fillandsubmit.label;"/>
  412.                                         <menuitem label="&autologin.donothing.label;"/>
  413.                                     </menupopup>
  414.                                 </menulist>
  415.                             </vbox>
  416.                             <vbox flex="1">
  417.                                 <label value="&autosave.preference.label;"/>
  418.                                 <menulist id="pcAutosave" flex="1">
  419.                                     <menupopup>
  420.                                         <menuitem label="&autosave.displayprompt.label;"/>
  421.                                         <menuitem label="&autosave.save.label;"/>
  422.                                         <menuitem label="&autosave.donothing.label;"/>
  423.                                     </menupopup>
  424.                                 </menulist>
  425.                             </vbox>
  426.                         </hbox>
  427.                         <checkbox id="pcHighlight" label="&behavior.highlight.label;"/>
  428.                         <checkbox id="pcFillAndSubmit" label="&behavior.fillAndSubmit.label;"/>
  429.                         <checkbox id="pcDefaultPrompt" label="&behavior.defaultPrompt.label;"/>
  430.                     </groupbox>
  431.                     <groupbox>
  432.                         <caption label="&protection.tab.title;"/>
  433.                         <grid>
  434.                             <columns>
  435.                                 <column/>
  436.                             </columns>
  437.                             <rows>
  438.                                 <row>
  439.                                     <vbox>
  440.                                         <checkbox id="pcPasswordProtect" label="&protection.protect.label;"/>
  441. <!--
  442.                                         <checkbox id="pcPasswordPrompt" label="&protection.prompt.label;"/>
  443.                                         <separator class="thin"/>
  444.                                         <hbox>
  445.                                             <label id="pcPasswordExpireLabel" value="&protection.expire.label;"
  446.                                                             control="pcPasswordExpire"/>
  447.                                             <textbox id="pcPasswordExpire" size="1" maxlength="3"
  448.                                                                 onchange="OnExpireTextChange()"/>
  449.                                         </hbox>
  450. -->
  451.                                     </vbox>
  452.                                 </row>
  453.                             </rows>
  454.                         </grid>
  455.                     </groupbox>
  456. <!--
  457.                     <groupbox orient="horizontal">
  458.                         <caption label="&default.tab.title;"/>
  459.                         <label value="&default.userID.label;" control="pcUserID"/>
  460.                         <textbox id="pcUserID" maxlength="50" flex="1"/>
  461.                         <label value="&default.password.label;" control="pcPassword"/>
  462.                         <textbox id="pcPassword" maxlength="20" flex="1" type="password"/>
  463.                     </groupbox>
  464. -->
  465.                 </tabpanel><!-- END Passcard preferences tab panel -->
  466.             </tabpanels>
  467.         </tabbox>
  468. <!--
  469.     </deck>
  470. -->
  471. </tabpanel><!-- END Passcard tab panel --><!-- Master Password UI -->
  472. <!-- Master Password tab panel -->
  473. <tabpanel id="password-tabpanel" flex="1" orient="vertical">
  474.   <!-- List elements to manage for prefs -->
  475.   <script type="application/x-javascript">
  476.     <!--[CDATA[
  477.       var _elementIDs = ["changePasswordButton",
  478.                          "resetPasswordButton",
  479.                          "timeoutPasswordButton",
  480.                          "askEveryTimeHidden",
  481.                          "passwordAskTimes",
  482.                          "passwordTimeout"];
  483.     ]]-->
  484.   </script>
  485.  
  486.   <!-- Hidden elements for persisting timeout values -->
  487.   <checkbox id="askEveryTimeHidden"
  488.             prefstring="signon.expireMasterPassword"
  489.             hidden="true"/>
  490.   <textbox id="passwordAskTimes"
  491.            preftype="int"
  492.            prefstring="security.ask_for_password"
  493.            hidden="true"/>
  494.   <textbox id="passwordTimeout"
  495.            preftype="int"
  496.            prefstring="security.password_lifetime"
  497.            hidden="true"/>
  498.  
  499.   <!-- Change Password -->
  500.   <groupbox>
  501.     <caption id="changePasswordTitle" label="&change.password.title;"/>
  502.     <description>&change.password.description;</description>
  503.     <hbox pack="end"> <!--TODO JVL: REMOVE align="center"-->
  504.       <button id="changePasswordButton" label="&change.password.button;"
  505.               oncommand="OnChangePassword();"/>
  506. <!--
  507.               accesskey="&changepassword.accesskey;"
  508.               prefstring="security.disable_button.changePassword"/>
  509. -->
  510.     </hbox>
  511.   </groupbox>
  512.  
  513.   <!-- Reset Password -->
  514.   <groupbox>
  515.     <caption label="&reset.password.title;"/>
  516.     <description>&reset.password.description;</description>
  517.     <hbox pack="end"> <!--TODO JVL: REMOVE align="center"-->
  518.       <button id="resetPasswordButton" label="&reset.password.button;"
  519.               oncommand="OnResetPassword();"/>
  520. <!--
  521.               accesskey="&resetpassword.accesskey;"
  522.               prefstring="security.disable_button.resetPassword"/>
  523. -->
  524.     </hbox>
  525.   </groupbox>
  526.  
  527.   <!-- Change Password Timeout -->
  528.   <groupbox>
  529.     <caption label="&timeout.title;"/>
  530.     <description>&timeout.description;</description>
  531.     <hbox pack="end" align="center">
  532.       <description id="noLoginTimeoutMsg" hidden="true">&timeout.notloggedin.label;</description>
  533.       <button id="timeoutPasswordButton" label="&timeout.label;"
  534.               oncommand="OnChangeTimeout();"/>
  535.     </hbox>
  536.   </groupbox>
  537. </tabpanel><!-- END Master Password tab panel -->
  538.         </tabpanels>
  539.     </tabbox>
  540. </page>
  541.