toolkit/mozapps/extensions/content/update.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.

     1 <?xml version="1.0"?>
     3 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
     4 # This Source Code Form is subject to the terms of the Mozilla Public
     5 # License, v. 2.0. If a copy of the MPL was not distributed with this
     6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     8 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
     9 <?xml-stylesheet href="chrome://mozapps/skin/extensions/update.css" type="text/css"?> 
    11 <!DOCTYPE wizard [
    12 <!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/extensions/update.dtd">
    13 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
    14 %updateDTD;
    15 %brandDTD;
    16 ]>
    18 <wizard id="updateWizard"
    19         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    20         title="&updateWizard.title;"
    21         windowtype="Addons:Compatibility"
    22         branded="true"
    23         onload="gUpdateWizard.init();"
    24         onwizardfinish="gUpdateWizard.onWizardFinish();"
    25         onwizardcancel="return gUpdateWizard.onWizardCancel();"
    26         onclose="return gUpdateWizard.onWizardClose(event);"
    27         buttons="accept,cancel">
    29   <script type="application/javascript" src="chrome://mozapps/content/extensions/update.js"/>
    31   <stringbundleset id="updateSet">
    32     <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
    33     <stringbundle id="updateStrings" src="chrome://mozapps/locale/extensions/update.properties"/>
    34   </stringbundleset>
    36   <wizardpage id="dummy" pageid="dummy"/>
    38   <wizardpage id="offline" pageid="offline" next="versioninfo"
    39               label="&offline.title;"
    40               onpageadvanced="return gOfflinePage.onPageAdvanced();">
    41     <description>&offline.description;</description>
    42     <checkbox id="toggleOffline"
    43               checked="true"
    44               label="&offline.toggleOffline.label;"
    45               accesskey="&offline.toggleOffline.accesskey;"
    46               oncommand="gOfflinePage.toggleOffline();"/>
    47   </wizardpage>
    49   <wizardpage id="versioninfo" pageid="versioninfo" next="mismatch"
    50               label="&versioninfo.wizard.title;"
    51               onpageshow="gVersionInfoPage.onPageShow();">
    52     <label>&versioninfo.top.label;</label>
    53     <separator class="thin"/>
    54     <progressmeter id="versioninfo.progress" mode="undetermined"/>
    55     <hbox align="center">
    56       <image id="versioninfo.throbber" class="throbber"/>
    57       <label flex="1" id="versioninfo.status" crop="right">&versioninfo.waiting;</label>
    58     </hbox>
    59     <separator/>
    60   </wizardpage>
    62   <wizardpage id="mismatch" pageid="mismatch" next="checking"
    63               label="&mismatch.win.title;"
    64               onpageshow="gMismatchPage.onPageShow();">
    65     <label>&mismatch.top.label;</label>
    66     <separator class="thin"/>
    67     <listbox id="mismatch.incompatible" flex="1"/>
    68     <separator class="thin"/>
    69     <label>&mismatch.bottom.label;</label>
    70   </wizardpage>
    72   <wizardpage id="checking" pageid="checking" next="noupdates"
    73               label="&checking.wizard.title;"
    74               onpageshow="gUpdatePage.onPageShow();">
    75     <label>&checking.top.label;</label>
    76     <separator class="thin"/>
    77     <progressmeter id="checking.progress"/>
    78     <hbox align="center">
    79       <image id="checking.throbber" class="throbber"/>
    80       <label id="checking.status" flex="1" crop="right">&checking.status;</label>
    81     </hbox>
    82   </wizardpage>
    84   <wizardpage id="noupdates" pageid="noupdates"
    85               label="&noupdates.wizard.title;"
    86               onpageshow="gNoUpdatesPage.onPageShow();">
    87     <description>&noupdates.intro.desc;</description>
    88     <separator class="thin"/>
    89     <hbox id="updateCheckErrorNotFound" class="alertBox" hidden="true" align="top">
    90       <image id="alert"/>
    91       <description flex="1">&noupdates.error.desc;</description>
    92     </hbox>
    93     <separator class="thin"/>
    94     <description id="noupdatesCheckEnabled" hidden="true">
    95       &noupdates.checkEnabled.desc;
    96     </description>
    97     <vbox id="noupdatesCheckDisabled" hidden="true">
    98       <description>&finished.checkDisabled.desc;</description>
    99       <checkbox label="&enableChecking.label;" checked="true"
   100                 oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/>
   101     </vbox>
   102     <separator flex="1"/>
   103 #ifndef XP_MACOSX
   104     <label>&clickFinish.label;</label>
   105 #else
   106     <label>&clickFinish.labelMac;</label>
   107 #endif
   108     <separator class="thin"/>
   109   </wizardpage>
   111   <wizardpage id="found" pageid="found" next="installing"
   112               label="&found.wizard.title;"
   113               onpageshow="gFoundPage.onPageShow();">
   114     <label>&found.top.label;</label>
   115     <separator class="thin"/>
   116     <listbox id="found.updates" flex="1" seltype="multiple"
   117              onclick="gFoundPage.updateNextButton();"/>
   118     <separator class="thin"/>
   119     <vbox align="left" id="xpinstallDisabledAlert" hidden="true">
   120       <description>&found.disabledXPinstall.label;</description>
   121       <checkbox label="&found.enableXPInstall.label;"
   122                 id="enableXPInstall"
   123                 accesskey="&found.enableXPInstall.accesskey;"
   124                 oncommand="gFoundPage.toggleXPInstallEnable(event);"/>
   125     </vbox>
   126   </wizardpage>
   128   <wizardpage id="installing" pageid="installing" next="finished"
   129               label="&installing.wizard.title;"
   130               onpageshow="gInstallingPage.onPageShow();">
   131     <label>&installing.top.label;</label>
   132     <progressmeter id="downloadProgress"/>
   133     <hbox align="center">
   134       <image id="installing.throbber" class="throbber"/>
   135       <label id="actionItem" flex="1" crop="right"/>
   136     </hbox>
   137     <separator/>
   138   </wizardpage>
   140   <wizardpage id="installerrors" pageid="installerrors"
   141               label="&installerrors.wizard.title;"
   142               onpageshow="gInstallErrorsPage.onPageShow();">
   143     <hbox align="top" class="alertBox">
   144       <description flex="1">&installerrors.intro.label;</description>
   145     </hbox>
   146     <separator flex="1"/>
   147 #ifndef XP_MACOSX
   148     <label>&clickFinish.label;</label>
   149 #else
   150     <label>&clickFinish.labelMac;</label>
   151 #endif
   152     <separator class="thin"/>
   153   </wizardpage>
   155   <wizardpage id="adminDisabled" pageid="adminDisabled"
   156               label="&adminDisabled.wizard.title;"
   157               onpageshow="gAdminDisabledPage.onPageShow();">
   158     <separator/>
   159     <hbox class="alertBox" align="top">
   160       <image id="alert"/>
   161       <description flex="1">&adminDisabled.warning.label;</description>
   162     </hbox>
   163     <separator flex="1"/>
   164 #ifndef XP_MACOSX
   165     <label>&clickFinish.label;</label>
   166 #else
   167     <label>&clickFinish.labelMac;</label>
   168 #endif
   169     <separator class="thin"/>
   170   </wizardpage>
   172   <wizardpage id="finished" pageid="finished"
   173               label="&finished.wizard.title;"
   174               onpageshow="gFinishedPage.onPageShow();">
   176     <label>&finished.top.label;</label>
   177     <separator/>
   178     <description id="finishedCheckEnabled" hidden="true">
   179       &finished.checkEnabled.desc;
   180     </description>
   181     <vbox id="finishedCheckDisabled" hidden="true">
   182       <description>&finished.checkDisabled.desc;</description>
   183       <checkbox label="&enableChecking.label;" checked="true"
   184                 oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/>
   185     </vbox>
   186     <separator flex="1"/>
   187 #ifndef XP_MACOSX
   188     <label>&clickFinish.label;</label>
   189 #else
   190     <label>&clickFinish.labelMac;</label>
   191 #endif
   192     <separator class="thin"/>
   193   </wizardpage>
   195 </wizard>

mercurial