toolkit/mozapps/update/content/updates.xul

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:b238c3edd5de
1 <?xml version="1.0"?>
2
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/. -->
6
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://mozapps/content/update/updates.css"?>
9 <?xml-stylesheet href="chrome://mozapps/skin/update/updates.css"?>
10
11 <!DOCTYPE wizard [
12 <!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/update/updates.dtd">
13 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
14 %updateDTD;
15 %brandDTD;
16 ]>
17
18 <wizard id="updates"
19 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
20 title="&updateWizard.title;"
21 windowtype="Update:Wizard"
22 style="width: auto; height: auto"
23 onwizardfinish="gUpdates.onWizardFinish();"
24 onwizardcancel="gUpdates.onWizardCancel();"
25 onwizardnext="gUpdates.onWizardNext();"
26 onload="gUpdates.onLoad();"
27 onunload="gUpdates.onUnload();">
28
29 <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
30 <script type="application/javascript" src="chrome://mozapps/content/update/updates.js"/>
31
32 <stringbundleset id="updateSet">
33 <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
34 <stringbundle id="updateStrings" src="chrome://mozapps/locale/update/updates.properties"/>
35 </stringbundleset>
36
37 <wizardpage id="dummy" pageid="dummy" firstpage="true"/>
38
39 <wizardpage id="checking" pageid="checking" next="pluginupdatesfound"
40 object="gCheckingPage" onpageshow="gCheckingPage.onPageShow();">
41 <updateheader label="&checking.title;"/>
42 <vbox class="update-content" flex="1">
43 <label>&updateCheck.label;</label>
44 <separator class="thin"/>
45 <progressmeter id="checkingProgress" mode="undetermined"/>
46 </vbox>
47 </wizardpage>
48
49 <wizardpage id="pluginupdatesfound" pageid="pluginupdatesfound"
50 object="gPluginsPage" onpageshow="gPluginsPage.onPageShow();">
51 <updateheader label="&pluginupdatesfound.title;"/>
52 <vbox class="update-content" flex="1">
53 <label>&pluginupdatesfound.label;</label>
54 <separator class="thin"/>
55 <label id="pluginupdateslink" class="text-link"
56 onclick="openUpdateURL(event);">&pluginupdateslink.label;</label>
57 </vbox>
58 </wizardpage>
59
60 <wizardpage id="noupdatesfound" pageid="noupdatesfound"
61 object="gNoUpdatesPage" onpageshow="gNoUpdatesPage.onPageShow();">
62 <updateheader label="&noupdatesfound.title;"/>
63 <vbox class="update-content" flex="1">
64 <label id="noUpdatesAutoEnabled" hidden="true">&noupdatesautoenabled.intro;</label>
65 <label id="noUpdatesAutoDisabled" hidden="true">&noupdatesautodisabled.intro;</label>
66 </vbox>
67 </wizardpage>
68
69 <wizardpage id="manualUpdate" pageid="manualUpdate" object="gManualUpdatePage"
70 onpageshow="gManualUpdatePage.onPageShow();">
71 <updateheader label="&manualUpdate.title;"/>
72 <vbox class="update-content" flex="1">
73 <label id="manualUpdateDesc">&manualUpdate.desc;</label>
74 <label id="manualUpdateSpaceDesc"
75 hidden="true">&manualUpdate.space.desc;</label>
76 <separator class="thin"/>
77 <label>&manualUpdateGetMsg.label;</label>
78 <hbox>
79 <label class="text-link" id="manualUpdateLinkLabel" value=""
80 onclick="openUpdateURL(event);"/>
81 </hbox>
82 </vbox>
83 </wizardpage>
84
85 <wizardpage id="unsupported" pageid="unsupported"
86 object="gUnsupportedPage"
87 onpageshow="gUnsupportedPage.onPageShow();">
88 <updateheader label="&unsupported.title;"/>
89 <vbox class="update-content" flex="1">
90 <description flex="1">&unsupported.label;
91 <label id="unsupportedLinkLabel" class="text-link inline-link" onclick="openUpdateURL(event);">
92 &unsupportedLink.label;
93 </label>
94 </description>
95 </vbox>
96 </wizardpage>
97
98 <wizardpage id="incompatibleCheck" pageid="incompatibleCheck"
99 next="updatesfoundbasic" object="gIncompatibleCheckPage"
100 onpageshow="gIncompatibleCheckPage.onPageShow();">
101 <updateheader label="&incompatibleCheck.title;"/>
102 <vbox class="update-content" flex="1">
103 <label>&incompatibleCheck.label;</label>
104 <separator class="thin"/>
105 <progressmeter id="incompatibleCheckProgress" mode="undetermined"/>
106 </vbox>
107 </wizardpage>
108
109 <wizardpage id="updatesfoundbasic" pageid="updatesfoundbasic"
110 object="gUpdatesFoundBasicPage" next="downloading"
111 onpageshow="gUpdatesFoundBasicPage.onPageShow();"
112 onextra1="gUpdatesFoundBasicPage.onExtra1();"
113 onextra2="gUpdatesFoundBasicPage.onExtra2();">
114 <updateheader id="updatesFoundBasicHeader" label=""/>
115 <vbox class="update-content" flex="1">
116 <label id="updatesFoundInto"/>
117 <separator class="thin"/>
118 <label id="updateName" crop="right" value=""/>
119 <separator id="updateNameSep" class="thin"/>
120 <label id="upgradeEvangelism">&evangelism.desc;</label>
121 <separator id="upgradeEvangelismSep" flex="1"/>
122 <vbox flex="1">
123 <hbox id="moreInfoURL">
124 <label class="text-link" id="updateMoreInfoURL"
125 value="&clickHere.label;" onclick="openUpdateURL(event);"/>
126 </hbox>
127 </vbox>
128 </vbox>
129 </wizardpage>
130
131 <wizardpage id="updatesfoundbillboard" pageid="updatesfoundbillboard"
132 object="gUpdatesFoundBillboardPage" next="downloading"
133 onpageshow="gUpdatesFoundBillboardPage.onPageShow();"
134 onextra1="gUpdatesFoundBillboardPage.onExtra1();"
135 onextra2="gUpdatesFoundBillboardPage.onExtra2();">
136 <!-- note: the localized strings used by remotecontent are prefixed by the
137 id for the remotecontent (e.g. updateMoreInfoContentNotFound,
138 updateMoreInfoContentDownloading, etc.) -->
139 <remotecontent id="updateMoreInfoContent" flex="1" remotetype="billboard"/>
140 </wizardpage>
141
142 <wizardpage id="license" pageid="license" next="downloading"
143 object="gLicensePage" onpageshow="gLicensePage.onPageShow();"
144 onextra1="gLicensePage.onExtra1();">
145 <updateheader label="&license.titleText;"/>
146 <vbox class="update-content" flex="1">
147 <label>&license.instructionText;</label>
148 <!-- note: the localized strings used by remotecontent are prefixed by
149 the id for the remotecontent (e.g. licenseContentNotFound,
150 licenseContentDownloading, etc.) -->
151 <remotecontent id="licenseContent" flex="1" remotetype="license"/>
152 <separator class="thin"/>
153 <radiogroup id="acceptDeclineLicense" align="start"
154 onselect="gLicensePage.onAcceptDeclineRadio();">
155 <radio id="accept" label="&license.accept;"
156 accesskey="&license.accept.accesskey;"/>
157 <radio id="decline" label="&license.decline;"
158 accesskey="&license.decline.accesskey;"
159 selected="true"/>
160 </radiogroup>
161 </vbox>
162 </wizardpage>
163
164 <wizardpage id="incompatibleList" pageid="incompatibleList"
165 next="downloading" object="gIncompatibleListPage"
166 onpageshow="gIncompatibleListPage.onPageShow();"
167 onextra1="gIncompatibleListPage.onExtra1();">
168 <updateheader label="&incompatibleList.title;"/>
169 <vbox class="update-content" flex="1">
170 <label id="incompatibleListDesc"/>
171 <listbox id="incompatibleListbox" flex="1"/>
172 </vbox>
173 </wizardpage>
174
175 <wizardpage id="downloading" pageid="downloading"
176 object="gDownloadingPage" onextra1="gDownloadingPage.onHide();"
177 onpageshow="gDownloadingPage.onPageShow();">
178 <updateheader label="&downloadPage.title;"/>
179 <vbox class="update-content" flex="1">
180 <hbox id="downloadStatusProgress">
181 <progressmeter id="downloadProgress" mode="undetermined" flex="1"/>
182 <button id="pauseButton" oncommand="gDownloadingPage.onPause();"
183 paused="false"/>
184 </hbox>
185 <separator class="thin"/>
186 <hbox id="downloadStatusLine">
187 <label id="downloadStatus" flex="1">&connecting.label;</label>
188 </hbox>
189 <separator/>
190 <hbox id="verificationFailed" align="start" hidden="true">
191 <image id="verificationFailedIcon"/>
192 <label flex="1">&verificationFailedText.label;</label>
193 </hbox>
194 </vbox>
195 </wizardpage>
196
197 <wizardpage id="errors" pageid="errors" object="gErrorsPage"
198 onpageshow="gErrorsPage.onPageShow();">
199 <updateheader label="&error.title;"/>
200 <vbox class="update-content" flex="1">
201 <label id="errorIntro">&error.label;</label>
202 <separator/>
203 <textbox class="plain" readonly="true" id="errorReason" multiline="true"
204 rows="3"/>
205 <separator/>
206 <label id="errorManual">&errorManual.label;</label>
207 <hbox>
208 <label class="text-link" id="errorLinkLabel" value=""
209 onclick="openUpdateURL(event);"/>
210 </hbox>
211 </vbox>
212 </wizardpage>
213
214 <wizardpage id="errorextra" pageid="errorextra"
215 object="gErrorExtraPage"
216 onpageshow="gErrorExtraPage.onPageShow();">
217 <updateheader label="&error.title;"/>
218 <vbox class="update-content" flex="1">
219 <label id="errorCertAttrHasUpdateLabel"
220 hidden="true">&errorCertAttrHasUpdate.label;</label>
221 <label id="errorCertCheckNoUpdateLabel"
222 hidden="true">&errorCertAttrNoUpdate2.label;</label>
223 <label id="genericBackgroundErrorLabel"
224 hidden="true">&genericBackgroundError.label;</label>
225 <hbox>
226 <label id="errorExtraLinkLabel" class="text-link" hidden="true"
227 value="" onclick="openUpdateURL(event);"/>
228 </hbox>
229 </vbox>
230 </wizardpage>
231
232 <wizardpage id="errorpatching" pageid="errorpatching" next="downloading"
233 object="gErrorPatchingPage"
234 onpageshow="gErrorPatchingPage.onPageShow();">
235 <updateheader label="&error.title;"/>
236 <vbox class="update-content" flex="1">
237 <label>&errorpatching.intro;</label>
238 </vbox>
239 </wizardpage>
240
241 <wizardpage id="finished" pageid="finished" object="gFinishedPage"
242 onpageshow="gFinishedPage.onPageShow();"
243 onextra1="gFinishedPage.onExtra1()">
244 <updateheader label="&finishedPage.title;"/>
245 <vbox class="update-content" flex="1">
246 <label>&finishedPage.text;</label>
247 </vbox>
248 </wizardpage>
249
250 <wizardpage id="finishedBackground" pageid="finishedBackground"
251 object="gFinishedPage" onextra1="gFinishedPage.onExtra1()"
252 onpageshow="gFinishedPage.onPageShowBackground();">
253 <updateheader label="&finishedPage.title;"/>
254 <vbox class="update-content" flex="1">
255 <label>&finishedBackgroundPage.text;</label>
256 <separator/>
257 <hbox align="center">
258 <label>&finishedBackground.name;</label>
259 <label id="updateFinishedName" flex="1" crop="right" value=""/>
260 <label id="finishedBackgroundLink" class="text-link" disabled="true"
261 value="&details.link;" onclick="openUpdateURL(event);"/>
262 </hbox>
263 <spacer flex="1"/>
264 <label id="finishedBackgroundMore">&finishedBackground.more;</label>
265 </vbox>
266 </wizardpage>
267
268 <wizardpage id="installed" pageid="installed" object="gInstalledPage"
269 onpageshow="gInstalledPage.onPageShow();">
270 <updateheader label="&installed.title;"/>
271 <vbox class="update-content" flex="1">
272 <label>&installed.intro;</label>
273 <separator/>
274 <hbox>
275 <label id="whatsnewLink" class="text-link" hidden="true"
276 value="&whatsnew.label;" onclick="openUpdateURL(event);"/>
277 </hbox>
278 </vbox>
279 </wizardpage>
280
281 </wizard>

mercurial