3 # -*- Mode: Java; tab-width:
4; indent-tabs-mode: nil; c-basic-offset:
4 -*-
4 # ***** BEGIN LICENSE BLOCK *****
5 # Version: MPL
1.1/GPL
2.0/LGPL
2.1
7 # The contents of this file are subject to the Mozilla Public License Version
8 #
1.1 (the
"License"); you may not use this file except in compliance with
9 # the License. You may obtain a copy of the License at
10 # http://www.mozilla.org/MPL/
12 # Software distributed under the License is distributed on an
"AS IS" basis,
13 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14 # for the specific language governing rights and limitations under the
17 # The Original Code is The Extension Update Service.
19 # The Initial Developer of the Original Code is Ben Goodger.
20 # Portions created by the Initial Developer are Copyright (C)
2004
21 # the Initial Developer. All Rights Reserved.
24 # Ben Goodger
<ben@mozilla.org
>
25 # Robert Strong
<robert.bugzilla@gmail.com
>
27 # Alternatively, the contents of this file may be used under the terms of
28 # either the GNU General Public License Version
2 or later (the
"GPL"), or
29 # the GNU Lesser General Public License Version
2.1 or later (the
"LGPL"),
30 # in which case the provisions of the GPL or the LGPL are applicable instead
31 # of those above. If you wish to allow use of your version of this file only
32 # under the terms of either the GPL or the LGPL, and not to allow others to
33 # use your version of this file under the terms of the MPL, indicate your
34 # decision by deleting the provisions above and replace them with the notice
35 # and other provisions required by the GPL or the LGPL. If you do not delete
36 # the provisions above, a recipient may use your version of this file under
37 # the terms of any one of the MPL, the GPL or the LGPL.
39 # ***** END LICENSE BLOCK *****
41 <?xml-stylesheet href=
"chrome://global/skin/" type=
"text/css"?>
42 <?xml-stylesheet href=
"chrome://mozapps/skin/extensions/update.css" type=
"text/css"?>
45 <!ENTITY % updateDTD SYSTEM
"chrome://mozapps/locale/extensions/update.dtd">
46 <!ENTITY % brandDTD SYSTEM
"chrome://branding/locale/brand.dtd">
51 <wizard id=
"updateWizard"
52 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
53 title=
"&updateWizard.title;"
54 windowtype=
"Update:Wizard"
56 onload=
"gUpdateWizard.init();"
57 onwizardfinish=
"gUpdateWizard.onWizardFinish();"
58 onclose=
"return gUpdateWizard.onWizardClose(event);"
59 buttons=
"accept,cancel">
61 <script type=
"application/javascript" src=
"chrome://mozapps/content/extensions/update.js"/>
63 <stringbundleset id=
"updateSet">
64 <stringbundle id=
"brandStrings" src=
"chrome://branding/locale/brand.properties"/>
65 <stringbundle id=
"updateStrings" src=
"chrome://mozapps/locale/extensions/update.properties"/>
68 <wizardpage id=
"dummy" pageid=
"dummy"/>
70 <wizardpage id=
"offline" pageid=
"offline" next=
"versioninfo"
71 label=
"&offline.title;"
72 onpageadvanced=
"return gOfflinePage.onPageAdvanced();">
73 <description>&offline.description;
</description>
74 <checkbox id=
"toggleOffline"
76 label=
"&offline.toggleOffline.label;"
77 accesskey=
"&offline.toggleOffline.accesskey;"
78 oncommand=
"gOfflinePage.toggleOffline();"/>
81 <wizardpage id=
"versioninfo" pageid=
"versioninfo" next=
"mismatch"
82 label=
"&versioninfo.wizard.title;"
83 onpageshow=
"gVersionInfoPage.onPageShow();">
84 <label>&versioninfo.top.label;
</label>
85 <separator class=
"thin"/>
86 <progressmeter id=
"versioninfo.progress" mode=
"undetermined"/>
88 <image id=
"versioninfo.throbber" class=
"throbber"/>
89 <label flex=
"1" id=
"versioninfo.status" crop=
"right">&versioninfo.waiting;
</label>
94 <wizardpage id=
"mismatch" pageid=
"mismatch" next=
"checking"
95 label=
"&mismatch.win.title;"
96 onpageshow=
"gMismatchPage.onPageShow();">
97 <label>&mismatch.top.label;
</label>
98 <separator class=
"thin"/>
99 <listbox id=
"mismatch.incompatible" flex=
"1"/>
100 <separator class=
"thin"/>
101 <label>&mismatch.bottom.label;
</label>
104 <wizardpage id=
"checking" pageid=
"checking" next=
"noupdates"
105 label=
"&checking.wizard.title;"
106 onpageshow=
"gUpdatePage.onPageShow();">
107 <label>&checking.top.label;
</label>
108 <separator class=
"thin"/>
109 <progressmeter id=
"checking.progress"/>
110 <hbox align=
"center">
111 <image id=
"checking.throbber" class=
"throbber"/>
112 <label id=
"checking.status" flex=
"1" crop=
"right">&checking.status;
</label>
116 <wizardpage id=
"noupdates" pageid=
"noupdates"
117 label=
"&noupdates.wizard.title;"
118 onpageshow=
"gNoUpdatesPage.onPageShow();">
119 <description>&noupdates.intro.desc;
</description>
120 <separator class=
"thin"/>
121 <hbox id=
"updateCheckErrorNotFound" class=
"alertBox" hidden=
"true" align=
"top">
123 <description flex=
"1">&noupdates.error.desc;
</description>
124 <button label=
"&details.label;" accesskey=
"&details.accesskey;"
125 oncommand=
"gUpdateWizard.showUpdateCheckErrors();"/>
127 <separator class=
"thin"/>
128 <description id=
"noupdatesCheckEnabled" hidden=
"true">
129 &noupdates.checkEnabled.desc;
131 <vbox id=
"noupdatesCheckDisabled" hidden=
"true">
132 <description>&finished.checkDisabled.desc;
</description>
133 <checkbox label=
"&enableChecking.label;" checked=
"true"
134 oncommand=
"gUpdateWizard.shouldAutoCheck = this.checked;"/>
136 <separator flex=
"1"/>
138 <label>&clickFinish.label;
</label>
140 <label>&clickFinish.labelMac;
</label>
142 <separator class=
"thin"/>
145 <wizardpage id=
"found" pageid=
"found" next=
"installing"
146 label=
"&found.wizard.title;"
147 onpageshow=
"gFoundPage.onPageShow();">
148 <label>&found.top.label;
</label>
149 <separator class=
"thin"/>
150 <listbox id=
"found.updates" flex=
"1" seltype=
"multiple"
151 onclick=
"gFoundPage.updateNextButton();"/>
152 <separator class=
"thin"/>
153 <vbox align=
"left" id=
"xpinstallDisabledAlert" hidden=
"true">
154 <description>&found.disabledXPinstall.label;
</description>
155 <checkbox label=
"&found.enableXPInstall.label;"
157 accesskey=
"&found.enableXPInstall.accesskey;"
158 oncommand=
"gFoundPage.toggleXPInstallEnable(event);"/>
162 <wizardpage id=
"installing" pageid=
"installing" next=
"finished"
163 label=
"&installing.wizard.title;"
164 onpageshow=
"gInstallingPage.onPageShow();">
165 <label>&installing.top.label;
</label>
166 <progressmeter id=
"downloadProgress"/>
167 <hbox align=
"center">
168 <image id=
"installing.throbber" class=
"throbber"/>
169 <label id=
"actionItem" flex=
"1" crop=
"right"/>
174 <wizardpage id=
"installerrors" pageid=
"installerrors"
175 label=
"&installerrors.wizard.title;"
176 onpageshow=
"gInstallErrorsPage.onPageShow();">
177 <hbox align=
"top" class=
"alertBox">
178 <description flex=
"1">&installerrors.intro.label;
</description>
179 <button label=
"&details.label;" accesskey=
"&details.accesskey;"
180 oncommand=
"gInstallErrorsPage.onShowErrors();"/>
182 <separator flex=
"1"/>
184 <label>&clickFinish.label;
</label>
186 <label>&clickFinish.labelMac;
</label>
188 <separator class=
"thin"/>
191 <wizardpage id=
"adminDisabled" pageid=
"adminDisabled"
192 label=
"&adminDisabled.wizard.title;"
193 onpageshow=
"gAdminDisabledPage.onPageShow();">
195 <hbox class=
"alertBox" align=
"top">
197 <description flex=
"1">&adminDisabled.warning.label;
</description>
199 <separator flex=
"1"/>
201 <label>&clickFinish.label;
</label>
203 <label>&clickFinish.labelMac;
</label>
205 <separator class=
"thin"/>
208 <wizardpage id=
"finished" pageid=
"finished"
209 label=
"&finished.wizard.title;"
210 onpageshow=
"gFinishedPage.onPageShow();">
212 <label>&finished.top.label;
</label>
214 <description id=
"finishedCheckEnabled" hidden=
"true">
215 &finished.checkEnabled.desc;
217 <vbox id=
"finishedCheckDisabled" hidden=
"true">
218 <description>&finished.checkDisabled.desc;
</description>
219 <checkbox label=
"&enableChecking.label;" checked=
"true"
220 oncommand=
"gUpdateWizard.shouldAutoCheck = this.checked;"/>
222 <separator flex=
"1"/>
224 <label>&clickFinish.label;
</label>
226 <label>&clickFinish.labelMac;
</label>
228 <separator class=
"thin"/>