home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / toolkit.jar / content / mozapps / update / update.xul < prev    next >
Extensible Markup Language  |  2005-07-29  |  8KB  |  224 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  5. <?xml-stylesheet href="chrome://mozapps/content/update/update.css" type="text/css"?> 
  6. <?xml-stylesheet href="chrome://mozapps/skin/update/update.css" type="text/css"?> 
  7.  
  8. <!DOCTYPE wizard [
  9. <!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/update/update.dtd">
  10. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
  11. %updateDTD;
  12. %brandDTD;
  13. ]>
  14.  
  15. <wizard id="updateWizard"
  16.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  17.         title="&updateWizard.title;"
  18.         windowtype="Update:Wizard"
  19.         onload="gUpdateWizard.init();"
  20.         onunload="gUpdateWizard.uninit();"
  21.         onwizardfinish="gUpdateWizard.onWizardFinish();"
  22.         onclose="return gUpdateWizard.onWizardClose(event);"
  23.         style="width: 47em; min-height: 35em;"
  24.         buttons="accept,cancel">
  25.  
  26.   <script type="application/x-javascript" src="chrome://mozapps/content/update/update.js"/>
  27.   
  28.   <stringbundleset id="updateSet">
  29.     <stringbundle id="brandStrings" src="chrome://global/locale/brand.properties"/>
  30.     <stringbundle id="updateStrings" src="chrome://mozapps/locale/update/update.properties"/>
  31.   </stringbundleset>
  32.  
  33.   <wizardpage id="mismatch" pageid="mismatch" next="checking"
  34.               label="&mismatch.title;"
  35.               onpageshow="gMismatchPage.onPageShow();">
  36.  
  37.     <label>&mismatch.intro1.label;</label>
  38.     
  39.     <separator class="thin"/>
  40.     
  41.     <listbox id="mismatch.incompatible" flex="1"/>
  42.     
  43.     <separator class="thin"/>
  44.     
  45.     <label style="font-weight: bold;">&mismatch.intro2.label;</label>
  46.     <separator class="thin"/>
  47.     
  48.     <label>&mismatch.intro3.label;</label>
  49.  
  50.   </wizardpage>
  51.   
  52.   <wizardpage id="checking" pageid="checking" next="noupdates"
  53.               label="&checking.title;"
  54.               onpageshow="gUpdatePage.onPageShow();">
  55.  
  56.     <label>&checking.intro.label;</label>
  57.     
  58.     <separator class="thin"/>
  59.     
  60.     <progressmeter id="checking.progress"/>
  61.     <hbox align="center">
  62.       <image id="checking.throbber" class="throbber"/>
  63.       <label id="checking.status" flex="1" crop="right">&checking.status;</label>
  64.     </hbox>
  65.     
  66.   </wizardpage>
  67.     
  68.   <wizardpage id="noupdates" pageid="noupdates"
  69.               label="&noupdates.title;"
  70.               onpageshow="gNoUpdatesPage.onPageShow();">
  71.     <label id="introUser">&noupdates.intro.user.label;</label>
  72.     <label id="introMismatch" hidden="true">&noupdates.intro.mismatch.label;</label>
  73.     <separator/>
  74.     <vbox id="mismatchNoUpdates" hidden="true">
  75.       <description id="mismatchIncompatibleRemaining" flex="1">
  76.         &noupdates.intro2.mismatch.label;
  77.       </description>
  78.       <description id="mismatchIncompatibleRemaining2" flex="1" hidden="true">
  79.         &noupdates.intro3.mismatch.label;
  80.       </description>
  81.       <separator class="thin"/>
  82.  
  83.       <vbox align="left">
  84.         <checkbox label="&noupdates.enableChecking.label;" 
  85.                   id="mismatchFinishedEnableChecking" hidden="true"
  86.                   oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/>
  87.       </vbox>
  88.     </vbox>
  89.     <hbox id="updateCheckErrorNotFound" hidden="true" align="center">
  90.       <description flex="1">
  91.         &updateCheckError.description;
  92.       </description>
  93.       <button label="&updateCheckError.label;" accesskey="&updateCheckError.accesskey;"
  94.               oncommand="gUpdateWizard.showUpdateCheckErrors();"/>
  95.     </hbox>
  96.  
  97.   </wizardpage>
  98.  
  99.   <wizardpage id="found" pageid="found" next="installing"
  100.               label="&found.title;"
  101.               onpageshow="gFoundPage.onPageShow();">
  102.  
  103.     <label>&found.intro.label;</label>
  104.     <separator class="thin"/>
  105.     <radiogroup type="update-types" id="found.updates" flex="1" _uninitialized="true"
  106.                 onselect="gFoundPage.onSelect(event);">
  107.       <radio type="update-type" id="patches" accesskey="&found.updatetype.patches.accesskey;" collapsed="true">
  108.         <description>&found.criticalUpdates.label;</description>
  109.         <separator class="thin"/>        
  110.         <vbox id="found.criticalUpdates.list"/>
  111.         <separator class="thin"/>        
  112.         <description>&found.criticalUpdates.info;</description>
  113.         <label>.</label>
  114.       </radio>
  115.       <radio type="update-type" id="app" collapsed="true">
  116.         <label id="found.app.label"/>
  117.         <separator class="thin"/>        
  118.         <label id="found.app.features" hidden="true"/>
  119.         <vbox id="found.app.featuresList"/>
  120.         <separator class="thin"/>        
  121.         <link id="found.app.infoLink" label="&found.app.infoLink;"/>
  122.         <label>.</label>
  123.       </radio>
  124.       <radio type="update-type" id="components" accesskey="&found.updatetype.components.accesskey;" collapsed="true">
  125.         <description>&found.components.label;</description>
  126.         <separator class="thin"/>        
  127.         <vbox id="found.components.list"/>
  128.         <separator class="thin"/>        
  129.         <description>&found.components.info;</description>
  130.         <label>.</label>
  131.       </radio>
  132.       <radio type="update-type" id="addons" accesskey="&found.updatetype.addons.accesskey;" collapsed="true">
  133.         <description>&found.addons.label;</description>
  134.         <separator class="thin"/>        
  135.         <vbox id="found.addons.list"/>
  136.         <label>.</label>
  137.       </radio>
  138.       <radio type="update-type" id="found.languages.header" accesskey="&found.updatetype.languages.accesskey;" collapsed="true">
  139.         <description>&found.languages.label;</description>
  140.         <separator class="thin"/>        
  141.         <vbox id="found.languages.list"/>
  142.         <label>.</label>
  143.       </radio>
  144.     </radiogroup>
  145.     <separator class="thin"/>
  146.     <label id="foundInstructions"/>
  147.  
  148.   </wizardpage>
  149.  
  150.   <wizardpage id="optional" pageid="optional" next="installing"
  151.               label="&optional.title;"
  152.               onpageshow="gOptionalPage.onPageShow();">
  153.     <label>&optional.intro.label;</label>
  154.     <separator class="thin"/>
  155.     <vbox id="optionalItemsList" flex="1" align="left"
  156.           style="overflow: auto;"
  157.           onmouseover="gOptionalPage.onListMouseOver(event);"
  158.           onmouseout="gOptionalPage.onListMouseOut(event);"
  159.           oncommand="gOptionalPage.onCommand(event);"/>
  160.     <separator/>
  161.     <description id="optionalDescription" style="height: 3em;"/>
  162.   </wizardpage>
  163.  
  164.   <wizardpage id="installing" pageid="installing" next="finished"
  165.               label="&installing.title;"
  166.               onpageshow="gInstallingPage.onPageShow();">
  167.     <label>&installing.intro.label;</label>
  168.     <progressmeter id="downloadProgress"/>
  169.     <hbox align="center">
  170.       <image id="installing.throbber" class="throbber"/>
  171.       <label id="actionItem" flex="1" crop="right"/>
  172.     </hbox>
  173.     <separator/>
  174.   </wizardpage>
  175.   
  176.   <wizardpage id="errors" pageid="errors"
  177.               label="&errors.title;"
  178.               align="right"
  179.               onpageshow="gErrorsPage.onPageShow();">
  180.     <label>&errors.intro.label;</label>
  181.     <separator/>
  182.     <button label="&errors.details.label;" accesskey="&errors.details.accesskey;"
  183.             oncommand="gErrorsPage.onShowErrors();"/>
  184.     <separator/>
  185.   </wizardpage>
  186.   
  187.   <wizardpage id="finished" pageid="finished"
  188.               label="&finished.title;"
  189.               onpageshow="gFinishedPage.onPageShow();">
  190.  
  191.     <label id="updated">&finished.updated.label;</label>
  192.     <separator/>
  193.     <hbox id="incompatibleAlert" align="top" hidden="true">
  194.       <image id="alert"/>
  195.       <description id="incompatibleRemaining" flex="1">&finished.remaining.label;</description>
  196.       <description id="incompatibleRemaining2" flex="1">&finished.remaining2.label;</description>
  197.     </hbox>
  198.     <vbox align="left">
  199.       <checkbox class="indent" label="&finished.enableChecking.label;" id="finishedEnableChecking"
  200.                 oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/>
  201.     </vbox>
  202.     <separator flex="1"/>
  203.     <label id="finishedMismatch" hidden="true">&finished.mismatch.label;</label>
  204.  
  205.   </wizardpage>
  206.   
  207.   <wizardpage id="restart" pageid="restart"
  208.               label="&restart.title;"
  209.               onpageshow="gRestartPage.onPageShow();">
  210.  
  211.     <label>&restart.updated.label;</label>
  212.  
  213.     <separator/>
  214.  
  215.     <vbox align="start">
  216.       <checkbox id="resetHomepage" checked="true"
  217.                 label="&resetHomepage.label;" accesskey="&resetHomepage.accesskey;"/>
  218.     </vbox>
  219.  
  220.   </wizardpage>
  221.   
  222. </wizard>
  223.  
  224.