gecko-dev/toolkit/mozapps/update/content/updates.xul

174 lines
6.9 KiB
Plaintext
Raw Normal View History

<?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>
#
# 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 *****
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://mozapps/content/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"
title="&updateWizard.title;"
label="" description=""
windowtype="Update:Wizard" style="width: 36em;"
onwizardfinish="gUpdates.onWizardFinish();"
onwizardcancel="gUpdates.onWizardCancel();"
onload="gUpdates.onLoad();">
<script type="application/x-javascript" src="chrome://mozapps/content/update/updates.js"/>
<stringbundleset id="updateSet">
<stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
<stringbundle id="updateStrings" src="chrome://mozapps/locale/update/updates.properties"/>
</stringbundleset>
<wizardpage id="dummy" pageid="dummy" firstpage="true"/>
<wizardpage id="checking" pageid="checking" next="updatesfound"
label="&checking.title;" object="gCheckingPage"
onpageshow="gCheckingPage.onPageShow();">
<label>&checking.label;</label>
<separator/>
<progressmeter id="checkingProgress" mode="undetermined"/>
</wizardpage>
<wizardpage id="noupdatesfound" pageid="noupdatesfound"
label="&noupdatesfound.title;" object="gNoUpdatesPage"
2005-06-17 01:18:48 +00:00
onpageshow="gNoUpdatesPage.onPageShow();">
<label>&noupdatesfound.intro;</label>
</wizardpage>
<wizardpage id="updatesfound" pageid="updatesfound" next="downloading"
object="gUpdatesAvailablePage" flex="1"
onpageshow="gUpdatesAvailablePage.onPageShow();">
<vbox id="update-info" flex="1">
<vbox id="update-info-inner" flex="1">
<hbox align="start">
<vbox flex="1">
<description id="updateType">
&updateAvailable.placeholder;
</description>
<label id="updateName" crop="right"/>
<description class="updateForMoreInfo">&forMoreInfo.label;
<link id="updateMoreInfoURL">&clickHere.label;</link>.
</description>
</vbox>
<image id="updateImage" src="chrome://branding/content/icon64.png"/>
</hbox>
<separator flex="1"/>
<hbox align="start" id="incompatibleWarning" hidden="true">
<image id="alertImage"/>
<vbox flex="1">
<description>&incompatible.warning;</description>
<hbox pack="end">
<button label="&listIncompatible.label;" accesskey="&listIncompatible.accesskey;"
oncommand="gUpdatesAvailablePage.showIncompatibleItems();"/>
</hbox>
</vbox>
</hbox>
<separator flex="1"/>
<description class="bold">&upgrade.evangelism;</description>
<separator/>
<hbox>
<button label="&later.label;" accesskey="&later.accesskey;"
oncommand="close();"/>
<separator flex="1"/>
<button id="download-button"
label="&download.label;" accesskey="&download.accesskey;"
oncommand="gUpdatesAvailablePage.onInstallNow();"/>
</hbox>
</vbox>
</vbox>
</wizardpage>
<wizardpage id="license" pageid="license" next="downloading"
object="gLicensePage" label="&license.title;"
onpageshow="gLicensePage.onPageShow();">
<label>&license.intro;</label>
<separator class="thin"/>
<license id="licenseContent" flex="1"/>
<separator class="thin"/>
<label>&license.instructions;</label>
</wizardpage>
<wizardpage id="downloading" pageid="downloading" next="finished"
object="gDownloadingPage" label="&downloading.title;"
onpageshow="gDownloadingPage.onPageShow();">
<hbox pack="start">
<label id="downloadName" crop="right" flex="1">&downloading.intro;</label>
<link id="detailsLink">
<label>&details.link;</label>
</link>
</hbox>
<progressmeter id="downloadProgress" mode="undetermined"/>
<hbox align="start">
<image id="downloadThrobber"/>
<description id="downloadStatus" flex="1">&connecting.label;</description>
<button id="pauseButton" oncommand="gDownloadingPage.onPause();"
label="&pause.label;" accesskey="&pause.accesskey;"/>
</hbox>
</wizardpage>
<wizardpage id="errors" pageid="errors" object="gErrorsPage"
onpageshow="gErrorsPage.onPageShow();">
<label id="errorIntro">&error.label;</label>
<separator/>
<textbox class="plain" readonly="true" id="errorReason"/>
<separator/>
<label id="errorManual">&errorManual.label;</label>
<hbox>
<link id="errorLink">
<label id="errorLinkLabel"/>
</link>
</hbox>
</wizardpage>
2005-06-19 23:43:26 +00:00
<wizardpage id="finished" pageid="finished" align="start"
label="&finished.title;" object="gFinishedPage"
2005-06-19 23:43:26 +00:00
onpageshow="gFinishedPage.onPageShow();">
<label>&finished.intro;</label>
</wizardpage>
</wizard>