3 <?xml-stylesheet href=
"chrome://global/skin/" type=
"text/css"?>
4 <?xml-stylesheet href=
"chrome://global/content/commonDialog.css" type=
"text/css"?>
6 <!DOCTYPE dialog SYSTEM
"chrome://global/locale/commonDialog.dtd">
8 <dialog id=
"commonDialog"
9 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
11 onload=
"commonDialogOnLoad();"
12 ondialogaccept=
"return commonDialogOnAccept();"
13 ondialogextra1=
"return commonDialogOnExtra1();"
14 ondialogextra2=
"return commonDialogOnExtra2();"
16 style=
"min-width: 29em; min-height: 8.5em; -moz-user-focus: ignore;">
18 <script type=
"application/javascript" src=
"chrome://global/content/commonDialog.js"/>
19 <script type=
"application/x-javascript" src=
"chrome://global/content/globalOverlay.js"/>
21 <commandset id=
"selectEditMenuItems">
22 <command id=
"cmd_copy" oncommand=
"goDoCommand('cmd_copy')" disabled=
"true"/>
23 <command id=
"cmd_selectAll" oncommand=
"goDoCommand('cmd_selectAll')"/>
26 <popupset id=
"contentAreaContextSet">
27 <popup id=
"contentAreaContextMenu"
28 onpopupshowing=
"goUpdateCommand('cmd_copy')">
29 <menuitem id=
"context-copy"
30 label=
"©Cmd.label;"
31 accesskey=
"©Cmd.accesskey;"
34 <menuitem id=
"context-selectall"
35 label=
"&selectAllCmd.label;"
36 accesskey=
"&selectAllCmd.accesskey;"
37 command=
"cmd_selectAll"/>
51 <image id=
"info.icon" class=
"spaced"/>
53 <vbox id=
"infoContainer">
55 <!-- Dialog title is inside dialog for OS X -->
56 <description id=
"info.title" class=
"dialogTitle"/>
58 <description id=
"info.header" class=
"header"/>
59 <description id=
"info.body" context=
"contentAreaContextMenu" tabindex=
"-1"/>
62 <row id=
"loginContainer" hidden=
"true" align=
"center">
63 <label id=
"loginLabel" value=
"&editfield0.label;" control=
"loginTextbox"/>
64 <textbox id=
"loginTextbox"/>
66 <row id =
"password1Container" hidden=
"true" align=
"center">
67 <label id=
"password1Label" value=
"&editfield1.label;" control=
"password1Textbox"/>
68 <textbox type=
"password" id=
"password1Textbox"/>
70 <row id=
"password2Container" hidden=
"true" align=
"center">
71 <label id=
"password2Label" value=
"&editfield2.label;" control=
"password2Textbox"/>
72 <textbox type=
"password" id=
"password2Textbox"/>
74 <row id=
"checkboxContainer" hidden=
"true">
76 <checkbox id=
"checkbox" oncommand=
"onCheckboxClick(this);"/>
82 <!-- This method is called inline because it may unset hidden="true" on the
83 above boxes, causing their frames to be build and bindings to load.
84 So, by calling this inline, we guarantee the textboxes and checkboxes
85 above will have their bindings before initButtons is called, and the
86 dialog will be intrinsically sized correctly. -->
87 <script type=
"application/javascript">showControls();
</script>