summaryrefslogtreecommitdiff
path: root/toolkit/mozapps/webextensions/content/eula.xul
blob: 10e657951915a4ea34237f775d1ac39c22aff8c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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>