aboutDialog.xhtml 8.58 KB
Newer Older
1
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
blakeross%telocity.com's avatar
blakeross%telocity.com committed
2

3
4
5
# 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/.
blakeross%telocity.com's avatar
blakeross%telocity.com committed
6

7
<?xml-stylesheet href="chrome://global/skin/global.css" 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"?>
10
<?xml-stylesheet href="chrome://torbutton/skin/aboutDialog.css" type="text/css"?>
blakeross%telocity.com's avatar
blakeross%telocity.com committed
11

12
<!-- We need to include the localization DTDs until we migrate to Fluent -->
blakeross%telocity.com's avatar
blakeross%telocity.com committed
13
<!DOCTYPE window [
14
#include browser-doctype.inc
blakeross%telocity.com's avatar
blakeross%telocity.com committed
15
16
]>

17
<window xmlns:html="http://www.w3.org/1999/xhtml"
blakeross%telocity.com's avatar
blakeross%telocity.com committed
18
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
19
        id="aboutDialog"
20
        windowtype="Browser:About"
21
        onload="init(event);"
22
23
24
#ifdef MOZ_UPDATER
        onunload="onUnload(event);"
#endif
25
#ifdef XP_MACOSX
26
        inwindowmenu="false"
27
#else
28
        data-l10n-id="aboutDialog-title"
29
#endif
30
        role="dialog"
31
        aria-describedby="version distribution distributionId projectDesc helpDesc trademark trademarkTor"
32
        >
33
#ifdef XP_MACOSX
34
#include macWindow.inc.xhtml
35
36
#else
  <script src="chrome://browser/content/utilityOverlay.js"/>
37
#endif
38
39

  <linkset>
40
41
    <html:link rel="localization" href="branding/brand.ftl"/>
    <html:link rel="localization" href="browser/aboutDialog.ftl"/>
42
43
  </linkset>

44
  <script src="chrome://browser/content/aboutDialog.js"/>
45

46
  <vbox id="aboutDialogContainer">
47
48
49
    <hbox id="clientBox">
      <vbox id="leftBox" flex="1"/>
      <vbox id="rightBox" flex="1">
50
51
52
53
        <label id="release" hidden="true">
        <!-- This string is explicitly not translated -->
          Extended Support Release
        </label>
54
55
#ifndef MOZ_UPDATER
        <!-- This HBOX is duplicated below with class="update" -->
56
        <hbox align="baseline">
57
          <label id="version"/>
58
          <label id="releasenotes" is="text-link" hidden="true" data-l10n-id="releaseNotes-link"/>
59
        </hbox>
60
#endif
61

62
63
        <label id="distribution" class="text-blurb"/>
        <label id="distributionId" class="text-blurb"/>
64

65
        <vbox id="detailsBox">
66
          <hbox id="updateBox">
67
#ifdef MOZ_UPDATER
68
69
70
71
72
73
            <html:div id="icons">
              <html:img class="icon update-throbber" src="chrome://global/skin/icons/loading.png" role="presentation"/>
              <html:img class="icon noUpdatesFound" src="chrome://global/skin/icons/check.svg" role="presentation"/>
              <html:img class="icon apply" src="chrome://global/skin/icons/icon-refresh.svg" role="presentation"/>
            </html:div>
            <vbox>
74
              <stack id="updateDeck" orient="vertical">
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
                <hbox id="checkForUpdates" align="center">
                  <button id="checkForUpdatesButton" align="start"
                          data-l10n-id="update-checkForUpdatesButton"
                          oncommand="gAppUpdater.checkForUpdates();"/>
                  <spacer flex="1"/>
                </hbox>
                <hbox id="downloadAndInstall" align="center">
                  <button id="downloadAndInstallButton" align="start"
                          oncommand="gAppUpdater.startDownload();"/>
                          <!-- label and accesskey will be filled by JS -->
                  <spacer flex="1"/>
                </hbox>
                <hbox id="apply" align="center">
                  <button id="updateButton" align="start"
                          data-l10n-id="update-updateButton"
                          oncommand="gAppUpdater.buttonRestartAfterDownload();"/>
                  <spacer flex="1"/>
                </hbox>
                <hbox id="checkingForUpdates" align="center">
                  <label data-l10n-id="update-checkingForUpdates"/>
                </hbox>
                <hbox id="downloading" data-l10n-id="update-downloading-message" align="center">
                  <label id="downloadStatus" data-l10n-name="download-status"/>
                </hbox>
                <hbox id="applying" align="center">
                  <label data-l10n-id="update-applying"/>
                </hbox>
                <hbox id="downloadFailed" align="center" data-l10n-id="update-failed">
                  <label id="failedLink" is="text-link" data-l10n-name="failed-link"/>
                </hbox>
                <hbox id="policyDisabled" align="center">
                  <label data-l10n-id="update-adminDisabled"/>
                </hbox>
                <hbox id="noUpdatesFound" align="center">
                  <label data-l10n-id="update-noUpdatesFound"/>
                </hbox>
                <hbox id="otherInstanceHandlingUpdates" align="center">
                  <label data-l10n-id="update-otherInstanceHandlingUpdates"/>
                </hbox>
                <hbox id="manualUpdate" align="center" data-l10n-id="update-manual">
                  <label id="manualLink" is="text-link" data-l10n-name="manual-link"/>
                </hbox>
                <hbox id="unsupportedSystem" align="center" data-l10n-id="update-unsupported">
                  <label id="unsupportedLink" is="text-link" data-l10n-name="unsupported-link"/>
                </hbox>
                <hbox id="restarting" align="center">
                  <label data-l10n-id="update-restarting"/>
                </hbox>
