home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-
- <!DOCTYPE window SYSTEM "chrome://mozapps/locale/autofill/autofill.dtd">
-
- <dialog id="UpdatePrompt"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- onload="updatePromptOnLoad();"
- ondialogaccept="return updatePromptOnAccept();"
- ondialogextra1="return updatePromptOnExtra1();"
- ondialogextra2="return updatePromptOnExtra2();"
- buttonpack="end"
- buttons="accept,cancel"
- style="min-width: 29em; min-height: 8.5em; -moz-user-focus: ignore;">
-
- <script type="application/x-javascript" src="chrome://passwordmgr/content/passwordManager.js"/>
- <script type="application/x-javascript" src="chrome://mozapps/content/autofill/passcard.js" />
- <script type="application/x-javascript" src="chrome://mozapps/content/autofill/UpdatePrompt.js" />
- <script type="application/x-javascript" src="chrome://mozapps/content/autofill/masterpassword.js" />
-
- <stringbundle id="strings" src="chrome://passwordmgr/locale/passwordmgr.properties"/>
-
- <hbox flex="1">
- <hbox align="start">
- <image id="info.icon" class="spaced"/>
- </hbox>
-
- <vbox flex="1" style="max-width: 45em;">
- <!-- text -->
- <description id="info.header" class="header"/>
- <vbox id="info.box"/>
-
- <radiogroup id="radiogroup">
-
- <hbox flex="1" id="updatePasscardContainer">
- <!-- Update passcard button -->
- <hbox id="radio0Container" collapsed="true">
- <radio id="radio0" label="&radio0.label;" selected="true" oncommand="onRadio0Selected();"/>
- </hbox>
- <hbox flex="1" id="dropdown0Container" collapsed="true">
- <menulist maxwidth="300" id="dropdownMenulist0" oncommand="onDropdown0Click(this);">
- <menupopup>
- </menupopup>
- </menulist>
- </hbox>
- </hbox>
-
- <!-- Save a Passcard radio button -->
- <hbox flex="1" id="radio1Container" collapsed="true">
- <radio id="radio1" label="&radio1.label;" oncommand="onRadio1Selected();"/>
- </hbox>
-
- <hbox flex="1" id="nameContainer" hidden="true">
- <separator orient="vertical"/>
- <!-- Passcard Name textbox -->
- <label value="&name.label;" control="nameTextbox" id="nameLabel" disabled="true"/>
- <textbox id="nameTextbox" size="12" maxlength="12" disabled="true"/>
- </hbox>
-
- <hbox flex="1" id="checkboxContainer" collapsed="true">
- <!-- Protect with Master Password checkbox -->
- <separator orient="vertical"/>
- <checkbox label="&checkbox.label;" id="checkbox" oncommand="onCheckboxClick(this);" disabled="true"/>
- </hbox>
-
- <!-- Set hidden=true for datacards? -->
- <hbox flex="1" id="dropdown1Container" collapsed="true">
- <!-- Autofill options dropdown -->
- <separator orient="vertical"/>
- <vbox flex="1">
- <label value="&dropdown.label;" control="dropdownMenulist1" id="dropdownLabel" disabled="true"/>
- <menulist maxwidth="300" id="dropdownMenulist1" oncommand="onDropdown1Click(this);" disabled="true">
- <menupopup id="dropdownMenupopup">
- </menupopup>
- </menulist>
- </vbox>
- </hbox>
-
- <!-- Never Save passwords radio button -->
- <hbox flex="1" id="radio2Container" collapsed="true">
- <radio id="radio2" label="&radio2.label;" oncommand="onRadio2Selected();"/>
- </hbox>
- </radiogroup>
- </vbox>
- </hbox>
- <separator class="thin"/>
-
- <!-- This method is called inline because it may unset hidden="true" on the
- above boxes, causing their frames to be build and bindings to load.
- So, by calling this inline, we guarantee the textboxes and checkboxes
- above will have their bindings before initButtons is called, and the
- dialog will be intrinsically sized correctly. -->
- <script type="application/x-javascript">showControls();</script>
-
- </dialog>
-