toolkit/mozapps/extensions/content/extensions.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/mozapps/extensions/content/extensions.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,685 @@
     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/extensions/extensions.css"?>
    1.11 +<?xml-stylesheet href="chrome://mozapps/skin/extensions/extensions.css"?>
    1.12 +
    1.13 +<!DOCTYPE page [
    1.14 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
    1.15 +%brandDTD;
    1.16 +<!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/extensions.dtd">
    1.17 +%extensionsDTD;
    1.18 +]>
    1.19 +
    1.20 +<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.21 +      xmlns:xhtml="http://www.w3.org/1999/xhtml"
    1.22 +      id="addons-page" title="&addons.windowTitle;"
    1.23 +      role="application" windowtype="Addons:Manager"
    1.24 +      disablefastfind="true">
    1.25 +
    1.26 +  <xhtml:link rel="shortcut icon"
    1.27 +              href="chrome://mozapps/skin/extensions/extensionGeneric-16.png"/>
    1.28 +
    1.29 +  <script type="application/javascript"
    1.30 +          src="chrome://mozapps/content/extensions/extensions.js"/>
    1.31 +  <script type="application/javascript"
    1.32 +          src="chrome://global/content/contentAreaUtils.js"/>
    1.33 +
    1.34 +  <popupset>
    1.35 +    <!-- menu for an addon item -->
    1.36 +    <menupopup id="addonitem-popup">
    1.37 +      <menuitem id="menuitem_showDetails" command="cmd_showItemDetails"
    1.38 +                default="true" label="&cmd.showDetails.label;"
    1.39 +                accesskey="&cmd.showDetails.accesskey;"/>
    1.40 +      <menuitem id="menuitem_enableItem" command="cmd_enableItem"
    1.41 +                label="&cmd.enableAddon.label;"
    1.42 +                accesskey="&cmd.enableAddon.accesskey;"/>
    1.43 +      <menuitem id="menuitem_disableItem" command="cmd_disableItem"
    1.44 +                label="&cmd.disableAddon.label;"
    1.45 +                accesskey="&cmd.disableAddon.accesskey;"/>
    1.46 +      <menuitem id="menuitem_enableTheme" command="cmd_enableItem"
    1.47 +                label="&cmd.enableTheme.label;"
    1.48 +                accesskey="&cmd.enableTheme.accesskey;"/>
    1.49 +      <menuitem id="menuitem_disableTheme" command="cmd_disableItem"
    1.50 +                label="&cmd.disableTheme.label;"
    1.51 +                accesskey="&cmd.disableTheme.accesskey;"/>
    1.52 +      <menuitem id="menuitem_installItem" command="cmd_installItem"
    1.53 +                label="&cmd.installAddon.label;"
    1.54 +                accesskey="&cmd.installAddon.accesskey;"/>
    1.55 +      <menuitem id="menuitem_uninstallItem" command="cmd_uninstallItem"
    1.56 +                label="&cmd.uninstallAddon.label;"
    1.57 +                accesskey="&cmd.uninstallAddon.accesskey;"/>
    1.58 +      <menuitem id="menuitem_debugItem" command="cmd_debugItem"
    1.59 +                label="&cmd.debugAddon.label;"/>
    1.60 +      <menuseparator id="addonitem-menuseparator" />
    1.61 +      <menuitem id="menuitem_preferences" command="cmd_showItemPreferences"
    1.62 +#ifdef XP_WIN
    1.63 +                label="&cmd.preferencesWin.label;"
    1.64 +                accesskey="&cmd.preferencesWin.accesskey;"/>
    1.65 +#else
    1.66 +                label="&cmd.preferencesUnix.label;"
    1.67 +                accesskey="&cmd.preferencesUnix.accesskey;"/>
    1.68 +#endif
    1.69 +      <menuitem id="menuitem_findUpdates" command="cmd_findItemUpdates"
    1.70 +                label="&cmd.findUpdates.label;"
    1.71 +                accesskey="&cmd.findUpdates.accesskey;"/>
    1.72 +      <menuitem id="menuitem_about" command="cmd_showItemAbout"
    1.73 +                label="&cmd.about.label;"
    1.74 +                accesskey="&cmd.about.accesskey;"/>
    1.75 +    </menupopup>
    1.76 +  </popupset>
    1.77 +
    1.78 +  <!-- global commands - these act on all addons, or affect the addons manager
    1.79 +       in some other way -->
    1.80 +  <commandset id="globalCommandSet">
    1.81 +    <command id="cmd_focusSearch"/>
    1.82 +    <command id="cmd_findAllUpdates"/>
    1.83 +    <command id="cmd_restartApp"/>
    1.84 +    <command id="cmd_goToDiscoverPane"/>
    1.85 +    <command id="cmd_goToRecentUpdates"/>
    1.86 +    <command id="cmd_goToAvailableUpdates"/>
    1.87 +    <command id="cmd_installFromFile"/>
    1.88 +    <command id="cmd_back"/>
    1.89 +    <command id="cmd_forward"/>
    1.90 +    <command id="cmd_enableCheckCompatibility"/>
    1.91 +    <command id="cmd_pluginCheck"/>
    1.92 +    <command id="cmd_enableUpdateSecurity"/>
    1.93 +    <command id="cmd_toggleAutoUpdateDefault"/>
    1.94 +    <command id="cmd_resetAddonAutoUpdate"/>
    1.95 +    <command id="cmd_experimentsLearnMore"/>
    1.96 +    <command id="cmd_experimentsOpenTelemetryPreferences"/>
    1.97 +  </commandset>
    1.98 +
    1.99 +  <!-- view commands - these act on the selected addon -->
   1.100 +  <commandset id="viewCommandSet"
   1.101 +              events="richlistbox-select" commandupdater="true">
   1.102 +    <command id="cmd_showItemDetails"/>
   1.103 +    <command id="cmd_findItemUpdates"/>
   1.104 +    <command id="cmd_showItemPreferences"/>
   1.105 +    <command id="cmd_showItemAbout"/>
   1.106 +    <command id="cmd_debugItem"/>
   1.107 +    <command id="cmd_enableItem"/>
   1.108 +    <command id="cmd_disableItem"/>
   1.109 +    <command id="cmd_installItem"/>
   1.110 +    <command id="cmd_purchaseItem"/>
   1.111 +    <command id="cmd_uninstallItem"/>
   1.112 +    <command id="cmd_cancelUninstallItem"/>
   1.113 +    <command id="cmd_cancelOperation"/>
   1.114 +    <command id="cmd_contribute"/>
   1.115 +    <command id="cmd_askToActivateItem"/>
   1.116 +    <command id="cmd_alwaysActivateItem"/>
   1.117 +    <command id="cmd_neverActivateItem"/>
   1.118 +  </commandset>
   1.119 +
   1.120 +  <keyset>
   1.121 +    <!-- XXXunf Disabled until bug 371900 is fixed. -->
   1.122 +    <key id="focusSearch" key="&search.commandkey;" modifiers="accel"
   1.123 +         disabled="true"/>
   1.124 +  </keyset>
   1.125 +
   1.126 +  <!-- main header -->
   1.127 +  <hbox id="header" align="center">
   1.128 +    <toolbarbutton id="back-btn" class="nav-button header-button" command="cmd_back"
   1.129 +            tooltiptext="&cmd.back.tooltip;" hidden="true" disabled="true"/>
   1.130 +    <toolbarbutton id="forward-btn" class="nav-button header-button" command="cmd_forward"
   1.131 +            tooltiptext="&cmd.forward.tooltip;" hidden="true" disabled="true"/>
   1.132 +    <spacer flex="1"/>
   1.133 +    <hbox id="updates-container" align="center">
   1.134 +      <image class="spinner"/>
   1.135 +      <label id="updates-noneFound" hidden="true"
   1.136 +             value="&updates.noneFound.label;"/>
   1.137 +      <button id="updates-manualUpdatesFound-btn" class="button-link"
   1.138 +              hidden="true" label="&updates.manualUpdatesFound.label;"
   1.139 +              command="cmd_goToAvailableUpdates"/>
   1.140 +      <label id="updates-progress" hidden="true"
   1.141 +             value="&updates.updating.label;"/>
   1.142 +      <label id="updates-installed" hidden="true"
   1.143 +             value="&updates.installed.label;"/>
   1.144 +      <label id="updates-downloaded" hidden="true"
   1.145 +             value="&updates.downloaded.label;"/>
   1.146 +      <button id="updates-restart-btn" class="button-link" hidden="true"
   1.147 +              label="&updates.restart.label;"
   1.148 +              command="cmd_restartApp"/>
   1.149 +    </hbox>
   1.150 +    <toolbarbutton id="header-utils-btn" class="header-button" type="menu"
   1.151 +            tooltiptext="&toolsMenu.tooltip;">
   1.152 +      <menupopup id="utils-menu">
   1.153 +        <menuitem id="utils-updateNow"
   1.154 +                  label="&updates.checkForUpdates.label;"
   1.155 +                  accesskey="&updates.checkForUpdates.accesskey;"
   1.156 +                  command="cmd_findAllUpdates"/>
   1.157 +        <menuitem id="utils-viewUpdates"
   1.158 +                  label="&updates.viewUpdates.label;"
   1.159 +                  accesskey="&updates.viewUpdates.accesskey;"
   1.160 +                  command="cmd_goToRecentUpdates"/>
   1.161 +        <menuseparator id="utils-installFromFile-separator"/>
   1.162 +        <menuitem id="utils-installFromFile"
   1.163 +                  label="&installAddonFromFile.label;"
   1.164 +                  accesskey="&installAddonFromFile.accesskey;"
   1.165 +                  command="cmd_installFromFile"/>
   1.166 +        <menuseparator/>
   1.167 +        <menuitem id="utils-autoUpdateDefault"
   1.168 +                  label="&updates.updateAddonsAutomatically.label;"
   1.169 +                  accesskey="&updates.updateAddonsAutomatically.accesskey;"
   1.170 +                  type="checkbox" autocheck="false"
   1.171 +                  command="cmd_toggleAutoUpdateDefault"/>
   1.172 +        <menuitem id="utils-resetAddonUpdatesToAutomatic"
   1.173 +                  label="&updates.resetUpdatesToAutomatic.label;"
   1.174 +                  accesskey="&updates.resetUpdatesToAutomatic.accesskey;"
   1.175 +                  command="cmd_resetAddonAutoUpdate"/>
   1.176 +        <menuitem id="utils-resetAddonUpdatesToManual"
   1.177 +                  label="&updates.resetUpdatesToManual.label;"
   1.178 +                  accesskey="&updates.resetUpdatesToManual.accesskey;"
   1.179 +                  command="cmd_resetAddonAutoUpdate"/>
   1.180 +      </menupopup>
   1.181 +    </toolbarbutton>
   1.182 +    <textbox id="header-search" type="search" searchbutton="true"
   1.183 +             placeholder="&search.placeholder;"/>
   1.184 +  </hbox>
   1.185 +
   1.186 +  <hbox flex="1">
   1.187 +
   1.188 +    <!-- category list -->
   1.189 +    <richlistbox id="categories">
   1.190 +      <richlistitem id="category-search" value="addons://search/"
   1.191 +                    class="category"
   1.192 +                    name="&view.search.label;" priority="0"
   1.193 +                    tooltiptext="&view.search.label;" disabled="true"/>
   1.194 +      <richlistitem id="category-discover" value="addons://discover/"
   1.195 +                    class="category"
   1.196 +                    name="&view.discover.label;" priority="1000"
   1.197 +                    tooltiptext="&view.discover.label;"/>
   1.198 +      <richlistitem id="category-availableUpdates" value="addons://updates/available"
   1.199 +                    class="category"
   1.200 +                    name="&view.availableUpdates.label;" priority="100000"
   1.201 +                    tooltiptext="&view.availableUpdates.label;"
   1.202 +                    disabled="true"/>
   1.203 +      <richlistitem id="category-recentUpdates" value="addons://updates/recent"
   1.204 +                    class="category"
   1.205 +                    name="&view.recentUpdates.label;" priority="101000"
   1.206 +                    tooltiptext="&view.recentUpdates.label;" disabled="true"/>
   1.207 +    </richlistbox>
   1.208 +
   1.209 +    <box id="view-port-container" class="main-content" flex="1">
   1.210 +
   1.211 +      <!-- view port -->
   1.212 +      <deck id="view-port" flex="1" selectedIndex="0">
   1.213 +
   1.214 +        <!-- discover view -->
   1.215 +        <deck id="discover-view" flex="1" class="view-pane" selectedIndex="0" tabindex="0">
   1.216 +          <vbox id="discover-loading" align="center" pack="stretch" flex="1" class="alert-container">
   1.217 +            <spacer class="alert-spacer-before"/>
   1.218 +            <hbox class="alert loading" align="center">
   1.219 +              <image/>
   1.220 +              <label value="&loading.label;"/>
   1.221 +            </hbox>
   1.222 +            <spacer class="alert-spacer-after"/>
   1.223 +          </vbox>
   1.224 +          <vbox id="discover-error" align="center" pack="stretch" flex="1" class="alert-container">
   1.225 +            <spacer class="alert-spacer-before"/>
   1.226 +            <hbox>
   1.227 +              <spacer class="discover-spacer-before"/>
   1.228 +              <hbox class="alert" align="center">
   1.229 +                <image class="discover-logo"/>
   1.230 +                <vbox flex="1" align="stretch">
   1.231 +                  <label class="discover-title">&discover.title;</label>
   1.232 +                  <description class="discover-description">&discover.description2;</description>
   1.233 +                  <description class="discover-footer">&discover.footer;</description>
   1.234 +                </vbox>
   1.235 +              </hbox>
   1.236 +              <spacer class="discover-spacer-after"/>
   1.237 +            </hbox>
   1.238 +            <spacer class="alert-spacer-after"/>
   1.239 +          </vbox>
   1.240 +          <browser id="discover-browser" type="content" flex="1"
   1.241 +                   disablehistory="true" homepage="about:blank"/>
   1.242 +        </deck>
   1.243 +
   1.244 +        <!-- search view -->
   1.245 +        <vbox id="search-view" flex="1" class="view-pane" tabindex="0">
   1.246 +          <hbox class="view-header global-warning-container" align="center">
   1.247 +            <!-- global warnings -->
   1.248 +            <hbox class="global-warning" flex="1">
   1.249 +              <hbox class="global-warning-safemode" flex="1" align="center"
   1.250 +                    tooltiptext="&warning.safemode.label;">
   1.251 +                <image class="warning-icon"/>
   1.252 +                <label class="global-warning-text" flex="1" crop="end"
   1.253 +                       value="&warning.safemode.label;"/>
   1.254 +              </hbox>
   1.255 +              <hbox class="global-warning-checkcompatibility" flex="1" align="center"
   1.256 +                    tooltiptext="&warning.checkcompatibility.label;">
   1.257 +                <image class="warning-icon"/>
   1.258 +                <label class="global-warning-text" flex="1" crop="end"
   1.259 +                       value="&warning.checkcompatibility.label;"/>
   1.260 +              </hbox>
   1.261 +              <button class="button-link global-warning-checkcompatibility"
   1.262 +                      label="&warning.checkcompatibility.enable.label;"
   1.263 +                      tooltiptext="&warning.checkcompatibility.enable.tooltip;"
   1.264 +                      command="cmd_enableCheckCompatibility"/>
   1.265 +              <hbox class="global-warning-updatesecurity" flex="1" align="center"
   1.266 +                    tooltiptext="&warning.updatesecurity.label;">
   1.267 +                <image class="warning-icon"/>
   1.268 +                <label class="global-warning-text" flex="1" crop="end"
   1.269 +                       value="&warning.updatesecurity.label;"/>
   1.270 +              </hbox>
   1.271 +              <button class="button-link global-warning-updatesecurity"
   1.272 +                      label="&warning.updatesecurity.enable.label;"
   1.273 +                      tooltiptext="&warning.updatesecurity.enable.tooltip;"
   1.274 +                      command="cmd_enableUpdateSecurity"/>
   1.275 +              <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
   1.276 +            </hbox>
   1.277 +            <spacer flex="1"/>
   1.278 +            <hbox id="search-sorters" class="sort-controls"
   1.279 +                  showrelevance="true" sortby="relevancescore" ascending="false"/>
   1.280 +          </hbox>
   1.281 +          <hbox id="search-filter" align="center">
   1.282 +            <label id="search-filter-label" value="&search.filter2.label;"/>
   1.283 +            <radiogroup id="search-filter-radiogroup" orient="horizontal"
   1.284 +                        align="center" persist="value" value="remote">
   1.285 +              <radio id="search-filter-local" class="search-filter-radio"
   1.286 +                     label="&search.filter2.installed.label;" value="local"
   1.287 +                     tooltiptext="&search.filter2.installed.tooltip;"/>
   1.288 +              <radio id="search-filter-remote" class="search-filter-radio"
   1.289 +                     label="&search.filter2.available.label;" value="remote"
   1.290 +                     tooltiptext="&search.filter2.available.tooltip;"/>
   1.291 +            </radiogroup>
   1.292 +          </hbox>
   1.293 +          <vbox id="search-loading" class="alert-container"
   1.294 +                flex="1" hidden="true">
   1.295 +            <spacer class="alert-spacer-before"/>
   1.296 +            <hbox class="alert loading" align="center">
   1.297 +              <image/>
   1.298 +              <label value="&loading.label;"/>
   1.299 +            </hbox>
   1.300 +            <spacer class="alert-spacer-after"/>
   1.301 +          </vbox>
   1.302 +          <vbox id="search-list-empty" class="alert-container"
   1.303 +                flex="1" hidden="true">
   1.304 +            <spacer class="alert-spacer-before"/>
   1.305 +            <vbox class="alert">
   1.306 +              <label value="&listEmpty.search.label;"/>
   1.307 +              <button class="discover-button"
   1.308 +                      id="discover-button-search"
   1.309 +                      label="&listEmpty.button.label;"
   1.310 +                      command="cmd_goToDiscoverPane"/>
   1.311 +            </vbox>
   1.312 +            <spacer class="alert-spacer-after"/>
   1.313 +          </vbox>
   1.314 +          <richlistbox id="search-list" class="list" flex="1">
   1.315 +            <hbox pack="center">
   1.316 +              <label id="search-allresults-link" class="text-link"/>
   1.317 +            </hbox>
   1.318 +          </richlistbox>
   1.319 +        </vbox>
   1.320 +
   1.321 +        <!-- list view -->
   1.322 +        <vbox id="list-view" flex="1" class="view-pane" align="stretch" tabindex="0">
   1.323 +          <hbox class="view-header global-warning-container">
   1.324 +            <!-- global warnings -->
   1.325 +            <hbox class="global-warning" flex="1">
   1.326 +              <hbox class="global-warning-safemode" flex="1" align="center"
   1.327 +                    tooltiptext="&warning.safemode.label;">
   1.328 +                <image class="warning-icon"/>
   1.329 +                <label class="global-warning-text" flex="1" crop="end"
   1.330 +                       value="&warning.safemode.label;"/>
   1.331 +              </hbox>
   1.332 +              <hbox class="global-warning-checkcompatibility" flex="1" align="center"
   1.333 +                    tooltiptext="&warning.checkcompatibility.label;">
   1.334 +                <image class="warning-icon"/>
   1.335 +                <label class="global-warning-text" flex="1" crop="end"
   1.336 +                       value="&warning.checkcompatibility.label;"/>
   1.337 +              </hbox>
   1.338 +              <button class="button-link global-warning-checkcompatibility"
   1.339 +                      label="&warning.checkcompatibility.enable.label;"
   1.340 +                      tooltiptext="&warning.checkcompatibility.enable.tooltip;"
   1.341 +                      command="cmd_enableCheckCompatibility"/>
   1.342 +              <hbox class="global-warning-updatesecurity" flex="1" align="center"
   1.343 +                    tooltiptext="&warning.updatesecurity.label;">
   1.344 +                <image class="warning-icon"/>
   1.345 +                <label class="global-warning-text" flex="1" crop="end"
   1.346 +                       value="&warning.updatesecurity.label;"/>
   1.347 +              </hbox>
   1.348 +              <button class="button-link global-warning-updatesecurity"
   1.349 +                      label="&warning.updatesecurity.enable.label;"
   1.350 +                      tooltiptext="&warning.updatesecurity.enable.tooltip;"
   1.351 +                      command="cmd_enableUpdateSecurity"/>
   1.352 +              <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
   1.353 +            </hbox>
   1.354 +          </hbox>
   1.355 +          <hbox class="view-header global-info-container plugin-info-container">
   1.356 +            <hbox class="global-info" flex="1" align="center">
   1.357 +              <button class="button-link global-info-plugincheck"
   1.358 +                      label="&info.plugincheck.label;"
   1.359 +                      tooltiptext="&info.plugincheck.tooltip;"
   1.360 +                      command="cmd_pluginCheck"/>
   1.361 +              <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
   1.362 +            </hbox>
   1.363 +          </hbox>
   1.364 +          <hbox class="view-header global-info-container experiment-info-container">
   1.365 +            <hbox class="global-info" flex="1" align="center">
   1.366 +              <label value="&experiment.info.label;"/>
   1.367 +              <button id="experiments-learn-more"
   1.368 +                      label="&experiment.info.learnmore;"
   1.369 +                      tooltiptext="&experiment.info.learnmore;"
   1.370 +                      accesskey="&experiment.info.learnmore.accesskey;"
   1.371 +                      command="cmd_experimentsLearnMore"/>
   1.372 +              <button id="experiments-change-telemetry"
   1.373 +                      label="&experiment.info.changetelemetry;"
   1.374 +                      tooltiptext="&experiment.info.changetelemetry;"
   1.375 +                      accesskey="&experiment.info.changetelemetry.accesskey;"
   1.376 +                      command="cmd_experimentsOpenTelemetryPreferences"/>
   1.377 +              <spacer flex="5000"/> <!-- Necessary to allow the message to wrap. -->
   1.378 +            </hbox>
   1.379 +          </hbox>
   1.380 +          <vbox id="addon-list-empty" class="alert-container"
   1.381 +                flex="1" hidden="true">
   1.382 +            <spacer class="alert-spacer-before"/>
   1.383 +            <vbox class="alert">
   1.384 +              <label value="&listEmpty.installed.label;"/>
   1.385 +              <button class="discover-button"
   1.386 +                      id="discover-button-install"
   1.387 +                      label="&listEmpty.button.label;"
   1.388 +                      command="cmd_goToDiscoverPane"/>
   1.389 +            </vbox>
   1.390 +            <spacer class="alert-spacer-after"/>
   1.391 +          </vbox>
   1.392 +          <richlistbox id="addon-list" class="list" flex="1"/>
   1.393 +        </vbox>
   1.394 +
   1.395 +        <!-- updates view -->
   1.396 +        <vbox id="updates-view" flex="1" class="view-pane" tabindex="0">
   1.397 +          <hbox class="view-header global-warning-container" align="center">
   1.398 +            <!-- global warnings -->
   1.399 +            <hbox class="global-warning" flex="1">
   1.400 +              <hbox class="global-warning-safemode" flex="1" align="center"
   1.401 +                    tooltiptext="&warning.safemode.label;">
   1.402 +                <image class="warning-icon"/>
   1.403 +                <label class="global-warning-text" flex="1" crop="end"
   1.404 +                       value="&warning.safemode.label;"/>
   1.405 +              </hbox>
   1.406 +              <hbox class="global-warning-checkcompatibility" flex="1" align="center"
   1.407 +                    tooltiptext="&warning.checkcompatibility.label;">
   1.408 +                <image class="warning-icon"/>
   1.409 +                <label class="global-warning-text" flex="1" crop="end"
   1.410 +                       value="&warning.checkcompatibility.label;"/>
   1.411 +              </hbox>
   1.412 +              <button class="button-link global-warning-checkcompatibility"
   1.413 +                      label="&warning.checkcompatibility.enable.label;"
   1.414 +                      tooltiptext="&warning.checkcompatibility.enable.tooltip;"
   1.415 +                      command="cmd_enableCheckCompatibility"/>
   1.416 +              <hbox class="global-warning-updatesecurity" flex="1" align="center"
   1.417 +                    tooltiptext="&warning.updatesecurity.label;">
   1.418 +                <image class="warning-icon"/>
   1.419 +                <label class="global-warning-text" flex="1" crop="end"
   1.420 +                       value="&warning.updatesecurity.label;"/>
   1.421 +              </hbox>
   1.422 +              <button class="button-link global-warning-updatesecurity"
   1.423 +                      label="&warning.updatesecurity.enable.label;"
   1.424 +                      tooltiptext="&warning.updatesecurity.enable.tooltip;"
   1.425 +                      command="cmd_enableUpdateSecurity"/>
   1.426 +              <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
   1.427 +            </hbox>
   1.428 +            <spacer flex="1"/>
   1.429 +            <hbox id="updates-sorters" class="sort-controls" sortby="updateDate"
   1.430 +                  ascending="false"/>
   1.431 +          </hbox>
   1.432 +          <vbox id="updates-list-empty" class="alert-container"
   1.433 +                flex="1" hidden="true">
   1.434 +            <spacer class="alert-spacer-before"/>
   1.435 +            <vbox class="alert">
   1.436 +              <label id="empty-availableUpdates-msg" value="&listEmpty.availableUpdates.label;"/>
   1.437 +              <label id="empty-recentUpdates-msg" value="&listEmpty.recentUpdates.label;"/>
   1.438 +              <button label="&listEmpty.findUpdates.label;"
   1.439 +                      command="cmd_findAllUpdates"/>
   1.440 +            </vbox>
   1.441 +            <spacer class="alert-spacer-after"/>
   1.442 +          </vbox>
   1.443 +          <hbox id="update-actions" pack="center">
   1.444 +            <button id="update-selected-btn" hidden="true"
   1.445 +                    label="&updates.updateSelected.label;"
   1.446 +                    tooltiptext="&updates.updateSelected.tooltip;"/>
   1.447 +          </hbox>
   1.448 +          <richlistbox id="updates-list" class="list" flex="1"/>
   1.449 +        </vbox>
   1.450 +
   1.451 +        <!-- detail view -->
   1.452 +        <scrollbox id="detail-view" flex="1" class="view-pane addon-view" orient="vertical" tabindex="0">
   1.453 +          <!-- global warnings -->
   1.454 +          <hbox class="global-warning-container global-warning">
   1.455 +            <hbox class="global-warning-safemode" flex="1" align="center"
   1.456 +                  tooltiptext="&warning.safemode.label;">
   1.457 +              <image class="warning-icon"/>
   1.458 +              <label class="global-warning-text" flex="1" crop="end"
   1.459 +                     value="&warning.safemode.label;"/>
   1.460 +            </hbox>
   1.461 +            <hbox class="global-warning-checkcompatibility" flex="1" align="center"
   1.462 +                  tooltiptext="&warning.checkcompatibility.label;">
   1.463 +              <image class="warning-icon"/>
   1.464 +              <label class="global-warning-text" flex="1" crop="end"
   1.465 +                     value="&warning.checkcompatibility.label;"/>
   1.466 +            </hbox>
   1.467 +            <button class="button-link global-warning-checkcompatibility"
   1.468 +                    label="&warning.checkcompatibility.enable.label;"
   1.469 +                    tooltiptext="&warning.checkcompatibility.enable.tooltip;"
   1.470 +                    command="cmd_enableCheckCompatibility"/>
   1.471 +            <hbox class="global-warning-updatesecurity" flex="1" align="center"
   1.472 +                  tooltiptext="&warning.updatesecurity.label;">
   1.473 +              <image class="warning-icon"/>
   1.474 +              <label class="global-warning-text" flex="1" crop="end"
   1.475 +                     value="&warning.updatesecurity.label;"/>
   1.476 +            </hbox>
   1.477 +            <button class="button-link global-warning-updatesecurity"
   1.478 +                    label="&warning.updatesecurity.enable.label;"
   1.479 +                    tooltiptext="&warning.updatesecurity.enable.tooltip;"
   1.480 +                    command="cmd_enableUpdateSecurity"/>
   1.481 +            <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
   1.482 +          </hbox>
   1.483 +          <hbox flex="1">
   1.484 +            <spacer flex="1"/>
   1.485 +            <!-- "loading" splash screen -->
   1.486 +            <vbox class="alert-container">
   1.487 +              <spacer class="alert-spacer-before"/>
   1.488 +              <hbox class="alert loading">
   1.489 +                <image/>
   1.490 +                <label value="&loading.label;"/>
   1.491 +              </hbox>
   1.492 +              <spacer class="alert-spacer-after"/>
   1.493 +            </vbox>
   1.494 +            <!-- actual detail view -->
   1.495 +            <vbox class="detail-view-container" flex="3" contextmenu="addonitem-popup">
   1.496 +              <vbox id="detail-notifications">
   1.497 +                <hbox id="warning-container" align="center" class="warning">
   1.498 +                  <image class="warning-icon"/>
   1.499 +                  <label id="detail-warning" flex="1"/>
   1.500 +                  <label id="detail-warning-link" class="text-link"/>
   1.501 +                  <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
   1.502 +                </hbox>
   1.503 +                <hbox id="error-container" align="center" class="error">
   1.504 +                  <image class="error-icon"/>
   1.505 +                  <label id="detail-error" flex="1"/>
   1.506 +                  <label id="detail-error-link" class="text-link"/>
   1.507 +                  <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
   1.508 +                </hbox>
   1.509 +                <hbox id="pending-container" align="center" class="pending">
   1.510 +                  <image class="pending-icon"/>
   1.511 +                  <label id="detail-pending" flex="1"/>
   1.512 +                  <button id="detail-restart-btn" class="button-link"
   1.513 +                          label="&addon.restartNow.label;"
   1.514 +                          command="cmd_restartApp"/>
   1.515 +                  <button id="detail-undo-btn" class="button-link"
   1.516 +                          label="&addon.undoAction.label;"
   1.517 +                          tooltipText="&addon.undoAction.tooltip;"
   1.518 +                          command="cmd_cancelOperation"/>
   1.519 +                  <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
   1.520 +                </hbox>
   1.521 +              </vbox>
   1.522 +              <hbox align="start">
   1.523 +                <vbox id="detail-icon-container" align="end">
   1.524 +                  <image id="detail-icon" class="icon"/>
   1.525 +                </vbox>
   1.526 +                <vbox flex="1">
   1.527 +                  <vbox id="detail-summary">
   1.528 +                    <hbox id="detail-name-container" class="name-container"
   1.529 +                          align="start">
   1.530 +                      <label id="detail-name" flex="1"/>
   1.531 +                      <label id="detail-version"/>
   1.532 +                      <label class="disabled-postfix" value="&addon.disabled.postfix;"/>
   1.533 +                      <label class="update-postfix" value="&addon.update.postfix;"/>
   1.534 +                      <spacer flex="5000"/> <!-- Necessary to allow the name to wrap -->
   1.535 +                    </hbox>
   1.536 +                    <label id="detail-creator" class="creator"/>
   1.537 +                  </vbox>
   1.538 +                  <hbox id="detail-experiment-container">
   1.539 +                    <svg width="8" height="8" viewBox="0 0 8 8" version="1.1"
   1.540 +                         xmlns="http://www.w3.org/2000/svg"
   1.541 +                         id="detail-experiment-bullet-container">
   1.542 +                      <circle cx="4" cy="4" r="4" id="detail-experiment-bullet"/>
   1.543 +                    </svg>
   1.544 +                    <label id="detail-experiment-state"/>
   1.545 +                    <label id="detail-experiment-time"/>
   1.546 +                  </hbox>
   1.547 +                  <hbox id="detail-desc-container" align="start">
   1.548 +                    <vbox pack="center"> <!-- Necessary to work around bug 394738 -->
   1.549 +                      <image id="detail-screenshot" hidden="true"/>
   1.550 +                    </vbox>
   1.551 +                    <vbox flex="1">
   1.552 +                      <description id="detail-desc"/>
   1.553 +                      <description id="detail-fulldesc"/>
   1.554 +                    </vbox>
   1.555 +                  </hbox>
   1.556 +                  <vbox id="detail-contributions">
   1.557 +                    <description id="detail-contrib-description">
   1.558 +                      &detail.contributions.description;
   1.559 +                    </description>
   1.560 +                    <hbox align="center">
   1.561 +                      <label id="detail-contrib-suggested"/>
   1.562 +                      <spacer flex="1"/>
   1.563 +                      <button id="detail-contrib-btn"
   1.564 +                              label="&cmd.contribute.label;"
   1.565 +                              accesskey="&cmd.contribute.accesskey;"
   1.566 +                              tooltiptext="&cmd.contribute.tooltip;"
   1.567 +                              command="cmd_contribute"/>
   1.568 +                    </hbox>
   1.569 +                  </vbox>
   1.570 +                  <grid id="detail-grid">
   1.571 +                    <columns>
   1.572 +                       <column flex="1"/>
   1.573 +                       <column flex="2"/>
   1.574 +                    </columns>
   1.575 +                    <rows id="detail-rows">
   1.576 +                      <row class="detail-row-complex" id="detail-updates-row">
   1.577 +                        <label class="detail-row-label" value="&detail.updateType;"/>
   1.578 +                        <hbox align="center">
   1.579 +                          <radiogroup id="detail-autoUpdate" orient="horizontal">
   1.580 +                            <!-- The values here need to match the values of
   1.581 +                                 AddonManager.AUTOUPDATE_* -->
   1.582 +                            <radio label="&detail.updateDefault.label;"
   1.583 +                                   tooltiptext="&detail.updateDefault.tooltip;"
   1.584 +                                   value="1"/>
   1.585 +                            <radio label="&detail.updateAutomatic.label;"
   1.586 +                                   tooltiptext="&detail.updateAutomatic.tooltip;"
   1.587 +                                   value="2"/>
   1.588 +                            <radio label="&detail.updateManual.label;"
   1.589 +                                   tooltiptext="&detail.updateManual.tooltip;"
   1.590 +                                   value="0"/>
   1.591 +                          </radiogroup>
   1.592 +                          <button id="detail-findUpdates-btn" class="button-link"
   1.593 +                                  label="&detail.checkForUpdates.label;"
   1.594 +                                  accesskey="&detail.checkForUpdates.accesskey;"
   1.595 +                                  tooltiptext="&detail.checkForUpdates.tooltip;"
   1.596 +                                  command="cmd_findItemUpdates"/>
   1.597 +                        </hbox>
   1.598 +                      </row>
   1.599 +                      <row class="detail-row" id="detail-dateUpdated" label="&detail.lastupdated.label;"/>
   1.600 +                      <row class="detail-row-complex" id="detail-homepage-row" label="&detail.home;">
   1.601 +                        <label class="detail-row-label" value="&detail.home;"/>
   1.602 +                        <label id="detail-homepage" class="detail-row-value text-link" crop="end"/>
   1.603 +                      </row>
   1.604 +                      <row class="detail-row-complex" id="detail-repository-row" label="&detail.repository;">
   1.605 +                        <label class="detail-row-label" value="&detail.repository;"/>
   1.606 +                        <label id="detail-repository" class="detail-row-value text-link"/>
   1.607 +                      </row>
   1.608 +                      <row class="detail-row" id="detail-size" label="&detail.size;"/>
   1.609 +                      <row class="detail-row-complex" id="detail-rating-row">
   1.610 +                        <label class="detail-row-label" value="&rating2.label;"/>
   1.611 +                        <hbox>
   1.612 +                          <label id="detail-rating" class="meta-value meta-rating"
   1.613 +                                 showrating="average"/>
   1.614 +                          <label id="detail-reviews" class="text-link"/>
   1.615 +                        </hbox>
   1.616 +                      </row>
   1.617 +                      <row class="detail-row" id="detail-downloads" label="&detail.numberOfDownloads.label;"/>
   1.618 +                    </rows>
   1.619 +                  </grid>
   1.620 +                  <hbox id="detail-controls">
   1.621 +                    <button id="detail-prefs-btn" class="addon-control preferences"
   1.622 +#ifdef XP_WIN
   1.623 +                            label="&detail.showPreferencesWin.label;"
   1.624 +                            accesskey="&detail.showPreferencesWin.accesskey;"
   1.625 +                            tooltiptext="&detail.showPreferencesWin.tooltip;"
   1.626 +#else
   1.627 +                            label="&detail.showPreferencesUnix.label;"
   1.628 +                            accesskey="&detail.showPreferencesUnix.accesskey;"
   1.629 +                            tooltiptext="&detail.showPreferencesUnix.tooltip;"
   1.630 +#endif
   1.631 +                            command="cmd_showItemPreferences"/>
   1.632 +                    <spacer flex="1"/>
   1.633 +                    <button id="detail-debug-btn" class="addon-control debug"
   1.634 +                            label="Debug"
   1.635 +                            command="cmd_debugItem" />
   1.636 +                    <button id="detail-enable-btn" class="addon-control enable"
   1.637 +                            label="&cmd.enableAddon.label;"
   1.638 +                            accesskey="&cmd.enableAddon.accesskey;"
   1.639 +                            command="cmd_enableItem"/>
   1.640 +                    <button id="detail-disable-btn" class="addon-control disable"
   1.641 +                            label="&cmd.disableAddon.label;"
   1.642 +                            accesskey="&cmd.disableAddon.accesskey;"
   1.643 +                            command="cmd_disableItem"/>
   1.644 +                    <button id="detail-uninstall-btn" class="addon-control remove"
   1.645 +                            label="&cmd.uninstallAddon.label;"
   1.646 +                            accesskey="&cmd.uninstallAddon.accesskey;"
   1.647 +                            command="cmd_uninstallItem"/>
   1.648 +                    <button id="detail-purchase-btn" class="addon-control purchase"
   1.649 +                            command="cmd_purchaseItem"/>
   1.650 +                    <button id="detail-install-btn" class="addon-control install"
   1.651 +                            label="&cmd.installAddon.label;"
   1.652 +                            accesskey="&cmd.installAddon.accesskey;"
   1.653 +                            command="cmd_installItem"/>
   1.654 +                    <menulist id="detail-state-menulist"
   1.655 +                              crop="none" sizetopopup="always"
   1.656 +                              tooltiptext="&cmd.stateMenu.tooltip;">
   1.657 +                      <menupopup>
   1.658 +                        <menuitem id="detail-ask-to-activate-menuitem"
   1.659 +                                  class="addon-control"
   1.660 +                                  label="&cmd.askToActivate.label;"
   1.661 +                                  tooltiptext="&cmd.askToActivate.tooltip;"
   1.662 +                                  command="cmd_askToActivateItem"/>
   1.663 +                        <menuitem id="detail-always-activate-menuitem"
   1.664 +                                  class="addon-control"
   1.665 +                                  label="&cmd.alwaysActivate.label;"
   1.666 +                                  tooltiptext="&cmd.alwaysActivate.tooltip;"
   1.667 +                                  command="cmd_alwaysActivateItem"/>
   1.668 +                        <menuitem id="detail-never-activate-menuitem"
   1.669 +                                  class="addon-control"
   1.670 +                                  label="&cmd.neverActivate.label;"
   1.671 +                                  tooltiptext="&cmd.neverActivate.tooltip;"
   1.672 +                                  command="cmd_neverActivateItem"/>
   1.673 +                      </menupopup>
   1.674 +                    </menulist>
   1.675 +                  </hbox>
   1.676 +                </vbox>
   1.677 +              </hbox>
   1.678 +            </vbox>
   1.679 +            <spacer flex="1"/>
   1.680 +          </hbox>
   1.681 +        </scrollbox>
   1.682 +
   1.683 +      </deck>
   1.684 +
   1.685 +    </box>
   1.686 +  </hbox>
   1.687 +
   1.688 +</page>

mercurial