123
              </stack>
124
125
126
127
              <!-- This HBOX is duplicated above without class="update" -->
              <hbox align="baseline">
                <label id="version" class="update"/>
                <label id="releasenotes" is="text-link" hidden="true" data-l10n-id="releaseNotes-link"/>
128
              </hbox>
129
130
              <description class="text-blurb">
                <label is="text-link" onclick="openHelpLink('firefox-help')" data-l10n-id="aboutdialog-help-user"/>
131
                <label id="submit-feedback" is="text-link" onclick="openFeedbackPage()" data-l10n-id="aboutdialog-submit-feedback"/>
132
133
              </description>
            </vbox>
134
#endif
135
          </hbox>
136

137
#ifdef MOZ_UPDATER
138
          <description class="text-blurb" id="currentChannelText" data-l10n-id="channel-description">
139
            <label id="currentChannel" data-l10n-name="current-channel"/>
140
          </description>
141
#endif
142
          <vbox id="experimental" hidden="true">
143
144
            <description class="text-blurb" id="warningDesc" data-l10n-id="warningDesc-version"></description>
            <description class="text-blurb" id="communityExperimentalDesc" data-l10n-id="community-exp">
145
146
              <label is="text-link" href="https://www.mozilla.org/?utm_source=firefox-browser&#38;utm_medium=firefox-desktop&#38;utm_campaign=about-dialog" data-l10n-name="community-exp-mozillaLink"/>
              <label is="text-link" useoriginprincipal="true" href="about:credits" data-l10n-name="community-exp-creditsLink"/>
147
148
            </description>
          </vbox>
149
150
151
152
153
154
155
156
          <!-- Keep communityDesc and contributeDesc to avoid JS errors trying to hide them -->
          <description class="text-blurb" id="communityDesc" data-l10n-id="community-2" hidden="true"></description>
          <description class="text-blurb" id="contributeDesc" data-l10n-id="helpus" hidden="true"></description>
          <description class="text-blurb" id="projectDesc">
            &project.start;
            <label is="text-link" href="https://www.torproject.org/">
              &project.tpoLink;
            </label>&project.end;
157
          </description>
158
159
160
161
162
163
164
165
166
          <description class="text-blurb" id="helpDesc">
            &help.start;
            <label is="text-link" href="https://donate.torproject.org/">
              &help.donateLink;
            </label>
            &help.or;
            <label is="text-link" href="https://community.torproject.org/">
              &help.getInvolvedLink;
            </label>&help.end;
167
168
          </description>
        </vbox>
169
170
171
      </vbox>
    </hbox>
    <vbox id="bottomBox">
172
173
174
175
      <hbox id="newBottom" pack="center" position="1">
        <label is="text-link" class="bottom-link" href="https://support.torproject.org/">&bottomLinks.questions;</label>
        <label is="text-link" class="bottom-link" href="https://community.torproject.org/relay/">&bottomLinks.grow;</label>
        <label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:license">&bottomLinks.license;</label>
176
      </hbox>
177
      <description id="trademark" data-l10n-id="trademarkInfo"></description>
178
      <description id="trademarkTor">&tor.TrademarkStatement;</description>
blakeross%telocity.com's avatar
blakeross%telocity.com committed
179
    </vbox>
180
  </vbox>
181

182
183
184
  <keyset>
    <key keycode="VK_ESCAPE" oncommand="window.close();"/>
  </keyset>
185

186
</window>