Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | |
michael@0 | 6 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 7 | <?xml-stylesheet href="chrome://mozapps/content/extensions/extensions.css"?> |
michael@0 | 8 | <?xml-stylesheet href="chrome://mozapps/skin/extensions/extensions.css"?> |
michael@0 | 9 | |
michael@0 | 10 | <!DOCTYPE page [ |
michael@0 | 11 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" > |
michael@0 | 12 | %brandDTD; |
michael@0 | 13 | <!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/extensions.dtd"> |
michael@0 | 14 | %extensionsDTD; |
michael@0 | 15 | ]> |
michael@0 | 16 | |
michael@0 | 17 | <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 18 | xmlns:xhtml="http://www.w3.org/1999/xhtml" |
michael@0 | 19 | id="addons-page" title="&addons.windowTitle;" |
michael@0 | 20 | role="application" windowtype="Addons:Manager" |
michael@0 | 21 | disablefastfind="true"> |
michael@0 | 22 | |
michael@0 | 23 | <xhtml:link rel="shortcut icon" |
michael@0 | 24 | href="chrome://mozapps/skin/extensions/extensionGeneric-16.png"/> |
michael@0 | 25 | |
michael@0 | 26 | <script type="application/javascript" |
michael@0 | 27 | src="chrome://mozapps/content/extensions/extensions.js"/> |
michael@0 | 28 | <script type="application/javascript" |
michael@0 | 29 | src="chrome://global/content/contentAreaUtils.js"/> |
michael@0 | 30 | |
michael@0 | 31 | <popupset> |
michael@0 | 32 | <!-- menu for an addon item --> |
michael@0 | 33 | <menupopup id="addonitem-popup"> |
michael@0 | 34 | <menuitem id="menuitem_showDetails" command="cmd_showItemDetails" |
michael@0 | 35 | default="true" label="&cmd.showDetails.label;" |
michael@0 | 36 | accesskey="&cmd.showDetails.accesskey;"/> |
michael@0 | 37 | <menuitem id="menuitem_enableItem" command="cmd_enableItem" |
michael@0 | 38 | label="&cmd.enableAddon.label;" |
michael@0 | 39 | accesskey="&cmd.enableAddon.accesskey;"/> |
michael@0 | 40 | <menuitem id="menuitem_disableItem" command="cmd_disableItem" |
michael@0 | 41 | label="&cmd.disableAddon.label;" |
michael@0 | 42 | accesskey="&cmd.disableAddon.accesskey;"/> |
michael@0 | 43 | <menuitem id="menuitem_enableTheme" command="cmd_enableItem" |
michael@0 | 44 | label="&cmd.enableTheme.label;" |
michael@0 | 45 | accesskey="&cmd.enableTheme.accesskey;"/> |
michael@0 | 46 | <menuitem id="menuitem_disableTheme" command="cmd_disableItem" |
michael@0 | 47 | label="&cmd.disableTheme.label;" |
michael@0 | 48 | accesskey="&cmd.disableTheme.accesskey;"/> |
michael@0 | 49 | <menuitem id="menuitem_installItem" command="cmd_installItem" |
michael@0 | 50 | label="&cmd.installAddon.label;" |
michael@0 | 51 | accesskey="&cmd.installAddon.accesskey;"/> |
michael@0 | 52 | <menuitem id="menuitem_uninstallItem" command="cmd_uninstallItem" |
michael@0 | 53 | label="&cmd.uninstallAddon.label;" |
michael@0 | 54 | accesskey="&cmd.uninstallAddon.accesskey;"/> |
michael@0 | 55 | <menuitem id="menuitem_debugItem" command="cmd_debugItem" |
michael@0 | 56 | label="&cmd.debugAddon.label;"/> |
michael@0 | 57 | <menuseparator id="addonitem-menuseparator" /> |
michael@0 | 58 | <menuitem id="menuitem_preferences" command="cmd_showItemPreferences" |
michael@0 | 59 | #ifdef XP_WIN |
michael@0 | 60 | label="&cmd.preferencesWin.label;" |
michael@0 | 61 | accesskey="&cmd.preferencesWin.accesskey;"/> |
michael@0 | 62 | #else |
michael@0 | 63 | label="&cmd.preferencesUnix.label;" |
michael@0 | 64 | accesskey="&cmd.preferencesUnix.accesskey;"/> |
michael@0 | 65 | #endif |
michael@0 | 66 | <menuitem id="menuitem_findUpdates" command="cmd_findItemUpdates" |
michael@0 | 67 | label="&cmd.findUpdates.label;" |
michael@0 | 68 | accesskey="&cmd.findUpdates.accesskey;"/> |
michael@0 | 69 | <menuitem id="menuitem_about" command="cmd_showItemAbout" |
michael@0 | 70 | label="&cmd.about.label;" |
michael@0 | 71 | accesskey="&cmd.about.accesskey;"/> |
michael@0 | 72 | </menupopup> |
michael@0 | 73 | </popupset> |
michael@0 | 74 | |
michael@0 | 75 | <!-- global commands - these act on all addons, or affect the addons manager |
michael@0 | 76 | in some other way --> |
michael@0 | 77 | <commandset id="globalCommandSet"> |
michael@0 | 78 | <command id="cmd_focusSearch"/> |
michael@0 | 79 | <command id="cmd_findAllUpdates"/> |
michael@0 | 80 | <command id="cmd_restartApp"/> |
michael@0 | 81 | <command id="cmd_goToDiscoverPane"/> |
michael@0 | 82 | <command id="cmd_goToRecentUpdates"/> |
michael@0 | 83 | <command id="cmd_goToAvailableUpdates"/> |
michael@0 | 84 | <command id="cmd_installFromFile"/> |
michael@0 | 85 | <command id="cmd_back"/> |
michael@0 | 86 | <command id="cmd_forward"/> |
michael@0 | 87 | <command id="cmd_enableCheckCompatibility"/> |
michael@0 | 88 | <command id="cmd_pluginCheck"/> |
michael@0 | 89 | <command id="cmd_enableUpdateSecurity"/> |
michael@0 | 90 | <command id="cmd_toggleAutoUpdateDefault"/> |
michael@0 | 91 | <command id="cmd_resetAddonAutoUpdate"/> |
michael@0 | 92 | <command id="cmd_experimentsLearnMore"/> |
michael@0 | 93 | <command id="cmd_experimentsOpenTelemetryPreferences"/> |
michael@0 | 94 | </commandset> |
michael@0 | 95 | |
michael@0 | 96 | <!-- view commands - these act on the selected addon --> |
michael@0 | 97 | <commandset id="viewCommandSet" |
michael@0 | 98 | events="richlistbox-select" commandupdater="true"> |
michael@0 | 99 | <command id="cmd_showItemDetails"/> |
michael@0 | 100 | <command id="cmd_findItemUpdates"/> |
michael@0 | 101 | <command id="cmd_showItemPreferences"/> |
michael@0 | 102 | <command id="cmd_showItemAbout"/> |
michael@0 | 103 | <command id="cmd_debugItem"/> |
michael@0 | 104 | <command id="cmd_enableItem"/> |
michael@0 | 105 | <command id="cmd_disableItem"/> |
michael@0 | 106 | <command id="cmd_installItem"/> |
michael@0 | 107 | <command id="cmd_purchaseItem"/> |
michael@0 | 108 | <command id="cmd_uninstallItem"/> |
michael@0 | 109 | <command id="cmd_cancelUninstallItem"/> |
michael@0 | 110 | <command id="cmd_cancelOperation"/> |
michael@0 | 111 | <command id="cmd_contribute"/> |
michael@0 | 112 | <command id="cmd_askToActivateItem"/> |
michael@0 | 113 | <command id="cmd_alwaysActivateItem"/> |
michael@0 | 114 | <command id="cmd_neverActivateItem"/> |
michael@0 | 115 | </commandset> |
michael@0 | 116 | |
michael@0 | 117 | <keyset> |
michael@0 | 118 | <!-- XXXunf Disabled until bug 371900 is fixed. --> |
michael@0 | 119 | <key id="focusSearch" key="&search.commandkey;" modifiers="accel" |
michael@0 | 120 | disabled="true"/> |
michael@0 | 121 | </keyset> |
michael@0 | 122 | |
michael@0 | 123 | <!-- main header --> |
michael@0 | 124 | <hbox id="header" align="center"> |
michael@0 | 125 | <toolbarbutton id="back-btn" class="nav-button header-button" command="cmd_back" |
michael@0 | 126 | tooltiptext="&cmd.back.tooltip;" hidden="true" disabled="true"/> |
michael@0 | 127 | <toolbarbutton id="forward-btn" class="nav-button header-button" command="cmd_forward" |
michael@0 | 128 | tooltiptext="&cmd.forward.tooltip;" hidden="true" disabled="true"/> |
michael@0 | 129 | <spacer flex="1"/> |
michael@0 | 130 | <hbox id="updates-container" align="center"> |
michael@0 | 131 | <image class="spinner"/> |
michael@0 | 132 | <label id="updates-noneFound" hidden="true" |
michael@0 | 133 | value="&updates.noneFound.label;"/> |
michael@0 | 134 | <button id="updates-manualUpdatesFound-btn" class="button-link" |
michael@0 | 135 | hidden="true" label="&updates.manualUpdatesFound.label;" |
michael@0 | 136 | command="cmd_goToAvailableUpdates"/> |
michael@0 | 137 | <label id="updates-progress" hidden="true" |
michael@0 | 138 | value="&updates.updating.label;"/> |
michael@0 | 139 | <label id="updates-installed" hidden="true" |
michael@0 | 140 | value="&updates.installed.label;"/> |
michael@0 | 141 | <label id="updates-downloaded" hidden="true" |
michael@0 | 142 | value="&updates.downloaded.label;"/> |
michael@0 | 143 | <button id="updates-restart-btn" class="button-link" hidden="true" |
michael@0 | 144 | label="&updates.restart.label;" |
michael@0 | 145 | command="cmd_restartApp"/> |
michael@0 | 146 | </hbox> |
michael@0 | 147 | <toolbarbutton id="header-utils-btn" class="header-button" type="menu" |
michael@0 | 148 | tooltiptext="&toolsMenu.tooltip;"> |
michael@0 | 149 | <menupopup id="utils-menu"> |
michael@0 | 150 | <menuitem id="utils-updateNow" |
michael@0 | 151 | label="&updates.checkForUpdates.label;" |
michael@0 | 152 | accesskey="&updates.checkForUpdates.accesskey;" |
michael@0 | 153 | command="cmd_findAllUpdates"/> |
michael@0 | 154 | <menuitem id="utils-viewUpdates" |
michael@0 | 155 | label="&updates.viewUpdates.label;" |
michael@0 | 156 | accesskey="&updates.viewUpdates.accesskey;" |
michael@0 | 157 | command="cmd_goToRecentUpdates"/> |
michael@0 | 158 | <menuseparator id="utils-installFromFile-separator"/> |
michael@0 | 159 | <menuitem id="utils-installFromFile" |
michael@0 | 160 | label="&installAddonFromFile.label;" |
michael@0 | 161 | accesskey="&installAddonFromFile.accesskey;" |
michael@0 | 162 | command="cmd_installFromFile"/> |
michael@0 | 163 | <menuseparator/> |
michael@0 | 164 | <menuitem id="utils-autoUpdateDefault" |
michael@0 | 165 | label="&updates.updateAddonsAutomatically.label;" |
michael@0 | 166 | accesskey="&updates.updateAddonsAutomatically.accesskey;" |
michael@0 | 167 | type="checkbox" autocheck="false" |
michael@0 | 168 | command="cmd_toggleAutoUpdateDefault"/> |
michael@0 | 169 | <menuitem id="utils-resetAddonUpdatesToAutomatic" |
michael@0 | 170 | label="&updates.resetUpdatesToAutomatic.label;" |
michael@0 | 171 | accesskey="&updates.resetUpdatesToAutomatic.accesskey;" |
michael@0 | 172 | command="cmd_resetAddonAutoUpdate"/> |
michael@0 | 173 | <menuitem id="utils-resetAddonUpdatesToManual" |
michael@0 | 174 | label="&updates.resetUpdatesToManual.label;" |
michael@0 | 175 | accesskey="&updates.resetUpdatesToManual.accesskey;" |
michael@0 | 176 | command="cmd_resetAddonAutoUpdate"/> |
michael@0 | 177 | </menupopup> |
michael@0 | 178 | </toolbarbutton> |
michael@0 | 179 | <textbox id="header-search" type="search" searchbutton="true" |
michael@0 | 180 | placeholder="&search.placeholder;"/> |
michael@0 | 181 | </hbox> |
michael@0 | 182 | |
michael@0 | 183 | <hbox flex="1"> |
michael@0 | 184 | |
michael@0 | 185 | <!-- category list --> |
michael@0 | 186 | <richlistbox id="categories"> |
michael@0 | 187 | <richlistitem id="category-search" value="addons://search/" |
michael@0 | 188 | class="category" |
michael@0 | 189 | name="&view.search.label;" priority="0" |
michael@0 | 190 | tooltiptext="&view.search.label;" disabled="true"/> |
michael@0 | 191 | <richlistitem id="category-discover" value="addons://discover/" |
michael@0 | 192 | class="category" |
michael@0 | 193 | name="&view.discover.label;" priority="1000" |
michael@0 | 194 | tooltiptext="&view.discover.label;"/> |
michael@0 | 195 | <richlistitem id="category-availableUpdates" value="addons://updates/available" |
michael@0 | 196 | class="category" |
michael@0 | 197 | name="&view.availableUpdates.label;" priority="100000" |
michael@0 | 198 | tooltiptext="&view.availableUpdates.label;" |
michael@0 | 199 | disabled="true"/> |
michael@0 | 200 | <richlistitem id="category-recentUpdates" value="addons://updates/recent" |
michael@0 | 201 | class="category" |
michael@0 | 202 | name="&view.recentUpdates.label;" priority="101000" |
michael@0 | 203 | tooltiptext="&view.recentUpdates.label;" disabled="true"/> |
michael@0 | 204 | </richlistbox> |
michael@0 | 205 | |
michael@0 | 206 | <box id="view-port-container" class="main-content" flex="1"> |
michael@0 | 207 | |
michael@0 | 208 | <!-- view port --> |
michael@0 | 209 | <deck id="view-port" flex="1" selectedIndex="0"> |
michael@0 | 210 | |
michael@0 | 211 | <!-- discover view --> |
michael@0 | 212 | <deck id="discover-view" flex="1" class="view-pane" selectedIndex="0" tabindex="0"> |
michael@0 | 213 | <vbox id="discover-loading" align="center" pack="stretch" flex="1" class="alert-container"> |
michael@0 | 214 | <spacer class="alert-spacer-before"/> |
michael@0 | 215 | <hbox class="alert loading" align="center"> |
michael@0 | 216 | <image/> |
michael@0 | 217 | <label value="&loading.label;"/> |
michael@0 | 218 | </hbox> |
michael@0 | 219 | <spacer class="alert-spacer-after"/> |
michael@0 | 220 | </vbox> |
michael@0 | 221 | <vbox id="discover-error" align="center" pack="stretch" flex="1" class="alert-container"> |
michael@0 | 222 | <spacer class="alert-spacer-before"/> |
michael@0 | 223 | <hbox> |
michael@0 | 224 | <spacer class="discover-spacer-before"/> |
michael@0 | 225 | <hbox class="alert" align="center"> |
michael@0 | 226 | <image class="discover-logo"/> |
michael@0 | 227 | <vbox flex="1" align="stretch"> |
michael@0 | 228 | <label class="discover-title">&discover.title;</label> |
michael@0 | 229 | <description class="discover-description">&discover.description2;</description> |
michael@0 | 230 | <description class="discover-footer">&discover.footer;</description> |
michael@0 | 231 | </vbox> |
michael@0 | 232 | </hbox> |
michael@0 | 233 | <spacer class="discover-spacer-after"/> |
michael@0 | 234 | </hbox> |
michael@0 | 235 | <spacer class="alert-spacer-after"/> |
michael@0 | 236 | </vbox> |
michael@0 | 237 | <browser id="discover-browser" type="content" flex="1" |
michael@0 | 238 | disablehistory="true" homepage="about:blank"/> |
michael@0 | 239 | </deck> |
michael@0 | 240 | |
michael@0 | 241 | <!-- search view --> |
michael@0 | 242 | <vbox id="search-view" flex="1" class="view-pane" tabindex="0"> |
michael@0 | 243 | <hbox class="view-header global-warning-container" align="center"> |
michael@0 | 244 | <!-- global warnings --> |
michael@0 | 245 | <hbox class="global-warning" flex="1"> |
michael@0 | 246 | <hbox class="global-warning-safemode" flex="1" align="center" |
michael@0 | 247 | tooltiptext="&warning.safemode.label;"> |
michael@0 | 248 | <image class="warning-icon"/> |
michael@0 | 249 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 250 | value="&warning.safemode.label;"/> |
michael@0 | 251 | </hbox> |
michael@0 | 252 | <hbox class="global-warning-checkcompatibility" flex="1" align="center" |
michael@0 | 253 | tooltiptext="&warning.checkcompatibility.label;"> |
michael@0 | 254 | <image class="warning-icon"/> |
michael@0 | 255 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 256 | value="&warning.checkcompatibility.label;"/> |
michael@0 | 257 | </hbox> |
michael@0 | 258 | <button class="button-link global-warning-checkcompatibility" |
michael@0 | 259 | label="&warning.checkcompatibility.enable.label;" |
michael@0 | 260 | tooltiptext="&warning.checkcompatibility.enable.tooltip;" |
michael@0 | 261 | command="cmd_enableCheckCompatibility"/> |
michael@0 | 262 | <hbox class="global-warning-updatesecurity" flex="1" align="center" |
michael@0 | 263 | tooltiptext="&warning.updatesecurity.label;"> |
michael@0 | 264 | <image class="warning-icon"/> |
michael@0 | 265 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 266 | value="&warning.updatesecurity.label;"/> |
michael@0 | 267 | </hbox> |
michael@0 | 268 | <button class="button-link global-warning-updatesecurity" |
michael@0 | 269 | label="&warning.updatesecurity.enable.label;" |
michael@0 | 270 | tooltiptext="&warning.updatesecurity.enable.tooltip;" |
michael@0 | 271 | command="cmd_enableUpdateSecurity"/> |
michael@0 | 272 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
michael@0 | 273 | </hbox> |
michael@0 | 274 | <spacer flex="1"/> |
michael@0 | 275 | <hbox id="search-sorters" class="sort-controls" |
michael@0 | 276 | showrelevance="true" sortby="relevancescore" ascending="false"/> |
michael@0 | 277 | </hbox> |
michael@0 | 278 | <hbox id="search-filter" align="center"> |
michael@0 | 279 | <label id="search-filter-label" value="&search.filter2.label;"/> |
michael@0 | 280 | <radiogroup id="search-filter-radiogroup" orient="horizontal" |
michael@0 | 281 | align="center" persist="value" value="remote"> |
michael@0 | 282 | <radio id="search-filter-local" class="search-filter-radio" |
michael@0 | 283 | label="&search.filter2.installed.label;" value="local" |
michael@0 | 284 | tooltiptext="&search.filter2.installed.tooltip;"/> |
michael@0 | 285 | <radio id="search-filter-remote" class="search-filter-radio" |
michael@0 | 286 | label="&search.filter2.available.label;" value="remote" |
michael@0 | 287 | tooltiptext="&search.filter2.available.tooltip;"/> |
michael@0 | 288 | </radiogroup> |
michael@0 | 289 | </hbox> |
michael@0 | 290 | <vbox id="search-loading" class="alert-container" |
michael@0 | 291 | flex="1" hidden="true"> |
michael@0 | 292 | <spacer class="alert-spacer-before"/> |
michael@0 | 293 | <hbox class="alert loading" align="center"> |
michael@0 | 294 | <image/> |
michael@0 | 295 | <label value="&loading.label;"/> |
michael@0 | 296 | </hbox> |
michael@0 | 297 | <spacer class="alert-spacer-after"/> |
michael@0 | 298 | </vbox> |
michael@0 | 299 | <vbox id="search-list-empty" class="alert-container" |
michael@0 | 300 | flex="1" hidden="true"> |
michael@0 | 301 | <spacer class="alert-spacer-before"/> |
michael@0 | 302 | <vbox class="alert"> |
michael@0 | 303 | <label value="&listEmpty.search.label;"/> |
michael@0 | 304 | <button class="discover-button" |
michael@0 | 305 | id="discover-button-search" |
michael@0 | 306 | label="&listEmpty.button.label;" |
michael@0 | 307 | command="cmd_goToDiscoverPane"/> |
michael@0 | 308 | </vbox> |
michael@0 | 309 | <spacer class="alert-spacer-after"/> |
michael@0 | 310 | </vbox> |
michael@0 | 311 | <richlistbox id="search-list" class="list" flex="1"> |
michael@0 | 312 | <hbox pack="center"> |
michael@0 | 313 | <label id="search-allresults-link" class="text-link"/> |
michael@0 | 314 | </hbox> |
michael@0 | 315 | </richlistbox> |
michael@0 | 316 | </vbox> |
michael@0 | 317 | |
michael@0 | 318 | <!-- list view --> |
michael@0 | 319 | <vbox id="list-view" flex="1" class="view-pane" align="stretch" tabindex="0"> |
michael@0 | 320 | <hbox class="view-header global-warning-container"> |
michael@0 | 321 | <!-- global warnings --> |
michael@0 | 322 | <hbox class="global-warning" flex="1"> |
michael@0 | 323 | <hbox class="global-warning-safemode" flex="1" align="center" |
michael@0 | 324 | tooltiptext="&warning.safemode.label;"> |
michael@0 | 325 | <image class="warning-icon"/> |
michael@0 | 326 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 327 | value="&warning.safemode.label;"/> |
michael@0 | 328 | </hbox> |
michael@0 | 329 | <hbox class="global-warning-checkcompatibility" flex="1" align="center" |
michael@0 | 330 | tooltiptext="&warning.checkcompatibility.label;"> |
michael@0 | 331 | <image class="warning-icon"/> |
michael@0 | 332 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 333 | value="&warning.checkcompatibility.label;"/> |
michael@0 | 334 | </hbox> |
michael@0 | 335 | <button class="button-link global-warning-checkcompatibility" |
michael@0 | 336 | label="&warning.checkcompatibility.enable.label;" |
michael@0 | 337 | tooltiptext="&warning.checkcompatibility.enable.tooltip;" |
michael@0 | 338 | command="cmd_enableCheckCompatibility"/> |
michael@0 | 339 | <hbox class="global-warning-updatesecurity" flex="1" align="center" |
michael@0 | 340 | tooltiptext="&warning.updatesecurity.label;"> |
michael@0 | 341 | <image class="warning-icon"/> |
michael@0 | 342 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 343 | value="&warning.updatesecurity.label;"/> |
michael@0 | 344 | </hbox> |
michael@0 | 345 | <button class="button-link global-warning-updatesecurity" |
michael@0 | 346 | label="&warning.updatesecurity.enable.label;" |
michael@0 | 347 | tooltiptext="&warning.updatesecurity.enable.tooltip;" |
michael@0 | 348 | command="cmd_enableUpdateSecurity"/> |
michael@0 | 349 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
michael@0 | 350 | </hbox> |
michael@0 | 351 | </hbox> |
michael@0 | 352 | <hbox class="view-header global-info-container plugin-info-container"> |
michael@0 | 353 | <hbox class="global-info" flex="1" align="center"> |
michael@0 | 354 | <button class="button-link global-info-plugincheck" |
michael@0 | 355 | label="&info.plugincheck.label;" |
michael@0 | 356 | tooltiptext="&info.plugincheck.tooltip;" |
michael@0 | 357 | command="cmd_pluginCheck"/> |
michael@0 | 358 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
michael@0 | 359 | </hbox> |
michael@0 | 360 | </hbox> |
michael@0 | 361 | <hbox class="view-header global-info-container experiment-info-container"> |
michael@0 | 362 | <hbox class="global-info" flex="1" align="center"> |
michael@0 | 363 | <label value="&experiment.info.label;"/> |
michael@0 | 364 | <button id="experiments-learn-more" |
michael@0 | 365 | label="&experiment.info.learnmore;" |
michael@0 | 366 | tooltiptext="&experiment.info.learnmore;" |
michael@0 | 367 | accesskey="&experiment.info.learnmore.accesskey;" |
michael@0 | 368 | command="cmd_experimentsLearnMore"/> |
michael@0 | 369 | <button id="experiments-change-telemetry" |
michael@0 | 370 | label="&experiment.info.changetelemetry;" |
michael@0 | 371 | tooltiptext="&experiment.info.changetelemetry;" |
michael@0 | 372 | accesskey="&experiment.info.changetelemetry.accesskey;" |
michael@0 | 373 | command="cmd_experimentsOpenTelemetryPreferences"/> |
michael@0 | 374 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap. --> |
michael@0 | 375 | </hbox> |
michael@0 | 376 | </hbox> |
michael@0 | 377 | <vbox id="addon-list-empty" class="alert-container" |
michael@0 | 378 | flex="1" hidden="true"> |
michael@0 | 379 | <spacer class="alert-spacer-before"/> |
michael@0 | 380 | <vbox class="alert"> |
michael@0 | 381 | <label value="&listEmpty.installed.label;"/> |
michael@0 | 382 | <button class="discover-button" |
michael@0 | 383 | id="discover-button-install" |
michael@0 | 384 | label="&listEmpty.button.label;" |
michael@0 | 385 | command="cmd_goToDiscoverPane"/> |
michael@0 | 386 | </vbox> |
michael@0 | 387 | <spacer class="alert-spacer-after"/> |
michael@0 | 388 | </vbox> |
michael@0 | 389 | <richlistbox id="addon-list" class="list" flex="1"/> |
michael@0 | 390 | </vbox> |
michael@0 | 391 | |
michael@0 | 392 | <!-- updates view --> |
michael@0 | 393 | <vbox id="updates-view" flex="1" class="view-pane" tabindex="0"> |
michael@0 | 394 | <hbox class="view-header global-warning-container" align="center"> |
michael@0 | 395 | <!-- global warnings --> |
michael@0 | 396 | <hbox class="global-warning" flex="1"> |
michael@0 | 397 | <hbox class="global-warning-safemode" flex="1" align="center" |
michael@0 | 398 | tooltiptext="&warning.safemode.label;"> |
michael@0 | 399 | <image class="warning-icon"/> |
michael@0 | 400 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 401 | value="&warning.safemode.label;"/> |
michael@0 | 402 | </hbox> |
michael@0 | 403 | <hbox class="global-warning-checkcompatibility" flex="1" align="center" |
michael@0 | 404 | tooltiptext="&warning.checkcompatibility.label;"> |
michael@0 | 405 | <image class="warning-icon"/> |
michael@0 | 406 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 407 | value="&warning.checkcompatibility.label;"/> |
michael@0 | 408 | </hbox> |
michael@0 | 409 | <button class="button-link global-warning-checkcompatibility" |
michael@0 | 410 | label="&warning.checkcompatibility.enable.label;" |
michael@0 | 411 | tooltiptext="&warning.checkcompatibility.enable.tooltip;" |
michael@0 | 412 | command="cmd_enableCheckCompatibility"/> |
michael@0 | 413 | <hbox class="global-warning-updatesecurity" flex="1" align="center" |
michael@0 | 414 | tooltiptext="&warning.updatesecurity.label;"> |
michael@0 | 415 | <image class="warning-icon"/> |
michael@0 | 416 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 417 | value="&warning.updatesecurity.label;"/> |
michael@0 | 418 | </hbox> |
michael@0 | 419 | <button class="button-link global-warning-updatesecurity" |
michael@0 | 420 | label="&warning.updatesecurity.enable.label;" |
michael@0 | 421 | tooltiptext="&warning.updatesecurity.enable.tooltip;" |
michael@0 | 422 | command="cmd_enableUpdateSecurity"/> |
michael@0 | 423 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
michael@0 | 424 | </hbox> |
michael@0 | 425 | <spacer flex="1"/> |
michael@0 | 426 | <hbox id="updates-sorters" class="sort-controls" sortby="updateDate" |
michael@0 | 427 | ascending="false"/> |
michael@0 | 428 | </hbox> |
michael@0 | 429 | <vbox id="updates-list-empty" class="alert-container" |
michael@0 | 430 | flex="1" hidden="true"> |
michael@0 | 431 | <spacer class="alert-spacer-before"/> |
michael@0 | 432 | <vbox class="alert"> |
michael@0 | 433 | <label id="empty-availableUpdates-msg" value="&listEmpty.availableUpdates.label;"/> |
michael@0 | 434 | <label id="empty-recentUpdates-msg" value="&listEmpty.recentUpdates.label;"/> |
michael@0 | 435 | <button label="&listEmpty.findUpdates.label;" |
michael@0 | 436 | command="cmd_findAllUpdates"/> |
michael@0 | 437 | </vbox> |
michael@0 | 438 | <spacer class="alert-spacer-after"/> |
michael@0 | 439 | </vbox> |
michael@0 | 440 | <hbox id="update-actions" pack="center"> |
michael@0 | 441 | <button id="update-selected-btn" hidden="true" |
michael@0 | 442 | label="&updates.updateSelected.label;" |
michael@0 | 443 | tooltiptext="&updates.updateSelected.tooltip;"/> |
michael@0 | 444 | </hbox> |
michael@0 | 445 | <richlistbox id="updates-list" class="list" flex="1"/> |
michael@0 | 446 | </vbox> |
michael@0 | 447 | |
michael@0 | 448 | <!-- detail view --> |
michael@0 | 449 | <scrollbox id="detail-view" flex="1" class="view-pane addon-view" orient="vertical" tabindex="0"> |
michael@0 | 450 | <!-- global warnings --> |
michael@0 | 451 | <hbox class="global-warning-container global-warning"> |
michael@0 | 452 | <hbox class="global-warning-safemode" flex="1" align="center" |
michael@0 | 453 | tooltiptext="&warning.safemode.label;"> |
michael@0 | 454 | <image class="warning-icon"/> |
michael@0 | 455 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 456 | value="&warning.safemode.label;"/> |
michael@0 | 457 | </hbox> |
michael@0 | 458 | <hbox class="global-warning-checkcompatibility" flex="1" align="center" |
michael@0 | 459 | tooltiptext="&warning.checkcompatibility.label;"> |
michael@0 | 460 | <image class="warning-icon"/> |
michael@0 | 461 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 462 | value="&warning.checkcompatibility.label;"/> |
michael@0 | 463 | </hbox> |
michael@0 | 464 | <button class="button-link global-warning-checkcompatibility" |
michael@0 | 465 | label="&warning.checkcompatibility.enable.label;" |
michael@0 | 466 | tooltiptext="&warning.checkcompatibility.enable.tooltip;" |
michael@0 | 467 | command="cmd_enableCheckCompatibility"/> |
michael@0 | 468 | <hbox class="global-warning-updatesecurity" flex="1" align="center" |
michael@0 | 469 | tooltiptext="&warning.updatesecurity.label;"> |
michael@0 | 470 | <image class="warning-icon"/> |
michael@0 | 471 | <label class="global-warning-text" flex="1" crop="end" |
michael@0 | 472 | value="&warning.updatesecurity.label;"/> |
michael@0 | 473 | </hbox> |
michael@0 | 474 | <button class="button-link global-warning-updatesecurity" |
michael@0 | 475 | label="&warning.updatesecurity.enable.label;" |
michael@0 | 476 | tooltiptext="&warning.updatesecurity.enable.tooltip;" |
michael@0 | 477 | command="cmd_enableUpdateSecurity"/> |
michael@0 | 478 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
michael@0 | 479 | </hbox> |
michael@0 | 480 | <hbox flex="1"> |
michael@0 | 481 | <spacer flex="1"/> |
michael@0 | 482 | <!-- "loading" splash screen --> |
michael@0 | 483 | <vbox class="alert-container"> |
michael@0 | 484 | <spacer class="alert-spacer-before"/> |
michael@0 | 485 | <hbox class="alert loading"> |
michael@0 | 486 | <image/> |
michael@0 | 487 | <label value="&loading.label;"/> |
michael@0 | 488 | </hbox> |
michael@0 | 489 | <spacer class="alert-spacer-after"/> |
michael@0 | 490 | </vbox> |
michael@0 | 491 | <!-- actual detail view --> |
michael@0 | 492 | <vbox class="detail-view-container" flex="3" contextmenu="addonitem-popup"> |
michael@0 | 493 | <vbox id="detail-notifications"> |
michael@0 | 494 | <hbox id="warning-container" align="center" class="warning"> |
michael@0 | 495 | <image class="warning-icon"/> |
michael@0 | 496 | <label id="detail-warning" flex="1"/> |
michael@0 | 497 | <label id="detail-warning-link" class="text-link"/> |
michael@0 | 498 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
michael@0 | 499 | </hbox> |
michael@0 | 500 | <hbox id="error-container" align="center" class="error"> |
michael@0 | 501 | <image class="error-icon"/> |
michael@0 | 502 | <label id="detail-error" flex="1"/> |
michael@0 | 503 | <label id="detail-error-link" class="text-link"/> |
michael@0 | 504 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
michael@0 | 505 | </hbox> |
michael@0 | 506 | <hbox id="pending-container" align="center" class="pending"> |
michael@0 | 507 | <image class="pending-icon"/> |
michael@0 | 508 | <label id="detail-pending" flex="1"/> |
michael@0 | 509 | <button id="detail-restart-btn" class="button-link" |
michael@0 | 510 | label="&addon.restartNow.label;" |
michael@0 | 511 | command="cmd_restartApp"/> |
michael@0 | 512 | <button id="detail-undo-btn" class="button-link" |
michael@0 | 513 | label="&addon.undoAction.label;" |
michael@0 | 514 | tooltipText="&addon.undoAction.tooltip;" |
michael@0 | 515 | command="cmd_cancelOperation"/> |
michael@0 | 516 | <spacer flex="5000"/> <!-- Necessary to allow the message to wrap --> |
michael@0 | 517 | </hbox> |
michael@0 | 518 | </vbox> |
michael@0 | 519 | <hbox align="start"> |
michael@0 | 520 | <vbox id="detail-icon-container" align="end"> |
michael@0 | 521 | <image id="detail-icon" class="icon"/> |
michael@0 | 522 | </vbox> |
michael@0 | 523 | <vbox flex="1"> |
michael@0 | 524 | <vbox id="detail-summary"> |
michael@0 | 525 | <hbox id="detail-name-container" class="name-container" |
michael@0 | 526 | align="start"> |
michael@0 | 527 | <label id="detail-name" flex="1"/> |
michael@0 | 528 | <label id="detail-version"/> |
michael@0 | 529 | <label class="disabled-postfix" value="&addon.disabled.postfix;"/> |
michael@0 | 530 | <label class="update-postfix" value="&addon.update.postfix;"/> |
michael@0 | 531 | <spacer flex="5000"/> <!-- Necessary to allow the name to wrap --> |
michael@0 | 532 | </hbox> |
michael@0 | 533 | <label id="detail-creator" class="creator"/> |
michael@0 | 534 | </vbox> |
michael@0 | 535 | <hbox id="detail-experiment-container"> |
michael@0 | 536 | <svg width="8" height="8" viewBox="0 0 8 8" version="1.1" |
michael@0 | 537 | xmlns="http://www.w3.org/2000/svg" |
michael@0 | 538 | id="detail-experiment-bullet-container"> |
michael@0 | 539 | <circle cx="4" cy="4" r="4" id="detail-experiment-bullet"/> |
michael@0 | 540 | </svg> |
michael@0 | 541 | <label id="detail-experiment-state"/> |
michael@0 | 542 | <label id="detail-experiment-time"/> |
michael@0 | 543 | </hbox> |
michael@0 | 544 | <hbox id="detail-desc-container" align="start"> |
michael@0 | 545 | <vbox pack="center"> <!-- Necessary to work around bug 394738 --> |
michael@0 | 546 | <image id="detail-screenshot" hidden="true"/> |
michael@0 | 547 | </vbox> |
michael@0 | 548 | <vbox flex="1"> |
michael@0 | 549 | <description id="detail-desc"/> |
michael@0 | 550 | <description id="detail-fulldesc"/> |
michael@0 | 551 | </vbox> |
michael@0 | 552 | </hbox> |
michael@0 | 553 | <vbox id="detail-contributions"> |
michael@0 | 554 | <description id="detail-contrib-description"> |
michael@0 | 555 | &detail.contributions.description; |
michael@0 | 556 | </description> |
michael@0 | 557 | <hbox align="center"> |
michael@0 | 558 | <label id="detail-contrib-suggested"/> |
michael@0 | 559 | <spacer flex="1"/> |
michael@0 | 560 | <button id="detail-contrib-btn" |
michael@0 | 561 | label="&cmd.contribute.label;" |
michael@0 | 562 | accesskey="&cmd.contribute.accesskey;" |
michael@0 | 563 | tooltiptext="&cmd.contribute.tooltip;" |
michael@0 | 564 | command="cmd_contribute"/> |
michael@0 | 565 | </hbox> |
michael@0 | 566 | </vbox> |
michael@0 | 567 | <grid id="detail-grid"> |
michael@0 | 568 | <columns> |
michael@0 | 569 | <column flex="1"/> |
michael@0 | 570 | <column flex="2"/> |
michael@0 | 571 | </columns> |
michael@0 | 572 | <rows id="detail-rows"> |
michael@0 | 573 | <row class="detail-row-complex" id="detail-updates-row"> |
michael@0 | 574 | <label class="detail-row-label" value="&detail.updateType;"/> |
michael@0 | 575 | <hbox align="center"> |
michael@0 | 576 | <radiogroup id="detail-autoUpdate" orient="horizontal"> |
michael@0 | 577 | <!-- The values here need to match the values of |
michael@0 | 578 | AddonManager.AUTOUPDATE_* --> |
michael@0 | 579 | <radio label="&detail.updateDefault.label;" |
michael@0 | 580 | tooltiptext="&detail.updateDefault.tooltip;" |
michael@0 | 581 | value="1"/> |
michael@0 | 582 | <radio label="&detail.updateAutomatic.label;" |
michael@0 | 583 | tooltiptext="&detail.updateAutomatic.tooltip;" |
michael@0 | 584 | value="2"/> |
michael@0 | 585 | <radio label="&detail.updateManual.label;" |
michael@0 | 586 | tooltiptext="&detail.updateManual.tooltip;" |
michael@0 | 587 | value="0"/> |
michael@0 | 588 | </radiogroup> |
michael@0 | 589 | <button id="detail-findUpdates-btn" class="button-link" |
michael@0 | 590 | label="&detail.checkForUpdates.label;" |
michael@0 | 591 | accesskey="&detail.checkForUpdates.accesskey;" |
michael@0 | 592 | tooltiptext="&detail.checkForUpdates.tooltip;" |
michael@0 | 593 | command="cmd_findItemUpdates"/> |
michael@0 | 594 | </hbox> |
michael@0 | 595 | </row> |
michael@0 | 596 | <row class="detail-row" id="detail-dateUpdated" label="&detail.lastupdated.label;"/> |
michael@0 | 597 | <row class="detail-row-complex" id="detail-homepage-row" label="&detail.home;"> |
michael@0 | 598 | <label class="detail-row-label" value="&detail.home;"/> |
michael@0 | 599 | <label id="detail-homepage" class="detail-row-value text-link" crop="end"/> |
michael@0 | 600 | </row> |
michael@0 | 601 | <row class="detail-row-complex" id="detail-repository-row" label="&detail.repository;"> |
michael@0 | 602 | <label class="detail-row-label" value="&detail.repository;"/> |
michael@0 | 603 | <label id="detail-repository" class="detail-row-value text-link"/> |
michael@0 | 604 | </row> |
michael@0 | 605 | <row class="detail-row" id="detail-size" label="&detail.size;"/> |
michael@0 | 606 | <row class="detail-row-complex" id="detail-rating-row"> |
michael@0 | 607 | <label class="detail-row-label" value="&rating2.label;"/> |
michael@0 | 608 | <hbox> |
michael@0 | 609 | <label id="detail-rating" class="meta-value meta-rating" |
michael@0 | 610 | showrating="average"/> |
michael@0 | 611 | <label id="detail-reviews" class="text-link"/> |
michael@0 | 612 | </hbox> |
michael@0 | 613 | </row> |
michael@0 | 614 | <row class="detail-row" id="detail-downloads" label="&detail.numberOfDownloads.label;"/> |
michael@0 | 615 | </rows> |
michael@0 | 616 | </grid> |
michael@0 | 617 | <hbox id="detail-controls"> |
michael@0 | 618 | <button id="detail-prefs-btn" class="addon-control preferences" |
michael@0 | 619 | #ifdef XP_WIN |
michael@0 | 620 | label="&detail.showPreferencesWin.label;" |
michael@0 | 621 | accesskey="&detail.showPreferencesWin.accesskey;" |
michael@0 | 622 | tooltiptext="&detail.showPreferencesWin.tooltip;" |
michael@0 | 623 | #else |
michael@0 | 624 | label="&detail.showPreferencesUnix.label;" |
michael@0 | 625 | accesskey="&detail.showPreferencesUnix.accesskey;" |
michael@0 | 626 | tooltiptext="&detail.showPreferencesUnix.tooltip;" |
michael@0 | 627 | #endif |
michael@0 | 628 | command="cmd_showItemPreferences"/> |
michael@0 | 629 | <spacer flex="1"/> |
michael@0 | 630 | <button id="detail-debug-btn" class="addon-control debug" |
michael@0 | 631 | label="Debug" |
michael@0 | 632 | command="cmd_debugItem" /> |
michael@0 | 633 | <button id="detail-enable-btn" class="addon-control enable" |
michael@0 | 634 | label="&cmd.enableAddon.label;" |
michael@0 | 635 | accesskey="&cmd.enableAddon.accesskey;" |
michael@0 | 636 | command="cmd_enableItem"/> |
michael@0 | 637 | <button id="detail-disable-btn" class="addon-control disable" |
michael@0 | 638 | label="&cmd.disableAddon.label;" |
michael@0 | 639 | accesskey="&cmd.disableAddon.accesskey;" |
michael@0 | 640 | command="cmd_disableItem"/> |
michael@0 | 641 | <button id="detail-uninstall-btn" class="addon-control remove" |
michael@0 | 642 | label="&cmd.uninstallAddon.label;" |
michael@0 | 643 | accesskey="&cmd.uninstallAddon.accesskey;" |
michael@0 | 644 | command="cmd_uninstallItem"/> |
michael@0 | 645 | <button id="detail-purchase-btn" class="addon-control purchase" |
michael@0 | 646 | command="cmd_purchaseItem"/> |
michael@0 | 647 | <button id="detail-install-btn" class="addon-control install" |
michael@0 | 648 | label="&cmd.installAddon.label;" |
michael@0 | 649 | accesskey="&cmd.installAddon.accesskey;" |
michael@0 | 650 | command="cmd_installItem"/> |
michael@0 | 651 | <menulist id="detail-state-menulist" |
michael@0 | 652 | crop="none" sizetopopup="always" |
michael@0 | 653 | tooltiptext="&cmd.stateMenu.tooltip;"> |
michael@0 | 654 | <menupopup> |
michael@0 | 655 | <menuitem id="detail-ask-to-activate-menuitem" |
michael@0 | 656 | class="addon-control" |
michael@0 | 657 | label="&cmd.askToActivate.label;" |
michael@0 | 658 | tooltiptext="&cmd.askToActivate.tooltip;" |
michael@0 | 659 | command="cmd_askToActivateItem"/> |
michael@0 | 660 | <menuitem id="detail-always-activate-menuitem" |
michael@0 | 661 | class="addon-control" |
michael@0 | 662 | label="&cmd.alwaysActivate.label;" |
michael@0 | 663 | tooltiptext="&cmd.alwaysActivate.tooltip;" |
michael@0 | 664 | command="cmd_alwaysActivateItem"/> |
michael@0 | 665 | <menuitem id="detail-never-activate-menuitem" |
michael@0 | 666 | class="addon-control" |
michael@0 | 667 | label="&cmd.neverActivate.label;" |
michael@0 | 668 | tooltiptext="&cmd.neverActivate.tooltip;" |
michael@0 | 669 | command="cmd_neverActivateItem"/> |
michael@0 | 670 | </menupopup> |
michael@0 | 671 | </menulist> |
michael@0 | 672 | </hbox> |
michael@0 | 673 | </vbox> |
michael@0 | 674 | </hbox> |
michael@0 | 675 | </vbox> |
michael@0 | 676 | <spacer flex="1"/> |
michael@0 | 677 | </hbox> |
michael@0 | 678 | </scrollbox> |
michael@0 | 679 | |
michael@0 | 680 | </deck> |
michael@0 | 681 | |
michael@0 | 682 | </box> |
michael@0 | 683 | </hbox> |
michael@0 | 684 | |
michael@0 | 685 | </page> |