<?xml version="1.0"?> 
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> 

<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://global/locale/commonDialog.dtd">

<window id="commonDialog"
	      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
        orient="vertical"
	      onload="commonDialogOnLoad()"
	      style="width: 40em; min-height: 8em; user-focus: ignore;"
	      class="dialog"> 
    
  <script language="JavaScript" src="chrome://global/content/commonDialog.js"></script>
    
  <keyset id="keyset"/>

  <box flex="1">
    <box autostretch="never" valign="top">
			<image id="info.icon" class="spaced" src="chrome://global/skin/message-icon.gif" />
    </box>
    <separator orient="vertical" class="thin"/>
    <box orient="vertical" flex="1">
      <!-- text -->
      <html id="info.header" class="header" flex="1"/>
      <box id="info.box" flex="1" orient="vertical" style="max-width: 45em;"/>

      <!-- edit fields -->
      <box orient="vertical" id="loginEditField" hidden="true">
        <text class="label" id="login.text" value="&editfield0.label;" for="dialog.loginname"/>
        <textfield tabindex="0" type="text" id="dialog.loginname" flex="1"/>
      </box>
      <box orient="vertical" id ="password1EditField" hidden="true">
        <text class="label" id="password1.text" value="&editfield1.label;" for="dialog.password1"/>
        <textfield tabindex="1" type="password" id="dialog.password1" flex="1"/>
      </box>
      <box orient="vertical" id="password2EditField" hidden="true">
        <text class="label" id="password2.text" value="&editfield2.label;" for="dialog.password2"/>
        <textfield tabindex="1" type="password" id="dialog.password2" flex="1"/>
      </box>
  
      <spring flex="1"/>
      
      <!-- checkbox -->
      <box id="checkboxContainer" hidden="true" autostretch="never">
        <checkbox id="checkbox" oncommand="onCheckboxClick(this)" style="max-width: 40em;"/>
      </box>
    </box>
  </box>

  <separator class="thin"/>
  <box id="okCancelButtons"/>

</window>
