Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://browser/content/aboutDialog.css" type="text/css"?>
9 <?xml-stylesheet href="chrome://branding/content/aboutDialog.css" type="text/css"?>
11 <!DOCTYPE window [
12 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
13 %brandDTD;
14 <!ENTITY % aboutDialogDTD SYSTEM "chrome://browser/locale/aboutDialog.dtd" >
15 %aboutDialogDTD;
16 ]>
18 #ifdef XP_MACOSX
19 <?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
20 #endif
22 <window xmlns:html="http://www.w3.org/1999/xhtml"
23 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
24 id="aboutDialog"
25 windowtype="Browser:About"
26 onload="init(event);"
27 #ifdef MOZ_UPDATER
28 onunload="onUnload(event);"
29 #endif
30 #ifdef XP_MACOSX
31 inwindowmenu="false"
32 #else
33 title="&aboutDialog.title;"
34 #endif
35 role="dialog"
36 aria-describedby="version distribution distributionId communityDesc contributeDesc trademark"
37 >
39 <script type="application/javascript" src="chrome://browser/content/aboutDialog.js"/>
41 <vbox id="aboutDialogContainer">
42 <hbox id="clientBox">
43 <vbox id="leftBox" flex="1"/>
44 <vbox id="rightBox" flex="1">
45 #expand <label id="version">__MOZ_APP_VERSION__</label>
46 <label id="distribution" class="text-blurb"/>
47 <label id="distributionId" class="text-blurb"/>
49 <vbox id="detailsBox">
50 <vbox id="updateBox">
51 #ifdef MOZ_UPDATER
52 <deck id="updateDeck" orient="vertical">
53 <hbox id="checkForUpdates" align="center">
54 <button id="checkForUpdatesButton" align="start"
55 label="&update.checkForUpdatesButton.label;"
56 accesskey="&update.checkForUpdatesButton.accesskey;"
57 oncommand="gAppUpdater.checkForUpdates();"/>
58 <spacer flex="1"/>
59 </hbox>
60 <hbox id="downloadAndInstall" align="center">
61 <button id="downloadAndInstallButton" align="start"
62 oncommand="gAppUpdater.doUpdate();"/>
63 <!-- label and accesskey will be filled by JS -->
64 <spacer flex="1"/>
65 </hbox>
66 <hbox id="apply" align="center">
67 <button id="updateButton" align="start"
68 label="&update.updateButton.label;"
69 accesskey="&update.updateButton.accesskey;"
70 oncommand="gAppUpdater.buttonRestartAfterDownload();"/>
71 <spacer flex="1"/>
72 </hbox>
73 <hbox id="applyBillboard" align="center">
74 <button id="applyButtonBillboard" align="start"
75 label="&update.applyButtonBillboard.label;"
76 accesskey="&update.applyButtonBillboard.accesskey;"
77 oncommand="gAppUpdater.buttonApplyBillboard();"/>
78 <spacer flex="1"/>
79 </hbox>
80 <hbox id="checkingForUpdates" align="center">
81 <image class="update-throbber"/><label>&update.checkingForUpdates;</label>
82 </hbox>
83 <hbox id="downloading" align="center">
84 <image class="update-throbber"/><label>&update.downloading.start;</label><label id="downloadStatus"/><label>&update.downloading.end;</label>
85 </hbox>
86 <hbox id="applying" align="center">
87 <image class="update-throbber"/><label>&update.applying;</label>
88 </hbox>
89 <hbox id="downloadFailed" align="center">
90 <label>&update.failed.start;</label><label id="failedLink" class="text-link">&update.failed.linkText;</label><label>&update.failed.end;</label>
91 </hbox>
92 <hbox id="adminDisabled" align="center">
93 <label>&update.adminDisabled;</label>
94 </hbox>
95 <hbox id="noUpdatesFound" align="center">
96 <label>&update.noUpdatesFound;</label>
97 </hbox>
98 <hbox id="otherInstanceHandlingUpdates" align="center">
99 <label>&update.otherInstanceHandlingUpdates;</label>
100 </hbox>
101 <hbox id="manualUpdate" align="center">
102 <label>&update.manual.start;</label><label id="manualLink" class="text-link"/><label>&update.manual.end;</label>
103 </hbox>
104 <hbox id="unsupportedSystem" align="center">
105 <label>&update.unsupported.start;</label><label id="unsupportedLink" class="text-link">&update.unsupported.linkText;</label><label>&update.unsupported.end;</label>
106 </hbox>
107 </deck>
108 #endif
109 </vbox>
111 #if MOZ_UPDATE_CHANNEL != release
112 #ifdef MOZ_UPDATER
113 <description class="text-blurb" id="currentChannelText">
114 &channel.description.start;<label id="currentChannel"/>&channel.description.end;
115 </description>
116 #endif
117 #endif
118 <vbox id="experimental" hidden="true">
119 <description class="text-blurb" id="warningDesc">
120 &warningDesc.version;
121 #ifdef MOZ_TELEMETRY_ON_BY_DEFAULT
122 &warningDesc.telemetryDesc;
123 #endif
124 </description>
125 <description class="text-blurb" id="communityExperimentalDesc">
126 &community.exp.start;<label class="text-link" href="http://www.mozilla.org/">&community.exp.mozillaLink;</label>&community.exp.middle;<label class="text-link" href="about:credits">&community.exp.creditsLink;</label>&community.exp.end;
127 </description>
128 </vbox>
129 <description class="text-blurb" id="communityDesc">
130 &community.start2;<label class="text-link" href="http://www.mozilla.org/">&community.mozillaLink;</label>&community.middle2;<label class="text-link" href="about:credits">&community.creditsLink;</label>&community.end3;
131 </description>
132 <description class="text-blurb" id="contributeDesc">
133 &contribute.start;<label class="text-link" href="http://www.mozilla.org/contribute/">&contribute.getInvolvedLink;</label>&contribute.end;
134 </description>
135 </vbox>
136 </vbox>
137 </hbox>
138 <vbox id="bottomBox">
139 <hbox pack="center">
140 <label class="text-link bottom-link" href="about:license">&bottomLinks.license;</label>
141 <label class="text-link bottom-link" href="about:rights">&bottomLinks.rights;</label>
142 <label class="text-link bottom-link" href="https://www.mozilla.org/legal/privacy/">&bottomLinks.privacy;</label>
143 </hbox>
144 <description id="trademark">&trademarkInfo.part1;</description>
145 </vbox>
146 </vbox>
148 <keyset>
149 <key keycode="VK_ESCAPE" oncommand="window.close();"/>
150 </keyset>
152 #ifdef XP_MACOSX
153 #include browserMountPoints.inc
154 #endif
155 </window>