toolkit/mozapps/extensions/content/newaddon.xul

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:abe8d32d0563
1 <?xml version="1.0"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
7 <?xml-stylesheet href="chrome://mozapps/skin/extensions/newaddon.css"?>
8
9 <!DOCTYPE page [
10 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
11 %brandDTD;
12 <!ENTITY % newaddonDTD SYSTEM "chrome://mozapps/locale/extensions/newaddon.dtd">
13 %newaddonDTD;
14 ]>
15
16 <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
17 xmlns:xhtml="http://www.w3.org/1999/xhtml" title="&title;"
18 disablefastfind="true" id="addon-page" onload="initialize()"
19 onunload="unload()" role="application" align="stretch" pack="stretch">
20
21 <xhtml:link rel="shortcut icon" style="display: none"
22 href="chrome://mozapps/skin/extensions/extensionGeneric-16.png"/>
23
24 <script type="application/javascript"
25 src="chrome://mozapps/content/extensions/newaddon.js"/>
26
27 <scrollbox id="addon-scrollbox" align="center">
28 <spacer id="spacer-start"/>
29
30 <vbox id="addon-container" class="main-content">
31 <description>&intro;</description>
32
33 <hbox id="addon-info">
34 <image id="icon"/>
35 <vbox flex="1">
36 <label id="name"/>
37 <label id="author"/>
38 <label id="location" crop="end"/>
39 </vbox>
40 </hbox>
41
42 <hbox id="warning">
43 <image id="warning-icon"/>
44 <description flex="1">&warning;</description>
45 </hbox>
46
47 <checkbox id="allow" label="&allow;"/>
48 <description id="later">&later;</description>
49
50 <deck id="buttonDeck">
51 <hbox id="continuePanel">
52 <button id="continue-button" label="&continue;"
53 oncommand="continueClicked()"/>
54 </hbox>
55 <hbox id="restartPanel">
56 <spacer id="restartSpacer"/>
57 <description id="restartMessage" flex="1">&restartMessage;</description>
58 <button id="restart-button" label="&restartButton;" oncommand="restartClicked()"/>
59 <button id="cancel-button" label="&cancelButton;" oncommand="cancelClicked()"/>
60 </hbox>
61 </deck>
62 </vbox>
63
64 <spacer id="spacer-end"/>
65 </scrollbox>
66 </page>

mercurial