toolkit/mozapps/update/content/updates.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial