<?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 


<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/content/aboutDialog.css" type="text/css"?>
<?xml-stylesheet href="chrome://branding/content/aboutDialog.css" type="text/css"?>

<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
%brandDTD;
<!ENTITY % aboutDialogDTD SYSTEM "chrome://messenger/locale/aboutDialog.dtd" >
%aboutDialogDTD;
]>

<window xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        id="aboutDialog"
        windowtype="Mail:About"
        onload="init(event);"
        onunload="onUnload(event);"
        inwindowmenu="false"
        role="dialog"
        aria-describedby="version distribution distributionId currentChannelText communityDesc contributeDesc trademark"
        >

  <script type="application/javascript" src="chrome://messenger/content/aboutDialog.js"/>
  <script type="application/javascript" src="chrome://messenger/content/specialTabs.js"/>
  <!-- This one is for openURL -->
  <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>

  <vbox id="aboutDialogContainer">
    <hbox id="clientBox">
      <vbox id="leftBox" flex="1"/>
      <vbox id="rightBox" flex="1">
<label id="version" value="31.2.0"/>
        <label id="distribution" class="text-blurb"/>
        <label id="distributionId" class="text-blurb"/>

        <vbox id="detailsBox">
          <vbox id="updateBox">
            <deck id="updateDeck" orient="vertical">
              <hbox id="checkForUpdates" align="center">
                <button id="checkForUpdatesButton" align="start"
                        label="&update.checkForUpdatesButton.label;"
                        accesskey="&update.checkForUpdatesButton.accesskey;"
                        oncommand="gAppUpdater.checkForUpdates();"/>
                <spacer flex="1"/>
              </hbox>
              <hbox id="downloadAndInstall" align="center">
                <button id="downloadAndInstallButton"
                        oncommand="gAppUpdater.doUpdate();"/>
                        <!-- label and accesskey will be filled by JS -->
                <spacer flex="1"/>
              </hbox>
              <hbox id="apply" align="center">
                <button id="updateButton"
                        label="&update.updateButton.label;"
                        accesskey="&update.updateButton.accesskey;"
                        oncommand="gAppUpdater.buttonRestartAfterDownload();"/>
                <spacer flex="1"/>
              </hbox>
              <hbox id="applyBillboard" align="center">
                <button id="applyButtonBillboard"
                        label="&update.applyButtonBillboard.label;"
                        accesskey="&update.applyButtonBillboard.accesskey;"
                        oncommand="gAppUpdater.buttonApplyBillboard();"/>
                <spacer flex="1"/>
              </hbox>
              <hbox id="checkingForUpdates" align="center">
                <image class="update-throbber"/><label>&update.checkingForUpdates;</label>
              </hbox>
              <hbox id="downloading" align="center">
                <image class="update-throbber"/><label>&update.downloading.start;</label><label id="downloadStatus"/><label>&update.downloading.end;</label>
              </hbox>
              <hbox id="applying" align="center">
                <image class="update-throbber"/><label>&update.applying;</label>
              </hbox>
             <hbox id="downloadFailed" align="center">
                <label>&update.failed.start;</label><label id="failedLink" class="text-link">&update.failed.linkText;</label><label>&update.failed.end;</label>
              </hbox>
              <hbox id="adminDisabled" align="center">
                <label>&update.adminDisabled;</label>
              </hbox>
              <hbox id="noUpdatesFound" align="center">
                <label>&update.noUpdatesFound;</label>
              </hbox>
              <hbox id="manualUpdate" align="center">
                <label>&update.manual.start;</label><label id="manualLink" class="text-link">&update.manual.linkText;</label><label>&update.manual.end;</label>
              </hbox>
              <hbox id="unsupportedSystem" align="center">
                <label>&update.unsupported.start;</label><label id="unsupportedLink" class="text-link">&update.unsupported.linkText;</label><label>&update.unsupported.end;</label>
              </hbox>
            </deck>
          </vbox>
          <description class="text-blurb" id="currentChannelText" hidden="true">
            &channel.description.start;<label id="currentChannel"/>&channel.description.end;
          </description>
          <description class="text-blurb" id="communityDesc">
            &community.start2;<label class="text-link" onclick="openURL('http://tenfourbird.sourceforge.jp/');">&community.tenfourbirdLink;</label>&community.middle2a;<label class="text-link" onclick="openURL('http://www.mozilla.org/projects/thunderbird/');">&community.mozillaLink;</label>&community.middle2b;<label class="text-link" onclick="openURL('http://www.floodgap.com/software/tenfourfox/');">&community.tenfourfoxLink;</label>&community.end2;
          </description>
          <!--<description class="text-blurb" id="contributeDesc">
            &contribute.start;<label class="text-link" onclick="openURL('http://www.mozilla.org/contribute/');">&contribute.getInvolvedLink;</label>&contribute.end;
          </description>-->
       </vbox>
     </vbox>
    </hbox>
    <vbox id="bottomBox">
      <hbox pack="center">
        <label class="text-link bottom-link" onclick="openAboutTab('about:license');">&bottomLinks.license;</label>
        <label class="text-link bottom-link" onclick="openAboutTab('about:rights');">&bottomLinks.rights;</label>
        <label class="text-link bottom-link" onclick="openURL('https://www.mozilla.org/en-US/thunderbird/legal/privacy/');">&bottomLinks.privacy;</label>
      </hbox>
      <description id="trademark">
        <label class="trademark-label">&trademarkInfo.part1;</label>
     </description>
    </vbox>
  </vbox>
  
  <keyset id="mainKeyset">
    <key keycode="VK_ESCAPE" oncommand="window.close();"/>
    <key id="key_close" modifiers="accel" key="&cmdCloseMac.commandKey;"
         oncommand="window.close();"/>
  </keyset>
</window>
