1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/extensions/content/update.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,196 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- 1.7 +# This Source Code Form is subject to the terms of the Mozilla Public 1.8 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.9 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.10 + 1.11 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.12 +<?xml-stylesheet href="chrome://mozapps/skin/extensions/update.css" type="text/css"?> 1.13 + 1.14 +<!DOCTYPE wizard [ 1.15 +<!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/extensions/update.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="updateWizard" 1.22 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.23 + title="&updateWizard.title;" 1.24 + windowtype="Addons:Compatibility" 1.25 + branded="true" 1.26 + onload="gUpdateWizard.init();" 1.27 + onwizardfinish="gUpdateWizard.onWizardFinish();" 1.28 + onwizardcancel="return gUpdateWizard.onWizardCancel();" 1.29 + onclose="return gUpdateWizard.onWizardClose(event);" 1.30 + buttons="accept,cancel"> 1.31 + 1.32 + <script type="application/javascript" src="chrome://mozapps/content/extensions/update.js"/> 1.33 + 1.34 + <stringbundleset id="updateSet"> 1.35 + <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/> 1.36 + <stringbundle id="updateStrings" src="chrome://mozapps/locale/extensions/update.properties"/> 1.37 + </stringbundleset> 1.38 + 1.39 + <wizardpage id="dummy" pageid="dummy"/> 1.40 + 1.41 + <wizardpage id="offline" pageid="offline" next="versioninfo" 1.42 + label="&offline.title;" 1.43 + onpageadvanced="return gOfflinePage.onPageAdvanced();"> 1.44 + <description>&offline.description;</description> 1.45 + <checkbox id="toggleOffline" 1.46 + checked="true" 1.47 + label="&offline.toggleOffline.label;" 1.48 + accesskey="&offline.toggleOffline.accesskey;" 1.49 + oncommand="gOfflinePage.toggleOffline();"/> 1.50 + </wizardpage> 1.51 + 1.52 + <wizardpage id="versioninfo" pageid="versioninfo" next="mismatch" 1.53 + label="&versioninfo.wizard.title;" 1.54 + onpageshow="gVersionInfoPage.onPageShow();"> 1.55 + <label>&versioninfo.top.label;</label> 1.56 + <separator class="thin"/> 1.57 + <progressmeter id="versioninfo.progress" mode="undetermined"/> 1.58 + <hbox align="center"> 1.59 + <image id="versioninfo.throbber" class="throbber"/> 1.60 + <label flex="1" id="versioninfo.status" crop="right">&versioninfo.waiting;</label> 1.61 + </hbox> 1.62 + <separator/> 1.63 + </wizardpage> 1.64 + 1.65 + <wizardpage id="mismatch" pageid="mismatch" next="checking" 1.66 + label="&mismatch.win.title;" 1.67 + onpageshow="gMismatchPage.onPageShow();"> 1.68 + <label>&mismatch.top.label;</label> 1.69 + <separator class="thin"/> 1.70 + <listbox id="mismatch.incompatible" flex="1"/> 1.71 + <separator class="thin"/> 1.72 + <label>&mismatch.bottom.label;</label> 1.73 + </wizardpage> 1.74 + 1.75 + <wizardpage id="checking" pageid="checking" next="noupdates" 1.76 + label="&checking.wizard.title;" 1.77 + onpageshow="gUpdatePage.onPageShow();"> 1.78 + <label>&checking.top.label;</label> 1.79 + <separator class="thin"/> 1.80 + <progressmeter id="checking.progress"/> 1.81 + <hbox align="center"> 1.82 + <image id="checking.throbber" class="throbber"/> 1.83 + <label id="checking.status" flex="1" crop="right">&checking.status;</label> 1.84 + </hbox> 1.85 + </wizardpage> 1.86 + 1.87 + <wizardpage id="noupdates" pageid="noupdates" 1.88 + label="&noupdates.wizard.title;" 1.89 + onpageshow="gNoUpdatesPage.onPageShow();"> 1.90 + <description>&noupdates.intro.desc;</description> 1.91 + <separator class="thin"/> 1.92 + <hbox id="updateCheckErrorNotFound" class="alertBox" hidden="true" align="top"> 1.93 + <image id="alert"/> 1.94 + <description flex="1">&noupdates.error.desc;</description> 1.95 + </hbox> 1.96 + <separator class="thin"/> 1.97 + <description id="noupdatesCheckEnabled" hidden="true"> 1.98 + &noupdates.checkEnabled.desc; 1.99 + </description> 1.100 + <vbox id="noupdatesCheckDisabled" hidden="true"> 1.101 + <description>&finished.checkDisabled.desc;</description> 1.102 + <checkbox label="&enableChecking.label;" checked="true" 1.103 + oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/> 1.104 + </vbox> 1.105 + <separator flex="1"/> 1.106 +#ifndef XP_MACOSX 1.107 + <label>&clickFinish.label;</label> 1.108 +#else 1.109 + <label>&clickFinish.labelMac;</label> 1.110 +#endif 1.111 + <separator class="thin"/> 1.112 + </wizardpage> 1.113 + 1.114 + <wizardpage id="found" pageid="found" next="installing" 1.115 + label="&found.wizard.title;" 1.116 + onpageshow="gFoundPage.onPageShow();"> 1.117 + <label>&found.top.label;</label> 1.118 + <separator class="thin"/> 1.119 + <listbox id="found.updates" flex="1" seltype="multiple" 1.120 + onclick="gFoundPage.updateNextButton();"/> 1.121 + <separator class="thin"/> 1.122 + <vbox align="left" id="xpinstallDisabledAlert" hidden="true"> 1.123 + <description>&found.disabledXPinstall.label;</description> 1.124 + <checkbox label="&found.enableXPInstall.label;" 1.125 + id="enableXPInstall" 1.126 + accesskey="&found.enableXPInstall.accesskey;" 1.127 + oncommand="gFoundPage.toggleXPInstallEnable(event);"/> 1.128 + </vbox> 1.129 + </wizardpage> 1.130 + 1.131 + <wizardpage id="installing" pageid="installing" next="finished" 1.132 + label="&installing.wizard.title;" 1.133 + onpageshow="gInstallingPage.onPageShow();"> 1.134 + <label>&installing.top.label;</label> 1.135 + <progressmeter id="downloadProgress"/> 1.136 + <hbox align="center"> 1.137 + <image id="installing.throbber" class="throbber"/> 1.138 + <label id="actionItem" flex="1" crop="right"/> 1.139 + </hbox> 1.140 + <separator/> 1.141 + </wizardpage> 1.142 + 1.143 + <wizardpage id="installerrors" pageid="installerrors" 1.144 + label="&installerrors.wizard.title;" 1.145 + onpageshow="gInstallErrorsPage.onPageShow();"> 1.146 + <hbox align="top" class="alertBox"> 1.147 + <description flex="1">&installerrors.intro.label;</description> 1.148 + </hbox> 1.149 + <separator flex="1"/> 1.150 +#ifndef XP_MACOSX 1.151 + <label>&clickFinish.label;</label> 1.152 +#else 1.153 + <label>&clickFinish.labelMac;</label> 1.154 +#endif 1.155 + <separator class="thin"/> 1.156 + </wizardpage> 1.157 + 1.158 + <wizardpage id="adminDisabled" pageid="adminDisabled" 1.159 + label="&adminDisabled.wizard.title;" 1.160 + onpageshow="gAdminDisabledPage.onPageShow();"> 1.161 + <separator/> 1.162 + <hbox class="alertBox" align="top"> 1.163 + <image id="alert"/> 1.164 + <description flex="1">&adminDisabled.warning.label;</description> 1.165 + </hbox> 1.166 + <separator flex="1"/> 1.167 +#ifndef XP_MACOSX 1.168 + <label>&clickFinish.label;</label> 1.169 +#else 1.170 + <label>&clickFinish.labelMac;</label> 1.171 +#endif 1.172 + <separator class="thin"/> 1.173 + </wizardpage> 1.174 + 1.175 + <wizardpage id="finished" pageid="finished" 1.176 + label="&finished.wizard.title;" 1.177 + onpageshow="gFinishedPage.onPageShow();"> 1.178 + 1.179 + <label>&finished.top.label;</label> 1.180 + <separator/> 1.181 + <description id="finishedCheckEnabled" hidden="true"> 1.182 + &finished.checkEnabled.desc; 1.183 + </description> 1.184 + <vbox id="finishedCheckDisabled" hidden="true"> 1.185 + <description>&finished.checkDisabled.desc;</description> 1.186 + <checkbox label="&enableChecking.label;" checked="true" 1.187 + oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/> 1.188 + </vbox> 1.189 + <separator flex="1"/> 1.190 +#ifndef XP_MACOSX 1.191 + <label>&clickFinish.label;</label> 1.192 +#else 1.193 + <label>&clickFinish.labelMac;</label> 1.194 +#endif 1.195 + <separator class="thin"/> 1.196 + </wizardpage> 1.197 + 1.198 +</wizard> 1.199 +