1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/update/content/updates.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,281 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.7 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.9 + 1.10 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.11 +<?xml-stylesheet href="chrome://mozapps/content/update/updates.css"?> 1.12 +<?xml-stylesheet href="chrome://mozapps/skin/update/updates.css"?> 1.13 + 1.14 +<!DOCTYPE wizard [ 1.15 +<!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/update/updates.dtd"> 1.16 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> 1.17 +%updateDTD; 1.18 +%brandDTD; 1.19 +]> 1.20 + 1.21 +<wizard id="updates" 1.22 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.23 + title="&updateWizard.title;" 1.24 + windowtype="Update:Wizard" 1.25 + style="width: auto; height: auto" 1.26 + onwizardfinish="gUpdates.onWizardFinish();" 1.27 + onwizardcancel="gUpdates.onWizardCancel();" 1.28 + onwizardnext="gUpdates.onWizardNext();" 1.29 + onload="gUpdates.onLoad();" 1.30 + onunload="gUpdates.onUnload();"> 1.31 + 1.32 + <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/> 1.33 + <script type="application/javascript" src="chrome://mozapps/content/update/updates.js"/> 1.34 + 1.35 + <stringbundleset id="updateSet"> 1.36 + <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/> 1.37 + <stringbundle id="updateStrings" src="chrome://mozapps/locale/update/updates.properties"/> 1.38 + </stringbundleset> 1.39 + 1.40 + <wizardpage id="dummy" pageid="dummy" firstpage="true"/> 1.41 + 1.42 + <wizardpage id="checking" pageid="checking" next="pluginupdatesfound" 1.43 + object="gCheckingPage" onpageshow="gCheckingPage.onPageShow();"> 1.44 + <updateheader label="&checking.title;"/> 1.45 + <vbox class="update-content" flex="1"> 1.46 + <label>&updateCheck.label;</label> 1.47 + <separator class="thin"/> 1.48 + <progressmeter id="checkingProgress" mode="undetermined"/> 1.49 + </vbox> 1.50 + </wizardpage> 1.51 + 1.52 + <wizardpage id="pluginupdatesfound" pageid="pluginupdatesfound" 1.53 + object="gPluginsPage" onpageshow="gPluginsPage.onPageShow();"> 1.54 + <updateheader label="&pluginupdatesfound.title;"/> 1.55 + <vbox class="update-content" flex="1"> 1.56 + <label>&pluginupdatesfound.label;</label> 1.57 + <separator class="thin"/> 1.58 + <label id="pluginupdateslink" class="text-link" 1.59 + onclick="openUpdateURL(event);">&pluginupdateslink.label;</label> 1.60 + </vbox> 1.61 + </wizardpage> 1.62 + 1.63 + <wizardpage id="noupdatesfound" pageid="noupdatesfound" 1.64 + object="gNoUpdatesPage" onpageshow="gNoUpdatesPage.onPageShow();"> 1.65 + <updateheader label="&noupdatesfound.title;"/> 1.66 + <vbox class="update-content" flex="1"> 1.67 + <label id="noUpdatesAutoEnabled" hidden="true">&noupdatesautoenabled.intro;</label> 1.68 + <label id="noUpdatesAutoDisabled" hidden="true">&noupdatesautodisabled.intro;</label> 1.69 + </vbox> 1.70 + </wizardpage> 1.71 + 1.72 + <wizardpage id="manualUpdate" pageid="manualUpdate" object="gManualUpdatePage" 1.73 + onpageshow="gManualUpdatePage.onPageShow();"> 1.74 + <updateheader label="&manualUpdate.title;"/> 1.75 + <vbox class="update-content" flex="1"> 1.76 + <label id="manualUpdateDesc">&manualUpdate.desc;</label> 1.77 + <label id="manualUpdateSpaceDesc" 1.78 + hidden="true">&manualUpdate.space.desc;</label> 1.79 + <separator class="thin"/> 1.80 + <label>&manualUpdateGetMsg.label;</label> 1.81 + <hbox> 1.82 + <label class="text-link" id="manualUpdateLinkLabel" value="" 1.83 + onclick="openUpdateURL(event);"/> 1.84 + </hbox> 1.85 + </vbox> 1.86 + </wizardpage> 1.87 + 1.88 + <wizardpage id="unsupported" pageid="unsupported" 1.89 + object="gUnsupportedPage" 1.90 + onpageshow="gUnsupportedPage.onPageShow();"> 1.91 + <updateheader label="&unsupported.title;"/> 1.92 + <vbox class="update-content" flex="1"> 1.93 + <description flex="1">&unsupported.label; 1.94 + <label id="unsupportedLinkLabel" class="text-link inline-link" onclick="openUpdateURL(event);"> 1.95 + &unsupportedLink.label; 1.96 + </label> 1.97 + </description> 1.98 + </vbox> 1.99 + </wizardpage> 1.100 + 1.101 + <wizardpage id="incompatibleCheck" pageid="incompatibleCheck" 1.102 + next="updatesfoundbasic" object="gIncompatibleCheckPage" 1.103 + onpageshow="gIncompatibleCheckPage.onPageShow();"> 1.104 + <updateheader label="&incompatibleCheck.title;"/> 1.105 + <vbox class="update-content" flex="1"> 1.106 + <label>&incompatibleCheck.label;</label> 1.107 + <separator class="thin"/> 1.108 + <progressmeter id="incompatibleCheckProgress" mode="undetermined"/> 1.109 + </vbox> 1.110 + </wizardpage> 1.111 + 1.112 + <wizardpage id="updatesfoundbasic" pageid="updatesfoundbasic" 1.113 + object="gUpdatesFoundBasicPage" next="downloading" 1.114 + onpageshow="gUpdatesFoundBasicPage.onPageShow();" 1.115 + onextra1="gUpdatesFoundBasicPage.onExtra1();" 1.116 + onextra2="gUpdatesFoundBasicPage.onExtra2();"> 1.117 + <updateheader id="updatesFoundBasicHeader" label=""/> 1.118 + <vbox class="update-content" flex="1"> 1.119 + <label id="updatesFoundInto"/> 1.120 + <separator class="thin"/> 1.121 + <label id="updateName" crop="right" value=""/> 1.122 + <separator id="updateNameSep" class="thin"/> 1.123 + <label id="upgradeEvangelism">&evangelism.desc;</label> 1.124 + <separator id="upgradeEvangelismSep" flex="1"/> 1.125 + <vbox flex="1"> 1.126 + <hbox id="moreInfoURL"> 1.127 + <label class="text-link" id="updateMoreInfoURL" 1.128 + value="&clickHere.label;" onclick="openUpdateURL(event);"/> 1.129 + </hbox> 1.130 + </vbox> 1.131 + </vbox> 1.132 + </wizardpage> 1.133 + 1.134 + <wizardpage id="updatesfoundbillboard" pageid="updatesfoundbillboard" 1.135 + object="gUpdatesFoundBillboardPage" next="downloading" 1.136 + onpageshow="gUpdatesFoundBillboardPage.onPageShow();" 1.137 + onextra1="gUpdatesFoundBillboardPage.onExtra1();" 1.138 + onextra2="gUpdatesFoundBillboardPage.onExtra2();"> 1.139 + <!-- note: the localized strings used by remotecontent are prefixed by the 1.140 + id for the remotecontent (e.g. updateMoreInfoContentNotFound, 1.141 + updateMoreInfoContentDownloading, etc.) --> 1.142 + <remotecontent id="updateMoreInfoContent" flex="1" remotetype="billboard"/> 1.143 + </wizardpage> 1.144 + 1.145 + <wizardpage id="license" pageid="license" next="downloading" 1.146 + object="gLicensePage" onpageshow="gLicensePage.onPageShow();" 1.147 + onextra1="gLicensePage.onExtra1();"> 1.148 + <updateheader label="&license.titleText;"/> 1.149 + <vbox class="update-content" flex="1"> 1.150 + <label>&license.instructionText;</label> 1.151 + <!-- note: the localized strings used by remotecontent are prefixed by 1.152 + the id for the remotecontent (e.g. licenseContentNotFound, 1.153 + licenseContentDownloading, etc.) --> 1.154 + <remotecontent id="licenseContent" flex="1" remotetype="license"/> 1.155 + <separator class="thin"/> 1.156 + <radiogroup id="acceptDeclineLicense" align="start" 1.157 + onselect="gLicensePage.onAcceptDeclineRadio();"> 1.158 + <radio id="accept" label="&license.accept;" 1.159 + accesskey="&license.accept.accesskey;"/> 1.160 + <radio id="decline" label="&license.decline;" 1.161 + accesskey="&license.decline.accesskey;" 1.162 + selected="true"/> 1.163 + </radiogroup> 1.164 + </vbox> 1.165 + </wizardpage> 1.166 + 1.167 + <wizardpage id="incompatibleList" pageid="incompatibleList" 1.168 + next="downloading" object="gIncompatibleListPage" 1.169 + onpageshow="gIncompatibleListPage.onPageShow();" 1.170 + onextra1="gIncompatibleListPage.onExtra1();"> 1.171 + <updateheader label="&incompatibleList.title;"/> 1.172 + <vbox class="update-content" flex="1"> 1.173 + <label id="incompatibleListDesc"/> 1.174 + <listbox id="incompatibleListbox" flex="1"/> 1.175 + </vbox> 1.176 + </wizardpage> 1.177 + 1.178 + <wizardpage id="downloading" pageid="downloading" 1.179 + object="gDownloadingPage" onextra1="gDownloadingPage.onHide();" 1.180 + onpageshow="gDownloadingPage.onPageShow();"> 1.181 + <updateheader label="&downloadPage.title;"/> 1.182 + <vbox class="update-content" flex="1"> 1.183 + <hbox id="downloadStatusProgress"> 1.184 + <progressmeter id="downloadProgress" mode="undetermined" flex="1"/> 1.185 + <button id="pauseButton" oncommand="gDownloadingPage.onPause();" 1.186 + paused="false"/> 1.187 + </hbox> 1.188 + <separator class="thin"/> 1.189 + <hbox id="downloadStatusLine"> 1.190 + <label id="downloadStatus" flex="1">&connecting.label;</label> 1.191 + </hbox> 1.192 + <separator/> 1.193 + <hbox id="verificationFailed" align="start" hidden="true"> 1.194 + <image id="verificationFailedIcon"/> 1.195 + <label flex="1">&verificationFailedText.label;</label> 1.196 + </hbox> 1.197 + </vbox> 1.198 + </wizardpage> 1.199 + 1.200 + <wizardpage id="errors" pageid="errors" object="gErrorsPage" 1.201 + onpageshow="gErrorsPage.onPageShow();"> 1.202 + <updateheader label="&error.title;"/> 1.203 + <vbox class="update-content" flex="1"> 1.204 + <label id="errorIntro">&error.label;</label> 1.205 + <separator/> 1.206 + <textbox class="plain" readonly="true" id="errorReason" multiline="true" 1.207 + rows="3"/> 1.208 + <separator/> 1.209 + <label id="errorManual">&errorManual.label;</label> 1.210 + <hbox> 1.211 + <label class="text-link" id="errorLinkLabel" value="" 1.212 + onclick="openUpdateURL(event);"/> 1.213 + </hbox> 1.214 + </vbox> 1.215 + </wizardpage> 1.216 + 1.217 + <wizardpage id="errorextra" pageid="errorextra" 1.218 + object="gErrorExtraPage" 1.219 + onpageshow="gErrorExtraPage.onPageShow();"> 1.220 + <updateheader label="&error.title;"/> 1.221 + <vbox class="update-content" flex="1"> 1.222 + <label id="errorCertAttrHasUpdateLabel" 1.223 + hidden="true">&errorCertAttrHasUpdate.label;</label> 1.224 + <label id="errorCertCheckNoUpdateLabel" 1.225 + hidden="true">&errorCertAttrNoUpdate2.label;</label> 1.226 + <label id="genericBackgroundErrorLabel" 1.227 + hidden="true">&genericBackgroundError.label;</label> 1.228 + <hbox> 1.229 + <label id="errorExtraLinkLabel" class="text-link" hidden="true" 1.230 + value="" onclick="openUpdateURL(event);"/> 1.231 + </hbox> 1.232 + </vbox> 1.233 + </wizardpage> 1.234 + 1.235 + <wizardpage id="errorpatching" pageid="errorpatching" next="downloading" 1.236 + object="gErrorPatchingPage" 1.237 + onpageshow="gErrorPatchingPage.onPageShow();"> 1.238 + <updateheader label="&error.title;"/> 1.239 + <vbox class="update-content" flex="1"> 1.240 + <label>&errorpatching.intro;</label> 1.241 + </vbox> 1.242 + </wizardpage> 1.243 + 1.244 + <wizardpage id="finished" pageid="finished" object="gFinishedPage" 1.245 + onpageshow="gFinishedPage.onPageShow();" 1.246 + onextra1="gFinishedPage.onExtra1()"> 1.247 + <updateheader label="&finishedPage.title;"/> 1.248 + <vbox class="update-content" flex="1"> 1.249 + <label>&finishedPage.text;</label> 1.250 + </vbox> 1.251 + </wizardpage> 1.252 + 1.253 + <wizardpage id="finishedBackground" pageid="finishedBackground" 1.254 + object="gFinishedPage" onextra1="gFinishedPage.onExtra1()" 1.255 + onpageshow="gFinishedPage.onPageShowBackground();"> 1.256 + <updateheader label="&finishedPage.title;"/> 1.257 + <vbox class="update-content" flex="1"> 1.258 + <label>&finishedBackgroundPage.text;</label> 1.259 + <separator/> 1.260 + <hbox align="center"> 1.261 + <label>&finishedBackground.name;</label> 1.262 + <label id="updateFinishedName" flex="1" crop="right" value=""/> 1.263 + <label id="finishedBackgroundLink" class="text-link" disabled="true" 1.264 + value="&details.link;" onclick="openUpdateURL(event);"/> 1.265 + </hbox> 1.266 + <spacer flex="1"/> 1.267 + <label id="finishedBackgroundMore">&finishedBackground.more;</label> 1.268 + </vbox> 1.269 + </wizardpage> 1.270 + 1.271 + <wizardpage id="installed" pageid="installed" object="gInstalledPage" 1.272 + onpageshow="gInstalledPage.onPageShow();"> 1.273 + <updateheader label="&installed.title;"/> 1.274 + <vbox class="update-content" flex="1"> 1.275 + <label>&installed.intro;</label> 1.276 + <separator/> 1.277 + <hbox> 1.278 + <label id="whatsnewLink" class="text-link" hidden="true" 1.279 + value="&whatsnew.label;" onclick="openUpdateURL(event);"/> 1.280 + </hbox> 1.281 + </vbox> 1.282 + </wizardpage> 1.283 + 1.284 +</wizard>