home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / toolkit.jar / content / mozapps / extensions / update.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-05-23  |  6.8 KB  |  180 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  5. <?xml-stylesheet href="chrome://mozapps/skin/extensions/update.css" type="text/css"?> 
  6.  
  7. <!DOCTYPE wizard [
  8. <!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/extensions/update.dtd">
  9. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  10. %updateDTD;
  11. %brandDTD;
  12. ]>
  13.  
  14. <wizard id="updateWizard"
  15.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  16.         title="&updateWizard.title;"
  17.         windowtype="Update:Wizard"
  18.         branded="true"
  19.         onload="gUpdateWizard.init();"
  20.         onwizardfinish="gUpdateWizard.onWizardFinish();"
  21.         onclose="return gUpdateWizard.onWizardClose(event);"
  22.         buttons="accept,cancel">
  23.  
  24.   <script type="application/javascript" src="chrome://mozapps/content/extensions/update.js"/>
  25.   
  26.   <stringbundleset id="updateSet">
  27.     <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
  28.     <stringbundle id="updateStrings" src="chrome://mozapps/locale/extensions/update.properties"/>
  29.   </stringbundleset>
  30.   
  31.   <wizardpage id="dummy" pageid="dummy"/>
  32.   
  33.   <wizardpage id="offline" pageid="offline" next="versioninfo"
  34.               label="&offline.title;"
  35.               onpageadvanced="return gOfflinePage.onPageAdvanced();">
  36.     <description>&offline.description;</description>
  37.     <checkbox id="toggleOffline"
  38.               checked="true"
  39.               label="&offline.toggleOffline.label;"
  40.               accesskey="&offline.toggleOffline.accesskey;"
  41.               oncommand="gOfflinePage.toggleOffline();"/>
  42.   </wizardpage>
  43.   
  44.   <wizardpage id="versioninfo" pageid="versioninfo" next="mismatch"
  45.               label="&versioninfo.wizard.title;"
  46.               onpageshow="gVersionInfoPage.onPageShow();">
  47.     <label>&versioninfo.top.label;</label>
  48.     <separator class="thin"/>
  49.     <progressmeter id="versioninfo.progress" mode="undetermined"/>
  50.     <hbox align="center">
  51.       <image id="versioninfo.throbber" class="throbber"/>
  52.       <label flex="1" id="versioninfo.status" crop="right">&versioninfo.waiting;</label>
  53.     </hbox>
  54.     <separator/>
  55.   </wizardpage>
  56.  
  57.   <wizardpage id="mismatch" pageid="mismatch" next="checking"
  58.               label="&mismatch.win.title;"
  59.               onpageshow="gMismatchPage.onPageShow();">
  60.     <label>&mismatch.top.label;</label>
  61.     <separator class="thin"/>
  62.     <listbox id="mismatch.incompatible" flex="1"/>
  63.     <separator class="thin"/>
  64.     <label>&mismatch.bottom.label;</label>
  65.   </wizardpage>
  66.   
  67.   <wizardpage id="checking" pageid="checking" next="noupdates"
  68.               label="&checking.wizard.title;"
  69.               onpageshow="gUpdatePage.onPageShow();">
  70.     <label>&checking.top.label;</label>
  71.     <separator class="thin"/>
  72.     <progressmeter id="checking.progress"/>
  73.     <hbox align="center">
  74.       <image id="checking.throbber" class="throbber"/>
  75.       <label id="checking.status" flex="1" crop="right">&checking.status;</label>
  76.     </hbox>
  77.   </wizardpage>
  78.     
  79.   <wizardpage id="noupdates" pageid="noupdates"
  80.               label="&noupdates.wizard.title;"
  81.               onpageshow="gNoUpdatesPage.onPageShow();">
  82.     <description>&noupdates.intro.desc;</description>
  83.     <separator class="thin"/>
  84.     <hbox id="updateCheckErrorNotFound" class="alertBox" hidden="true" align="top">
  85.       <image id="alert"/>
  86.       <description flex="1">&noupdates.error.desc;</description>
  87.       <button label="&details.label;" accesskey="&details.accesskey;"
  88.               oncommand="gUpdateWizard.showUpdateCheckErrors();"/>
  89.     </hbox>
  90.     <separator class="thin"/>
  91.     <description id="noupdatesCheckEnabled" hidden="true">
  92.       &noupdates.checkEnabled.desc;
  93.     </description>
  94.     <vbox id="noupdatesCheckDisabled" hidden="true">
  95.       <description>&finished.checkDisabled.desc;</description>
  96.       <checkbox label="&enableChecking.label;" checked="true"
  97.                 oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/>
  98.     </vbox>
  99.     <separator flex="1"/>
  100.     <label>&clickFinish.label;</label>
  101.     <separator class="thin"/>
  102.   </wizardpage>
  103.  
  104.   <wizardpage id="found" pageid="found" next="installing"
  105.               label="&found.wizard.title;"
  106.               onpageshow="gFoundPage.onPageShow();">
  107.     <label>&found.top.label;</label>
  108.     <separator class="thin"/>
  109.     <listbox id="found.updates" flex="1" seltype="multiple"
  110.              onclick="gFoundPage.updateNextButton();"/>
  111.     <separator class="thin"/>
  112.     <vbox align="left" id="xpinstallDisabledAlert" hidden="true">
  113.       <description>&found.disabledXPinstall.label;</description>
  114.       <checkbox label="&found.enableXPInstall.label;"
  115.                 id="enableXPInstall"
  116.                 accesskey="&found.enableXPInstall.accesskey;"
  117.                 oncommand="gFoundPage.toggleXPInstallEnable(event);"/>
  118.     </vbox>
  119.   </wizardpage>
  120.  
  121.   <wizardpage id="installing" pageid="installing" next="finished"
  122.               label="&installing.wizard.title;"
  123.               onpageshow="gInstallingPage.onPageShow();">
  124.     <label>&installing.top.label;</label>
  125.     <progressmeter id="downloadProgress"/>
  126.     <hbox align="center">
  127.       <image id="installing.throbber" class="throbber"/>
  128.       <label id="actionItem" flex="1" crop="right"/>
  129.     </hbox>
  130.     <separator/>
  131.   </wizardpage>
  132.   
  133.   <wizardpage id="installerrors" pageid="installerrors"
  134.               label="&installerrors.wizard.title;"
  135.               onpageshow="gInstallErrorsPage.onPageShow();">
  136.     <hbox align="top" class="alertBox">
  137.       <description flex="1">&installerrors.intro.label;</description>
  138.       <button label="&details.label;" accesskey="&details.accesskey;"
  139.               oncommand="gInstallErrorsPage.onShowErrors();"/>
  140.     </hbox>
  141.     <separator flex="1"/>
  142.     <label>&clickFinish.label;</label>
  143.     <separator class="thin"/>
  144.   </wizardpage>
  145.   
  146.   <wizardpage id="adminDisabled" pageid="adminDisabled"
  147.               label="&adminDisabled.wizard.title;"
  148.               onpageshow="gAdminDisabledPage.onPageShow();">
  149.     <separator/>
  150.     <hbox class="alertBox" align="top">
  151.       <image id="alert"/>
  152.       <description flex="1">&adminDisabled.warning.label;</description>
  153.     </hbox>
  154.     <separator flex="1"/>
  155.     <label>&clickFinish.label;</label>
  156.     <separator class="thin"/>
  157.   </wizardpage>
  158.  
  159.   <wizardpage id="finished" pageid="finished"
  160.               label="&finished.wizard.title;"
  161.               onpageshow="gFinishedPage.onPageShow();">
  162.  
  163.     <label>&finished.top.label;</label>
  164.     <separator/>
  165.     <description id="finishedCheckEnabled" hidden="true">
  166.       &finished.checkEnabled.desc;
  167.     </description>
  168.     <vbox id="finishedCheckDisabled" hidden="true">
  169.       <description>&finished.checkDisabled.desc;</description>
  170.       <checkbox label="&enableChecking.label;" checked="true"
  171.                 oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/>
  172.     </vbox>
  173.     <separator flex="1"/>
  174.     <label>&clickFinish.label;</label>
  175.     <separator class="thin"/>
  176.   </wizardpage>
  177.   
  178. </wizard>
  179.  
  180.