toolkit/mozapps/plugins/content/pluginInstallerWizard.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/mozapps/plugins/content/pluginInstallerWizard.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,115 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
    1.10 +<?xml-stylesheet href="chrome://mozapps/content/plugins/pluginInstallerWizard.css"?>
    1.11 +<?xml-stylesheet href="chrome://mozapps/skin/plugins/pluginInstallerWizard.css"?>
    1.12 +
    1.13 +<!DOCTYPE wizard [
    1.14 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
    1.15 +%brandDTD;
    1.16 +<!ENTITY % pluginsDTD SYSTEM "chrome://mozapps/locale/plugins/plugins.dtd">
    1.17 +%pluginsDTD;
    1.18 +]>
    1.19 +
    1.20 +<wizard id="plugin-installer-wizard" title="&pluginWizard.title;"
    1.21 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.22 +        persist="width height screenX screenY sizemode"
    1.23 +        style="width: 50em; min-height: 40em;"
    1.24 +        onload="wizardInit()"
    1.25 +        onwizardfinish="return wizardFinish();">
    1.26 +
    1.27 +  <script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerWizard.js"/>
    1.28 +  <script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerDatasource.js"/>
    1.29 +  <script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerService.js"/>
    1.30 +
    1.31 +  <stringbundleset id="pluginSet">
    1.32 +    <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
    1.33 +    <stringbundle id="xpinstallStrings" src="chrome://global/locale/xpinstall/xpinstall.properties"/>
    1.34 +    <stringbundle id="pluginWizardString" src="chrome://mozapps/locale/plugins/plugins.properties"/>
    1.35 +  </stringbundleset>
    1.36 +
    1.37 +  <wizardpage label="&pluginWizard.firstPage.title;">
    1.38 +    <description value="&pluginWizard.checkingForPlugins.description.label;"/>
    1.39 +    <separator />
    1.40 +    <progressmeter id="ws_request_progress" mode="undetermined"/>
    1.41 +  </wizardpage>
    1.42 +
    1.43 +  <wizardpage label="&pluginWizard.availablePluginsPage.title;"
    1.44 +              onpageshow="gPluginInstaller.showPluginList()">
    1.45 +
    1.46 +    <description value="&pluginWizard.availablePluginsPage.description.label;"/>
    1.47 +
    1.48 +    <vbox id="pluginList" flex="1" align="left" style="overflow: auto;"/>
    1.49 +
    1.50 +    <vbox id="installerUI" hidden="true">
    1.51 +      <separator />
    1.52 +      <description>&pluginWizard.availablePluginsPage.installerUI;</description>
    1.53 +    </vbox>
    1.54 +
    1.55 +    <separator />
    1.56 +    <description value="&pluginWizard.availablePluginsPage.continueMsg.label;"/>
    1.57 +  </wizardpage>
    1.58 +
    1.59 +  <wizardpage label="&pluginWizard.licensePage.title;" 
    1.60 +              onpageshow="gPluginInstaller.showLicenses()"
    1.61 +              onpageadvanced="return gPluginInstaller.showNextLicense();"
    1.62 +              onpagerewound="return gPluginInstaller.showPreviousLicense();">
    1.63 +    <description id="pluginLicenseLabel"> </description>
    1.64 +
    1.65 +    <vbox id="licenseContainer" flex="1">
    1.66 +      <iframe id="licenseIFrame" flex="1" src="" />
    1.67 +    </vbox>
    1.68 +
    1.69 +    <radiogroup id="licenseRadioGroup">
    1.70 +      <radio id="licenseRadioGroup1" disabled="true"
    1.71 +             oncommand="gPluginInstaller.licenseRadioGroupChange(true)"
    1.72 +             label="&pluginWizard.licensePage.accept.label;"/>
    1.73 +      <radio id="licenseRadioGroup2" disabled="true" selected="true"
    1.74 +             oncommand="gPluginInstaller.licenseRadioGroupChange(false)"
    1.75 +             label="&pluginWizard.licensePage.deny.label;"/>
    1.76 +    </radiogroup>
    1.77 +  </wizardpage>
    1.78 +
    1.79 +  <wizardpage label="&pluginWizard.installPluginsPage.title;" 
    1.80 +              onpageshow="gPluginInstaller.startPluginInstallation()">
    1.81 +    <description value="&pluginWizard.installPluginsPage.description.label;"/>
    1.82 +
    1.83 +    <separator />
    1.84 +
    1.85 +    <description id="plugin_install_progress_message" value=""/>
    1.86 +    <progressmeter id="plugin_install_progress" mode="undetermined"/>
    1.87 +  </wizardpage>
    1.88 +
    1.89 +  <wizardpage id="lastpage" pageid="lastpage" 
    1.90 +              onpageshow="gPluginInstaller.showPluginResults()">
    1.91 +
    1.92 +    <description id="pluginSummaryDescription" 
    1.93 +                 value="&pluginWizard.finalPage.description.label;"/>
    1.94 +
    1.95 +    <separator />
    1.96 +
    1.97 +    <grid class="indent">
    1.98 +      <columns>
    1.99 +        <column/>
   1.100 +        <column style="margin-right:15px;"/>
   1.101 +        <column style="margin-right:15px;"/>
   1.102 +        <column />
   1.103 +      </columns>
   1.104 +
   1.105 +      <rows id="pluginResultList">
   1.106 +      </rows>
   1.107 +    </grid>
   1.108 +
   1.109 +    <description id="pluginSummaryRestartNeeded" style="padding-top:10px;"
   1.110 +                 value="&pluginWizard.finalPage.restart.label;"/>
   1.111 +    <spacer flex="1" />
   1.112 +    <description id="moreInfoLink"
   1.113 +      style="color:rgb(0, 0, 255); cursor:pointer; text-decoration:underline;"
   1.114 +      value="&pluginWizard.finalPage.moreInfo.label;"/>
   1.115 +  </wizardpage>
   1.116 +
   1.117 +</wizard>
   1.118 +

mercurial