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
/
SavePrompt.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-07-29
|
3KB
|
84 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://mozapps/locale/autofill/autofill.dtd">
<dialog id="SavePrompt"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="savePromptOnLoad();"
ondialogaccept="return savePromptOnAccept();"
ondialogextra1="return savePromptOnExtra1();"
ondialogextra2="return savePromptOnExtra2();"
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/SavePrompt.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">
<!-- Save a Passcard radio button -->
<hbox flex="1" id="radio0Container" collapsed="true">
<radio id="radio0" selected="true" label="&radio0.label;" oncommand="onRadio0Selected();"/>
</hbox>
<hbox flex="1" id="nameContainer" hidden="true">
<separator orient="vertical"/>
<!-- Passcard Name textbox -->
<label value="&name.label;" control="nameTextbox" id="nameLabel"/>
<textbox id="nameTextbox" size="12" maxlength="12"/>
</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);"/>
</hbox>
<!-- Set hidden=true for datacards? -->
<hbox flex="1" id="dropdownContainer" collapsed="true">
<!-- Autofill options dropdown -->
<separator orient="vertical"/>
<vbox flex="1">
<label value="&dropdown.label;" control="dropdownMenulist" id="dropdownLabel"/>
<menulist maxwidth="300" id="dropdownMenulist" oncommand="onDropdownClick(this);">
<menupopup id="dropdownMenupopup">
</menupopup>
</menulist>
</vbox>
</hbox>
<!-- Never Save passwords radio button -->
<hbox flex="1" id="radio1Container" collapsed="true">
<radio id="radio1" label="&radio1.label;" oncommand="onRadio1Selected();"/>
</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>