2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Original Code is The Update Wizard/Manager.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Google Inc.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2005
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Ben Goodger <ben@mozilla.org>
|
2010-08-12 19:07:44 -07:00
|
|
|
# Robert Strong <robert.bugzilla@gmail.com>
|
2007-03-22 10:30:00 -07:00
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
2010-12-15 14:37:24 -08:00
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
2007-03-22 10:30:00 -07:00
|
|
|
<?xml-stylesheet href="chrome://mozapps/content/update/updates.css"?>
|
|
|
|
<?xml-stylesheet href="chrome://mozapps/skin/update/updates.css"?>
|
|
|
|
|
|
|
|
<!DOCTYPE wizard [
|
|
|
|
<!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/update/updates.dtd">
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
|
|
|
%updateDTD;
|
|
|
|
%brandDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<wizard id="updates"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2010-12-15 14:37:24 -08:00
|
|
|
title="&updateWizard.title;"
|
2010-03-11 20:37:45 -08:00
|
|
|
windowtype="Update:Wizard"
|
|
|
|
style="width: auto; height: auto"
|
2007-03-22 10:30:00 -07:00
|
|
|
onwizardfinish="gUpdates.onWizardFinish();"
|
|
|
|
onwizardcancel="gUpdates.onWizardCancel();"
|
2008-11-04 21:50:52 -08:00
|
|
|
onwizardnext="gUpdates.onWizardNext();"
|
2010-01-31 15:15:48 -08:00
|
|
|
onload="gUpdates.onLoad();"
|
|
|
|
onunload="gUpdates.onUnload();">
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-11-04 21:50:52 -08:00
|
|
|
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
|
2007-05-23 11:08:10 -07:00
|
|
|
<script type="application/javascript" src="chrome://mozapps/content/update/updates.js"/>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<stringbundleset id="updateSet">
|
|
|
|
<stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
|
|
|
|
<stringbundle id="updateStrings" src="chrome://mozapps/locale/update/updates.properties"/>
|
|
|
|
</stringbundleset>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<wizardpage id="dummy" pageid="dummy" firstpage="true"/>
|
|
|
|
|
2009-10-02 04:26:04 -07:00
|
|
|
<wizardpage id="checking" pageid="checking" next="pluginupdatesfound"
|
2010-03-11 20:37:45 -08:00
|
|
|
object="gCheckingPage" onpageshow="gCheckingPage.onPageShow();">
|
|
|
|
<updateheader label="&checking.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label>&updateCheck.label;</label>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<progressmeter id="checkingProgress" mode="undetermined"/>
|
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2009-10-02 04:26:04 -07:00
|
|
|
|
|
|
|
<wizardpage id="pluginupdatesfound" pageid="pluginupdatesfound"
|
|
|
|
object="gPluginsPage" onpageshow="gPluginsPage.onPageShow();">
|
2010-03-11 20:37:45 -08:00
|
|
|
<updateheader label="&pluginupdatesfound.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label>&pluginupdatesfound.label;</label>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<label id="pluginupdateslink" class="text-link"
|
|
|
|
onclick="openUpdateURL(event);">&pluginupdateslink.label;</label>
|
|
|
|
</vbox>
|
2009-10-02 04:26:04 -07:00
|
|
|
</wizardpage>
|
|
|
|
|
2008-11-04 21:50:52 -08:00
|
|
|
<wizardpage id="noupdatesfound" pageid="noupdatesfound"
|
2010-03-11 20:37:45 -08:00
|
|
|
object="gNoUpdatesPage" onpageshow="gNoUpdatesPage.onPageShow();">
|
|
|
|
<updateheader label="&noupdatesfound.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label id="noUpdatesAutoEnabled" hidden="true">&noupdatesautoenabled.intro;</label>
|
|
|
|
<label id="noUpdatesAutoDisabled" hidden="true">&noupdatesautodisabled.intro;</label>
|
|
|
|
</vbox>
|
2008-08-12 23:38:46 -07:00
|
|
|
</wizardpage>
|
2009-10-02 04:26:04 -07:00
|
|
|
|
2010-03-11 20:37:45 -08:00
|
|
|
<wizardpage id="manualUpdate" pageid="manualUpdate" object="gManualUpdatePage"
|
2009-11-18 21:50:05 -08:00
|
|
|
onpageshow="gManualUpdatePage.onPageShow();">
|
2010-03-11 20:37:45 -08:00
|
|
|
<updateheader label="&manualUpdate.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
2010-10-06 13:22:20 -07:00
|
|
|
<label id="manualUpdateDesc">&manualUpdate.desc;</label>
|
|
|
|
<label id="manualUpdateSpaceDesc"
|
|
|
|
hidden="true">&manualUpdate.space.desc;</label>
|
2010-03-11 20:37:45 -08:00
|
|
|
<separator class="thin"/>
|
|
|
|
<label>&manualUpdateGetMsg.label;</label>
|
|
|
|
<hbox>
|
|
|
|
<label class="text-link" id="manualUpdateLinkLabel" value=""
|
|
|
|
onclick="openUpdateURL(event);"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2009-11-18 21:50:05 -08:00
|
|
|
</wizardpage>
|
|
|
|
|
2010-03-03 10:56:59 -08:00
|
|
|
<wizardpage id="incompatibleCheck" pageid="incompatibleCheck"
|
2010-03-11 20:37:45 -08:00
|
|
|
next="updatesfoundbasic" object="gIncompatibleCheckPage"
|
2010-03-03 10:56:59 -08:00
|
|
|
onpageshow="gIncompatibleCheckPage.onPageShow();">
|
2010-03-11 20:37:45 -08:00
|
|
|
<updateheader label="&incompatibleCheck.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label>&incompatibleCheck.label;</label>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<progressmeter id="incompatibleCheckProgress" mode="undetermined"/>
|
|
|
|
</vbox>
|
2010-03-03 10:56:59 -08:00
|
|
|
</wizardpage>
|
|
|
|
|
|
|
|
<wizardpage id="updatesfoundbasic" pageid="updatesfoundbasic"
|
2010-03-11 20:37:45 -08:00
|
|
|
object="gUpdatesFoundBasicPage" next="downloading"
|
2010-03-03 10:56:59 -08:00
|
|
|
onpageshow="gUpdatesFoundBasicPage.onPageShow();"
|
|
|
|
onextra1="gUpdatesFoundBasicPage.onExtra1();"
|
|
|
|
onextra2="gUpdatesFoundBasicPage.onExtra2();">
|
2010-03-11 20:37:45 -08:00
|
|
|
<updateheader id="updatesFoundBasicHeader" label=""/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label id="updatesFoundInto"/>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<label id="updateName" crop="right" value=""/>
|
|
|
|
<separator id="updateNameSep" class="thin"/>
|
|
|
|
<label id="upgradeEvangelism">&evangelism.desc;</label>
|
|
|
|
<separator id="upgradeEvangelismSep" flex="1"/>
|
|
|
|
<vbox flex="1">
|
|
|
|
<hbox id="moreInfoURL">
|
2010-12-15 14:37:24 -08:00
|
|
|
<label class="text-link" id="updateMoreInfoURL"
|
|
|
|
value="&clickHere.label;" onclick="openUpdateURL(event);"/>
|
2010-03-11 20:37:45 -08:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2008-11-04 21:50:52 -08:00
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2010-03-03 10:56:59 -08:00
|
|
|
|
|
|
|
<wizardpage id="updatesfoundbillboard" pageid="updatesfoundbillboard"
|
2010-03-11 20:37:45 -08:00
|
|
|
object="gUpdatesFoundBillboardPage" next="downloading"
|
2010-03-03 10:56:59 -08:00
|
|
|
onpageshow="gUpdatesFoundBillboardPage.onPageShow();"
|
|
|
|
onextra1="gUpdatesFoundBillboardPage.onExtra1();"
|
|
|
|
onextra2="gUpdatesFoundBillboardPage.onExtra2();">
|
2010-03-11 20:37:45 -08:00
|
|
|
<!-- note: the localized strings used by remotecontent are prefixed by the
|
|
|
|
id for the remotecontent (e.g. updateMoreInfoContentNotFound,
|
|
|
|
updateMoreInfoContentDownloading, etc.) -->
|
2010-03-17 16:12:12 -07:00
|
|
|
<remotecontent id="updateMoreInfoContent" flex="1" remotetype="billboard"/>
|
2010-03-03 10:56:59 -08:00
|
|
|
</wizardpage>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2010-03-03 10:56:59 -08:00
|
|
|
<wizardpage id="license" pageid="license" next="downloading"
|
2010-03-11 20:37:45 -08:00
|
|
|
object="gLicensePage" onpageshow="gLicensePage.onPageShow();"
|
2008-11-04 21:50:52 -08:00
|
|
|
onextra1="gLicensePage.onExtra1();">
|
2010-03-11 20:37:45 -08:00
|
|
|
<updateheader label="&license.titleText;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label>&license.instructionText;</label>
|
|
|
|
<!-- note: the localized strings used by remotecontent are prefixed by
|
|
|
|
the id for the remotecontent (e.g. licenseContentNotFound,
|
|
|
|
licenseContentDownloading, etc.) -->
|
2010-03-17 16:12:12 -07:00
|
|
|
<remotecontent id="licenseContent" flex="1" remotetype="license"/>
|
2010-03-11 20:37:45 -08:00
|
|
|
<separator class="thin"/>
|
|
|
|
<radiogroup id="acceptDeclineLicense" align="start"
|
|
|
|
onselect="gLicensePage.onAcceptDeclineRadio();">
|
2010-12-15 14:37:24 -08:00
|
|
|
<radio id="accept" label="&license.accept;"
|
2010-03-11 20:37:45 -08:00
|
|
|
accesskey="&license.accept.accesskey;"/>
|
2010-12-15 14:37:24 -08:00
|
|
|
<radio id="decline" label="&license.decline;"
|
2010-03-11 20:37:45 -08:00
|
|
|
accesskey="&license.decline.accesskey;"
|
|
|
|
selected="true"/>
|
|
|
|
</radiogroup>
|
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2008-11-04 21:50:52 -08:00
|
|
|
|
|
|
|
<wizardpage id="incompatibleList" pageid="incompatibleList"
|
2010-03-11 20:37:45 -08:00
|
|
|
next="downloading" object="gIncompatibleListPage"
|
2008-11-04 21:50:52 -08:00
|
|
|
onpageshow="gIncompatibleListPage.onPageShow();"
|
|
|
|
onextra1="gIncompatibleListPage.onExtra1();">
|
2010-03-11 20:37:45 -08:00
|
|
|
<updateheader label="&incompatibleList.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label id="incompatibleListDesc"/>
|
|
|
|
<listbox id="incompatibleListbox" flex="1"/>
|
|
|
|
</vbox>
|
2008-11-04 21:50:52 -08:00
|
|
|
</wizardpage>
|
|
|
|
|
2010-03-25 21:37:06 -07:00
|
|
|
<wizardpage id="downloading" pageid="downloading"
|
2010-03-11 20:37:45 -08:00
|
|
|
object="gDownloadingPage" onextra1="gDownloadingPage.onHide();"
|
|
|
|
onpageshow="gDownloadingPage.onPageShow();">
|
2010-03-11 20:38:31 -08:00
|
|
|
<updateheader label="&downloadPage.title;"/>
|
2010-03-11 20:37:45 -08:00
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<hbox id="downloadStatusProgress">
|
|
|
|
<progressmeter id="downloadProgress" mode="undetermined" flex="1"/>
|
|
|
|
<button id="pauseButton" oncommand="gDownloadingPage.onPause();"
|
|
|
|
paused="false"/>
|
|
|
|
</hbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox id="downloadStatusLine">
|
|
|
|
<label id="downloadStatus" flex="1">&connecting.label;</label>
|
|
|
|
</hbox>
|
|
|
|
<separator/>
|
|
|
|
<hbox id="verificationFailed" align="start" hidden="true">
|
|
|
|
<image id="verificationFailedIcon"/>
|
|
|
|
<label flex="1">&verificationFailedText.label;</label>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<wizardpage id="errors" pageid="errors" object="gErrorsPage"
|
|
|
|
onpageshow="gErrorsPage.onPageShow();">
|
2010-08-27 17:35:01 -07:00
|
|
|
<updateheader label="&error.title;"/>
|
2010-03-11 20:37:45 -08:00
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label id="errorIntro">&error.label;</label>
|
|
|
|
<separator/>
|
|
|
|
<textbox class="plain" readonly="true" id="errorReason" multiline="true"
|
|
|
|
rows="3"/>
|
|
|
|
<separator/>
|
|
|
|
<label id="errorManual">&errorManual.label;</label>
|
|
|
|
<hbox>
|
|
|
|
<label class="text-link" id="errorLinkLabel" value=""
|
|
|
|
onclick="openUpdateURL(event);"/>
|
2010-09-01 16:27:07 -07:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</wizardpage>
|
|
|
|
|
2010-09-13 23:57:39 -07:00
|
|
|
<wizardpage id="errorextra" pageid="errorextra"
|
|
|
|
object="gErrorExtraPage"
|
|
|
|
onpageshow="gErrorExtraPage.onPageShow();">
|
2010-09-01 16:27:07 -07:00
|
|
|
<updateheader label="&error.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label id="errorCertAttrHasUpdateLabel"
|
|
|
|
hidden="true">&errorCertAttrHasUpdate.label;</label>
|
|
|
|
<label id="errorCertCheckNoUpdateLabel"
|
2010-09-13 23:57:39 -07:00
|
|
|
hidden="true">&errorCertAttrNoUpdate2.label;</label>
|
|
|
|
<label id="genericBackgroundErrorLabel"
|
|
|
|
hidden="true">&genericBackgroundError.label;</label>
|
2010-09-01 16:27:07 -07:00
|
|
|
<hbox>
|
2010-09-14 18:49:10 -07:00
|
|
|
<label id="errorExtraLinkLabel" class="text-link" hidden="true"
|
2010-09-01 16:27:07 -07:00
|
|
|
value="" onclick="openUpdateURL(event);"/>
|
2010-03-11 20:37:45 -08:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<wizardpage id="errorpatching" pageid="errorpatching" next="downloading"
|
2010-03-11 20:37:45 -08:00
|
|
|
object="gErrorPatchingPage"
|
2010-03-03 10:56:59 -08:00
|
|
|
onpageshow="gErrorPatchingPage.onPageShow();">
|
2010-08-27 17:35:01 -07:00
|
|
|
<updateheader label="&error.title;"/>
|
2010-03-11 20:37:45 -08:00
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label>&errorpatching.intro;</label>
|
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2010-03-11 20:37:45 -08:00
|
|
|
<wizardpage id="finished" pageid="finished" object="gFinishedPage"
|
2008-11-04 21:50:52 -08:00
|
|
|
onpageshow="gFinishedPage.onPageShow();"
|
|
|
|
onextra1="gFinishedPage.onExtra1()">
|
2010-03-11 20:37:45 -08:00
|
|
|
<updateheader label="&finishedPage.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label>&finishedPage.text;</label>
|
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<wizardpage id="finishedBackground" pageid="finishedBackground"
|
2010-03-11 20:37:45 -08:00
|
|
|
object="gFinishedPage" onextra1="gFinishedPage.onExtra1()"
|
|
|
|
onpageshow="gFinishedPage.onPageShowBackground();">
|
|
|
|
<updateheader label="&finishedPage.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label>&finishedBackgroundPage.text;</label>
|
|
|
|
<separator/>
|
|
|
|
<hbox align="center">
|
|
|
|
<label>&finishedBackground.name;</label>
|
|
|
|
<label id="updateFinishedName" flex="1" crop="right" value=""/>
|
|
|
|
<label id="finishedBackgroundLink" class="text-link" disabled="true"
|
|
|
|
value="&details.link;" onclick="openUpdateURL(event);"/>
|
|
|
|
</hbox>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<label id="finishedBackgroundMore">&finishedBackground.more;</label>
|
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2010-03-11 20:37:45 -08:00
|
|
|
<wizardpage id="installed" pageid="installed" object="gInstalledPage"
|
2007-03-22 10:30:00 -07:00
|
|
|
onpageshow="gInstalledPage.onPageShow();">
|
2010-03-11 20:37:45 -08:00
|
|
|
<updateheader label="&installed.title;"/>
|
|
|
|
<vbox class="update-content" flex="1">
|
|
|
|
<label>&installed.intro;</label>
|
|
|
|
<separator/>
|
|
|
|
<hbox>
|
|
|
|
<label id="whatsnewLink" class="text-link" hidden="true"
|
|
|
|
value="&whatsnew.label;" onclick="openUpdateURL(event);"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizardpage>
|
2010-12-15 14:37:24 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
</wizard>
|