2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2007-10-08 16:29:21 -07:00
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://global/content/commonDialog.css" type="text/css"?>
|
2008-10-12 06:25:51 -07:00
|
|
|
<?xml-stylesheet href="chrome://global/skin/commonDialog.css" type="text/css"?>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!DOCTYPE dialog SYSTEM "chrome://global/locale/commonDialog.dtd">
|
|
|
|
|
|
|
|
<dialog id="commonDialog"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2009-02-02 01:35:36 -08:00
|
|
|
aria-describedby="info.body"
|
2007-03-22 10:30:00 -07:00
|
|
|
onload="commonDialogOnLoad();"
|
|
|
|
ondialogaccept="return commonDialogOnAccept();"
|
|
|
|
ondialogextra1="return commonDialogOnExtra1();"
|
|
|
|
ondialogextra2="return commonDialogOnExtra2();"
|
2009-05-05 12:03:27 -07:00
|
|
|
buttonpack="center">
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2007-05-23 11:08:10 -07:00
|
|
|
<script type="application/javascript" src="chrome://global/content/commonDialog.js"/>
|
2007-10-08 16:29:21 -07:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
|
|
|
|
|
|
|
|
<commandset id="selectEditMenuItems">
|
|
|
|
<command id="cmd_copy" oncommand="goDoCommand('cmd_copy')" disabled="true"/>
|
|
|
|
<command id="cmd_selectAll" oncommand="goDoCommand('cmd_selectAll')"/>
|
|
|
|
</commandset>
|
|
|
|
|
|
|
|
<popupset id="contentAreaContextSet">
|
|
|
|
<popup id="contentAreaContextMenu"
|
|
|
|
onpopupshowing="goUpdateCommand('cmd_copy')">
|
|
|
|
<menuitem id="context-copy"
|
|
|
|
label="©Cmd.label;"
|
|
|
|
accesskey="©Cmd.accesskey;"
|
|
|
|
command="cmd_copy"
|
|
|
|
disabled="true"/>
|
|
|
|
<menuitem id="context-selectall"
|
|
|
|
label="&selectAllCmd.label;"
|
|
|
|
accesskey="&selectAllCmd.accesskey;"
|
|
|
|
command="cmd_selectAll"/>
|
|
|
|
</popup>
|
|
|
|
</popupset>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-05-05 12:03:27 -07:00
|
|
|
<hbox id="filler" style="min-width: 0%;">
|
|
|
|
<spacer style="width: 29em;"/>
|
|
|
|
</hbox>
|
2008-01-29 11:33:26 -08:00
|
|
|
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<hbox align="start">
|
|
|
|
<image id="info.icon" class="spaced"/>
|
|
|
|
</hbox>
|
|
|
|
<vbox id="infoContainer">
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef XP_MACOSX
|
2008-01-29 11:33:26 -08:00
|
|
|
<!-- Dialog title is inside dialog for OS X -->
|
|
|
|
<description id="info.title" class="dialogTitle"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
2008-01-29 11:33:26 -08:00
|
|
|
<description id="info.header" class="header"/>
|
|
|
|
<description id="info.body" context="contentAreaContextMenu" tabindex="-1"/>
|
|
|
|
</vbox>
|
|
|
|
</row>
|
|
|
|
<row id="loginContainer" hidden="true" align="center">
|
2007-03-22 10:30:00 -07:00
|
|
|
<label id="loginLabel" value="&editfield0.label;" control="loginTextbox"/>
|
|
|
|
<textbox id="loginTextbox"/>
|
2008-01-29 11:33:26 -08:00
|
|
|
</row>
|
|
|
|
<row id ="password1Container" hidden="true" align="center">
|
2007-03-22 10:30:00 -07:00
|
|
|
<label id="password1Label" value="&editfield1.label;" control="password1Textbox"/>
|
|
|
|
<textbox type="password" id="password1Textbox"/>
|
2008-01-29 11:33:26 -08:00
|
|
|
</row>
|
|
|
|
<row id="password2Container" hidden="true" align="center">
|
2007-03-22 10:30:00 -07:00
|
|
|
<label id="password2Label" value="&editfield2.label;" control="password2Textbox"/>
|
|
|
|
<textbox type="password" id="password2Textbox"/>
|
2008-01-29 11:33:26 -08:00
|
|
|
</row>
|
|
|
|
<row id="checkboxContainer" hidden="true">
|
|
|
|
<spacer/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<checkbox id="checkbox" oncommand="onCheckboxClick(this);"/>
|
2008-01-29 11:33:26 -08:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!-- 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. -->
|
2007-05-23 11:08:10 -07:00
|
|
|
<script type="application/javascript">showControls();</script>
|
2007-03-22 10:30:00 -07:00
|
|
|
</dialog>
|