<?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/eula.css" type="text/css"?>

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

<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        title="&eula.title;" width="&eula.width;" height="&eula.height;"
        buttons="accept,cancel" buttonlabelaccept="&eula.accept;"
        ondialogaccept="window.arguments[0].accepted = true"
        onload="Startup();">

  <script type="application/javascript" src="chrome://mozapps/content/extensions/eula.js"/>
  
  <stringbundleset id="extensionsSet">
    <stringbundle id="extensionsStrings" src="chrome://mozapps/locale/extensions/extensions.properties"/>
  </stringbundleset>

  <hbox id="heading-container">
    <image id="icon"/>
    <label id="heading" flex="1"/>
  </hbox>
  
  <textbox id="eula" multiline="true" readonly="true" flex="1"/>
</dialog>
