<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://mozapps/skin/extensions/newaddon.css"?>

<!DOCTYPE page [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
%brandDTD;
<!ENTITY % newaddonDTD SYSTEM "chrome://mozapps/locale/extensions/newaddon.dtd">
%newaddonDTD;
]>

<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      xmlns:xhtml="http://www.w3.org/1999/xhtml" title="&title;"
      disablefastfind="true" id="addon-page" onload="initialize()"
      onunload="unload()" role="application" align="stretch" pack="stretch">

  <xhtml:link rel="shortcut icon" style="display: none"
              href="chrome://mozapps/skin/extensions/extensionGeneric-16.png"/>

  <script type="application/javascript"
          src="chrome://mozapps/content/extensions/newaddon.js"/>

  <scrollbox id="addon-scrollbox" align="center">
    <spacer id="spacer-start"/>

    <vbox id="addon-container" class="main-content">
      <description>&intro;</description>

      <hbox id="addon-info">
        <image id="icon"/>
        <vbox flex="1">
          <label id="name"/>
          <label id="author"/>
          <label id="location" crop="end"/>
        </vbox>
      </hbox>

      <hbox id="warning">
        <image id="warning-icon"/>
        <description flex="1">&warning;</description>
      </hbox>

      <checkbox id="allow" label="&allow;"/>
      <description id="later">&later;</description>

      <deck id="buttonDeck">
        <hbox id="continuePanel">
          <button id="continue-button" label="&continue;"
                  oncommand="continueClicked()"/>
        </hbox>
        <hbox id="restartPanel">
          <spacer id="restartSpacer"/>
          <description id="restartMessage" flex="1">&restartMessage;</description>
          <button id="restart-button" label="&restartButton;" oncommand="restartClicked()"/>
          <button id="cancel-button" label="&cancelButton;" oncommand="cancelClicked()"/>
        </hbox>
      </deck>
    </vbox>

    <spacer id="spacer-end"/>
  </scrollbox>
</page>
