Bug 1944416: Restore individual tabs from closed groups in closed windows r=dao,sessi...
[gecko.git] / browser / components / preferences / main.inc.xhtml
blob78d7fbf7d4648f534230620e2baae6f38ce3aa68
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 <!-- General panel -->
7 <script src="chrome://browser/content/preferences/main.js"/>
9 #ifdef MOZ_UPDATER
10 <script src="chrome://browser/content/aboutDialog-appUpdater.js"/>
11 #endif
13 <script src="chrome://mozapps/content/preferences/fontbuilder.js"/>
15 <html:template id="template-paneGeneral">
16 <hbox id="generalCategory"
17 class="subcategory"
18 hidden="true"
19 data-category="paneGeneral">
20 <html:h1 data-l10n-id="pane-general-title"/>
21 </hbox>
23 <!-- Startup -->
24 <groupbox id="startupGroup"
25 data-category="paneGeneral"
26 hidden="true">
27 <label><html:h2 data-l10n-id="startup-header"/></label>
29 <vbox id="startupPageBox">
30 <checkbox id="browserRestoreSession"
31 data-l10n-id="startup-restore-windows-and-tabs"/>
32 #ifdef XP_WIN
33 <hbox id="windowsLaunchOnLoginBox" align="center" hidden="true">
34 <checkbox id="windowsLaunchOnLogin"
35 data-l10n-id="windows-launch-on-login"/>
36 </hbox>
37 <hbox id="windowsLaunchOnLoginDisabledBox" align="center" class="indent" hidden="true">
38 <hbox class="info-icon-container">
39 <html:img class="info-icon"/>
40 </hbox>
41 <html:div data-l10n-id="windows-launch-on-login-disabled">
42 <html:a id="windowsAutostartLink" class="text-link" data-l10n-name="startup-link" href="ms-settings:startupapps" target="_self" />
43 </html:div>
44 </hbox>
45 <hbox id="windowsLaunchOnLoginDisabledProfileBox" align="center" class="indent" hidden="true">
46 <hbox class="info-icon-container">
47 <html:img class="info-icon"/>
48 </hbox>
49 <html:div data-l10n-id="windows-launch-on-login-profile-disabled"/>
50 </hbox>
51 #endif
52 </vbox>
54 #ifdef HAVE_SHELL_SERVICE
55 <vbox id="defaultBrowserBox">
56 <checkbox id="alwaysCheckDefault" preference="browser.shell.checkDefaultBrowser"
57 disabled="true"
58 data-l10n-id="always-check-default"/>
59 <stack id="setDefaultPane">
60 <hbox id="isNotDefaultPane" align="center" class="indent">
61 <label class="face-sad" id="isNotDefaultLabel" flex="1" data-l10n-id="is-not-default"/>
62 <button id="setDefaultButton"
63 is="highlightable-button"
64 class="accessory-button"
65 data-l10n-id="set-as-my-default-browser"
66 preference="pref.general.disable_button.default_browser"/>
67 </hbox>
68 <hbox id="isDefaultPane" align="center" class="indent">
69 <label class="face-smile" id="isDefaultLabel" flex="1" data-l10n-id="is-default"/>
70 </hbox>
71 </stack>
72 </vbox>
73 #endif
75 </groupbox>
77 <!-- Data migration -->
78 <groupbox id="dataMigrationGroup" data-category="paneGeneral" hidden="true">
79 <label><html:h2 data-l10n-id="preferences-data-migration-header"/></label>
81 <hbox id="dataMigration" flex="1">
82 <description flex="1" control="data-migration" data-l10n-id="preferences-data-migration-description"/>
83 <button id="data-migration"
84 is="highlightable-button"
85 class="accessory-button"
86 data-l10n-id="preferences-data-migration-button"/>
87 </hbox>
88 </groupbox>
90 <groupbox id="dataBackupGroup" data-category="paneGeneral" hidden="true"
91 data-hidden-from-search="true">
92 <label><html:h2 data-l10n-id="settings-data-backup-header"/></label>
93 <hbox flex="1">
94 <html:backup-settings />
95 </hbox>
96 </groupbox>
98 <!-- Tab preferences -->
99 <groupbox data-category="paneGeneral"
100 hidden="true">
101 <label><html:h2 data-l10n-id="tabs-group-header"/></label>
103 <checkbox id="ctrlTabRecentlyUsedOrder" data-l10n-id="ctrl-tab-recently-used-order"
104 preference="browser.ctrlTab.sortByRecentlyUsed"/>
106 <checkbox id="linkTargeting" data-l10n-id="open-new-link-as-tabs"
107 preference="browser.link.open_newwindow"/>
109 <checkbox id="warnOpenMany" data-l10n-id="warn-on-open-many-tabs"
110 preference="browser.tabs.warnOnOpen"/>
112 <checkbox id="switchToNewTabs" data-l10n-id="switch-to-new-tabs"
113 preference="browser.tabs.loadInBackground"/>
115 <checkbox id="warnCloseMultiple" data-l10n-id="ask-on-close-multiple-tabs"
116 preference="browser.tabs.warnOnClose"/>
118 #ifndef XP_WIN
119 <checkbox id="warnOnQuitKey" preference="browser.warnOnQuitShortcut"/>
120 #endif
122 #ifdef XP_WIN
123 <checkbox id="showTabsInTaskbar" data-l10n-id="show-tabs-in-taskbar"
124 preference="browser.taskbar.previews.enable"/>
125 #endif
127 <checkbox id="tabPreviewShowThumbnails" data-l10n-id="settings-tabs-show-image-in-preview"
128 preference="browser.tabs.hoverPreview.showThumbnails" hidden="true"/>
130 <vbox id="browserContainersbox" hidden="true">
131 <hbox id="browserContainersExtensionContent"
132 align="center" class="extension-controlled info-box-container">
133 <hbox flex="1">
134 <description control="disableContainersExtension" class="description-with-side-element" flex="1" />
135 </hbox>
136 <button id="disableContainersExtension"
137 is="highlightable-button"
138 class="extension-controlled-button accessory-button"
139 data-l10n-id="disable-extension" />
140 </hbox>
141 <hbox align="center">
142 <checkbox id="browserContainersCheckbox"
143 class="tail-with-learn-more"
144 data-l10n-id="browser-containers-enabled"
145 preference="privacy.userContext.enabled"/>
146 <html:a
147 is="moz-support-link"
148 support-page="containers"
149 data-l10n-id="browser-containers-learn-more"
151 <spacer flex="1"/>
152 <button id="browserContainersSettings"
153 is="highlightable-button"
154 class="accessory-button"
155 data-l10n-id="browser-containers-settings"
156 search-l10n-ids="containers-add-button.label,
157 containers-settings-button.label,
158 containers-remove-button.label"
160 </hbox>
161 </vbox>
162 </groupbox>
164 <!-- Browser layout -->
165 <groupbox data-category="paneGeneral"
166 hidden="true">
167 <label><html:h2 data-l10n-id="browser-layout-header"/></label>
169 <radiogroup id="browserLayoutRadioGroup" preference="sidebar.verticalTabs">
170 <radio id="browserLayoutHorizontalTabs" data-l10n-id="browser-layout-horizontal-tabs" value="false"/>
171 <description class="indent" data-l10n-id="browser-layout-horizontal-tabs-desc"></description>
173 <radio id="browserLayoutVerticalTabs" data-l10n-id="browser-layout-vertical-tabs" value="true" />
174 <description class="indent" data-l10n-id="browser-layout-vertical-tabs-desc"></description>
175 </radiogroup>
176 <checkbox id="browserLayoutShowSidebar" data-l10n-id="browser-layout-show-sidebar"
177 preference="sidebar.revamp"/>
178 <description class="indent" data-l10n-id="browser-layout-show-sidebar-desc"></description>
179 </groupbox>
181 <hbox id="languageAndAppearanceCategory"
182 class="subcategory"
183 hidden="true"
184 data-category="paneGeneral">
185 <html:h1 data-l10n-id="language-and-appearance-header"/>
186 </hbox>
188 <!-- Website appearance -->
189 <groupbox id="webAppearanceGroup" data-category="paneGeneral" hidden="true">
190 <html:h2 data-l10n-id="preferences-web-appearance-header"/>
191 <html:div id="webAppearanceSettings">
192 <description class="description-deemphasized" data-l10n-id="preferences-web-appearance-description"/>
193 <html:moz-message-bar id="web-appearance-override-warning" data-l10n-id="preferences-web-appearance-override-warning2">
194 <button slot="actions" class="accessory-button" data-l10n-id="preferences-colors-manage-button" id="web-appearance-manage-colors-button"/>
195 </html:moz-message-bar>
196 <form xmlns="http://www.w3.org/1999/xhtml" id="web-appearance-chooser" autocomplete="off">
197 <label class="web-appearance-choice" data-l10n-id="preferences-web-appearance-choice-tooltip-auto">
198 <div class="web-appearance-choice-image-container"><img role="presentation" alt="" width="54" height="42" /></div>
199 <div class="web-appearance-choice-footer">
200 <input type="radio" name="web-appearance" value="auto" data-l10n-id="preferences-web-appearance-choice-input-auto"
201 /><span data-l10n-id="preferences-web-appearance-choice-auto" />
202 </div>
203 </label>
204 <label class="web-appearance-choice" data-l10n-id="preferences-web-appearance-choice-tooltip-light">
205 <div class="web-appearance-choice-image-container"><img role="presentation" alt="" width="54" height="42" /></div>
206 <div class="web-appearance-choice-footer">
207 <input type="radio" name="web-appearance" value="light" data-l10n-id="preferences-web-appearance-choice-input-light"
208 /><span data-l10n-id="preferences-web-appearance-choice-light" />
209 </div>
210 </label>
211 <label class="web-appearance-choice" data-l10n-id="preferences-web-appearance-choice-tooltip-dark">
212 <div class="web-appearance-choice-image-container"><img role="presentation" alt="" width="54" height="42" /></div>
213 <div class="web-appearance-choice-footer">
214 <input type="radio" name="web-appearance" value="dark" data-l10n-id="preferences-web-appearance-choice-input-dark"
215 /><span data-l10n-id="preferences-web-appearance-choice-dark" />
216 </div>
217 </label>
218 </form>
219 <html:div data-l10n-id="preferences-web-appearance-footer">
220 <html:a id="web-appearance-manage-themes-link" class="text-link" data-l10n-name="themes-link" href="about:addons" target="_blank" />
221 </html:div>
222 </html:div>
223 </groupbox>
225 <!-- Colors -->
226 <groupbox id="colorsGroup" data-category="paneGeneral" hidden="true">
227 <label><html:h2 data-l10n-id="preferences-colors-header"/></label>
229 <hbox id="colorsSettings" align="center" flex="1">
230 <description flex="1" control="colors" data-l10n-id="preferences-colors-description"/>
231 <button id="colors"
232 is="highlightable-button"
233 class="accessory-button"
234 data-l10n-id="preferences-colors-manage-button"
235 search-l10n-ids="
236 colors-page-override,
237 colors-page-override-option-always.label,
238 colors-page-override-option-auto.label,
239 colors-page-override-option-never.label,
240 colors-text-and-background,
241 colors-text-header,
242 colors-background,
243 colors-use-system,
244 colors-links-header,
245 colors-unvisited-links,
246 colors-visited-links
248 </hbox>
249 </groupbox>
251 <!-- Fonts -->
252 <groupbox id="fontsGroup" data-category="paneGeneral" hidden="true">
253 <label><html:h2 data-l10n-id="preferences-fonts-header"/></label>
255 <hbox id="fontSettings">
256 <hbox align="center" flex="1">
257 <label control="defaultFont" data-l10n-id="default-font"/>
258 <menulist id="defaultFont" delayprefsave="true"/>
259 <label id="defaultFontSizeLabel" control="defaultFontSize" data-l10n-id="default-font-size"></label>
260 <menulist id="defaultFontSize" delayprefsave="true">
261 <menupopup>
262 <menuitem value="9" label="9"/>
263 <menuitem value="10" label="10"/>
264 <menuitem value="11" label="11"/>
265 <menuitem value="12" label="12"/>
266 <menuitem value="13" label="13"/>
267 <menuitem value="14" label="14"/>
268 <menuitem value="15" label="15"/>
269 <menuitem value="16" label="16"/>
270 <menuitem value="17" label="17"/>
271 <menuitem value="18" label="18"/>
272 <menuitem value="20" label="20"/>
273 <menuitem value="22" label="22"/>
274 <menuitem value="24" label="24"/>
275 <menuitem value="26" label="26"/>
276 <menuitem value="28" label="28"/>
277 <menuitem value="30" label="30"/>
278 <menuitem value="32" label="32"/>
279 <menuitem value="34" label="34"/>
280 <menuitem value="36" label="36"/>
281 <menuitem value="40" label="40"/>
282 <menuitem value="44" label="44"/>
283 <menuitem value="48" label="48"/>
284 <menuitem value="56" label="56"/>
285 <menuitem value="64" label="64"/>
286 <menuitem value="72" label="72"/>
287 </menupopup>
288 </menulist>
289 </hbox>
291 <button id="advancedFonts"
292 is="highlightable-button"
293 class="accessory-button"
294 data-l10n-id="advanced-fonts"
295 search-l10n-ids="
296 fonts-window.title,
297 fonts-langgroup-header,
298 fonts-proportional-size,
299 fonts-proportional-header,
300 fonts-serif,
301 fonts-sans-serif,
302 fonts-monospace,
303 fonts-langgroup-arabic.label,
304 fonts-langgroup-armenian.label,
305 fonts-langgroup-bengali.label,
306 fonts-langgroup-simpl-chinese.label,
307 fonts-langgroup-trad-chinese-hk.label,
308 fonts-langgroup-trad-chinese.label,
309 fonts-langgroup-cyrillic.label,
310 fonts-langgroup-devanagari.label,
311 fonts-langgroup-ethiopic.label,
312 fonts-langgroup-georgian.label,
313 fonts-langgroup-el.label,
314 fonts-langgroup-gujarati.label,
315 fonts-langgroup-gurmukhi.label,
316 fonts-langgroup-japanese.label,
317 fonts-langgroup-hebrew.label,
318 fonts-langgroup-kannada.label,
319 fonts-langgroup-khmer.label,
320 fonts-langgroup-korean.label,
321 fonts-langgroup-latin.label,
322 fonts-langgroup-malayalam.label,
323 fonts-langgroup-math.label,
324 fonts-langgroup-odia.label,
325 fonts-langgroup-sinhala.label,
326 fonts-langgroup-tamil.label,
327 fonts-langgroup-telugu.label,
328 fonts-langgroup-thai.label,
329 fonts-langgroup-tibetan.label,
330 fonts-langgroup-canadian.label,
331 fonts-langgroup-other.label,
332 fonts-minsize,
333 fonts-minsize-none.label,
334 fonts-default-serif.label,
335 fonts-default-sans-serif.label,
336 fonts-allow-own.label,
337 " />
338 </hbox>
339 </groupbox>
341 <!-- Zoom -->
342 <groupbox id="zoomGroup" data-category="paneGeneral" hidden="true">
343 <label><html:h2 data-l10n-id="preferences-zoom-header"/></label>
344 <hbox id="zoomBox" align="center" hidden="true">
345 <label control="defaultZoom" data-l10n-id="preferences-default-zoom"/>
346 <menulist id="defaultZoom">
347 <menupopup/>
348 </menulist>
349 </hbox>
350 <html:moz-message-bar id="text-zoom-override-warning" data-l10n-id="preferences-text-zoom-override-warning"/>
351 <checkbox id="zoomText"
352 data-l10n-id="preferences-zoom-text-only"/>
354 </groupbox>
356 <!-- Languages -->
357 <groupbox id="languagesGroup" data-category="paneGeneral" hidden="true">
358 <label><html:h2 data-l10n-id="language-header"/></label>
360 <vbox id="browserLanguagesBox" align="start" hidden="true">
361 <description flex="1" controls="chooseBrowserLanguage" data-l10n-id="choose-browser-language-description"/>
362 <hbox>
363 <menulist id="primaryBrowserLocale">
364 <menupopup/>
365 </menulist>
366 <button id="manageBrowserLanguagesButton"
367 is="highlightable-button"
368 class="accessory-button"
369 data-l10n-id="manage-browser-languages-button"/>
370 </hbox>
371 </vbox>
372 <hbox id="confirmBrowserLanguage" class="message-bar" align="center" hidden="true">
373 <html:img class="message-bar-icon"/>
374 <vbox class="message-bar-content-container" align="stretch" flex="1"/>
375 </hbox>
377 <hbox id="languagesBox" align="center">
378 <description flex="1" control="chooseLanguage" data-l10n-id="choose-language-description"/>
379 <button id="chooseLanguage"
380 is="highlightable-button"
381 class="accessory-button"
382 data-l10n-id="choose-button"
383 search-l10n-ids="
384 webpage-languages-window2.title,
385 languages-description,
386 languages-customize-moveup.label,
387 languages-customize-movedown.label,
388 languages-customize-remove.label,
389 languages-customize-select-language.placeholder,
390 languages-customize-add.label,
391 " />
392 </hbox>
394 <checkbox id="useSystemLocale" hidden="true"
395 data-l10n-id="use-system-locale"
396 data-l10n-args='{"localeName": "und"}'
397 preference="intl.regional_prefs.use_os_locales"/>
399 <!-- This Firefox Translations UI manages the prefs for the addon only. -->
400 <hbox id="fxtranslationsBox" hidden="true" data-subcategory="fxtranslations">
401 <description flex="1" control="fxtranslateButton" data-l10n-id="fx-translate-web-pages"/>
402 <button id="fxtranslateButton"
403 is="highlightable-button"
404 class="accessory-button"
405 data-l10n-id="translate-exceptions"/>
406 </hbox>
408 <checkbox id="checkSpelling"
409 data-l10n-id="check-user-spelling"
410 preference="layout.spellcheckDefault"/>
412 <!-- Translations -->
413 <vbox id="translationsGroup" hidden="true" data-subcategory="translations">
414 <label><html:h2 data-l10n-id="translations-manage-header"/></label>
415 <hbox id="translations-manage-description" align="center">
416 <description flex="1" data-l10n-id="translations-manage-intro-2"/>
417 <button id="translations-manage-settings-button"
418 is="highlightable-button"
419 class="accessory-button"
420 data-l10n-id="translations-manage-settings-button"/>
421 </hbox>
422 <vbox>
423 <html:div id="translations-manage-install-list" hidden="true" tabindex="-1">
424 <hbox class="translations-manage-language">
425 <label data-l10n-id="translations-manage-download-description"></label>
426 <button id="translations-manage-install-all"
427 data-l10n-id="translations-manage-language-download-all-button"></button>
428 <button id="translations-manage-delete-all"
429 data-l10n-id="translations-manage-language-remove-all-button"></button>
430 </hbox>
431 <!-- The downloadable languages will be listed here. -->
432 </html:div>
433 <description id="translations-manage-error" hidden="true"></description>
434 </vbox>
435 </vbox>
436 </groupbox>
438 <!-- Files and Applications -->
439 <hbox id="filesAndApplicationsCategory"
440 class="subcategory"
441 hidden="true"
442 data-category="paneGeneral">
443 <html:h1 data-l10n-id="files-and-applications-title"/>
444 </hbox>
446 <!--Downloads-->
447 <groupbox id="downloadsGroup" data-category="paneGeneral" hidden="true">
448 <label><html:h2 data-l10n-id="download-header"/></label>
450 <hbox id="saveWhere">
451 <label id="saveTo"
452 control="downloadFolder"
453 data-l10n-id="download-save-where"/>
454 <html:input id="downloadFolder"
455 type="text"
456 readonly="readonly"
457 aria-labelledby="saveTo"/>
458 <button id="chooseFolder"
459 is="highlightable-button"
460 class="accessory-button"
461 data-l10n-id="download-choose-folder"/>
462 </hbox>
463 <checkbox id="alwaysAsk"
464 data-l10n-id="download-always-ask-where"
465 preference="browser.download.useDownloadDir"/>
466 </groupbox>
468 <groupbox id="applicationsGroup" data-category="paneGeneral" hidden="true">
469 <label><html:h2 data-l10n-id="applications-header"/></label>
470 <description class="description-deemphasized" data-l10n-id="applications-description"/>
471 <search-textbox id="filter" flex="1"
472 data-l10n-id="applications-filter"
473 data-l10n-attrs="placeholder"
474 aria-controls="handlersView"/>
476 <listheader id="handlersViewHeader">
477 <treecol id="typeColumn" data-l10n-id="applications-type-column" value="type"
478 persist="sortDirection"
479 style="flex: 1 50%" sortDirection="ascending"/>
480 <treecol id="actionColumn" data-l10n-id="applications-action-column" value="action"
481 persist="sortDirection"
482 style="flex: 1 50%"/>
483 </listheader>
484 <richlistbox id="handlersView"
485 preference="pref.downloads.disable_button.edit_actions"/>
486 <label id="handleNewFileTypesDesc"
487 data-l10n-id="applications-handle-new-file-types-description"/>
488 <radiogroup id="handleNewFileTypes"
489 preference="browser.download.always_ask_before_handling_new_types">
490 <radio id="saveForNewTypes"
491 value="false"
492 data-l10n-id="applications-save-for-new-types"/>
493 <radio id="askBeforeHandling"
494 value="true"
495 data-l10n-id="applications-ask-before-handling"/>
496 </radiogroup>
497 </groupbox>
500 <!-- DRM Content -->
501 <groupbox id="drmGroup" data-category="paneGeneral" data-subcategory="drm" hidden="true">
502 <label><html:h2 data-l10n-id="drm-content-header"/></label>
503 <hbox align="center">
504 <checkbox id="playDRMContent" preference="media.eme.enabled"
505 class="tail-with-learn-more" data-l10n-id="play-drm-content" />
506 <html:a is="moz-support-link"
507 data-l10n-id="play-drm-content-learn-more"
508 support-page="drm-content"
510 </hbox>
511 </groupbox>
513 <hbox id="updatesCategory"
514 class="subcategory"
515 hidden="true"
516 data-category="paneGeneral">
517 <html:h1 data-l10n-id="update-application-title"/>
518 </hbox>
520 <!-- Update -->
521 <groupbox id="updateApp" data-category="paneGeneral" hidden="true">
522 <label class="search-header" hidden="true"><html:h2 data-l10n-id="update-application-title"/></label>
524 <description class="description-deemphasized" data-l10n-id="update-application-description"/>
525 <hbox align="center">
526 <vbox flex="1">
527 <html:span id="updateAppInfo">
528 <html:a id="releasenotes" target="_blank" data-l10n-name="learn-more" class="learnMore text-link" hidden="true"/>
529 </html:span>
530 <description id="distribution" class="text-blurb" hidden="true"/>
531 <description id="distributionId" class="text-blurb" hidden="true"/>
532 </vbox>
533 #ifdef MOZ_UPDATER
534 <button id="showUpdateHistory"
535 is="highlightable-button"
536 class="accessory-button"
537 data-l10n-id="update-history"
538 preference="app.update.disable_button.showUpdateHistory"
539 search-l10n-ids="
540 history-title,
541 history-intro
543 #endif
544 </hbox>
545 #ifdef MOZ_UPDATER
546 <vbox id="updateBox">
547 <deck id="updateDeck" orient="vertical">
548 <hbox id="checkForUpdates" align="start">
549 <spacer flex="1"/>
550 <button id="checkForUpdatesButton"
551 is="highlightable-button"
552 data-l10n-id="update-checkForUpdatesButton"/>
553 </hbox>
554 <hbox id="downloadAndInstall" align="start">
555 <spacer flex="1"/>
556 <button id="downloadAndInstallButton"
557 is="highlightable-button"/>
558 <!-- label and accesskey will be filled by JS -->
559 </hbox>
560 <hbox id="apply" align="start">
561 <spacer flex="1"/>
562 <button id="updateButton"
563 is="highlightable-button"
564 data-l10n-id="update-updateButton"/>
565 </hbox>
566 <hbox id="checkingForUpdates" align="start">
567 <html:img class="update-throbber"/>
568 <label data-l10n-id="update-checkingForUpdates"/>
569 <button data-l10n-id="update-checkForUpdatesButton"
570 is="highlightable-button"
571 disabled="true"/>
572 </hbox>
573 <description id="downloading" data-l10n-id="settings-update-downloading" data-l10n-args='{"transfer":""}'>
574 <html:img class="update-throbber" data-l10n-name="icon"/>
575 <label data-l10n-name="download-status"/>
576 </description>
577 <hbox id="applying" align="start">
578 <html:img class="update-throbber"/>
579 <label data-l10n-id="update-applying"/>
580 </hbox>
581 <hbox id="downloadFailed" align="start">
582 <label data-l10n-id="update-failed-main">
583 <html:a id="failedLink" target="_blank" class="learnMore text-link" data-l10n-name="failed-link-main"></html:a>
584 </label>
585 <button id="checkForUpdatesButton2"
586 data-l10n-id="update-checkForUpdatesButton"
587 is="highlightable-button"/>
588 </hbox>
589 <hbox id="policyDisabled" align="start">
590 <label data-l10n-id="update-policy-disabled"/>
591 <button data-l10n-id="update-checkForUpdatesButton"
592 is="highlightable-button"
593 disabled="true"/>
594 </hbox>
595 <hbox id="noUpdatesFound" align="start">
596 <label class="face-smile" data-l10n-id="update-noUpdatesFound"/>
597 <button id="checkForUpdatesButton3"
598 data-l10n-id="update-checkForUpdatesButton"
599 is="highlightable-button"/>
600 </hbox>
601 <hbox id="checkingFailed" align="start">
602 <label class="face-sad" data-l10n-id="aboutdialog-update-checking-failed"/>
603 <button id="checkForUpdatesButton4"
604 data-l10n-id="update-checkForUpdatesButton"
605 is="highlightable-button"/>
606 </hbox>
607 <hbox id="otherInstanceHandlingUpdates" align="start">
608 <label data-l10n-id="update-otherInstanceHandlingUpdates"/>
609 <button data-l10n-id="update-checkForUpdatesButton"
610 is="highlightable-button"
611 disabled="true"/>
612 </hbox>
613 <hbox id="manualUpdate" align="start">
614 <description class="face-sad" data-l10n-id="settings-update-manual-with-link" data-l10n-args='{"displayUrl":""}'>
615 <html:a class="manualLink" data-l10n-name="manual-link" target="_blank"/>
616 </description>
617 <button data-l10n-id="update-checkForUpdatesButton"
618 is="highlightable-button"
619 disabled="true"/>
620 </hbox>
621 <hbox id="unsupportedSystem" align="start">
622 <description flex="1" data-l10n-id="update-unsupported">
623 <label id="unsupportedLink" class="learnMore" data-l10n-name="unsupported-link" is="text-link"></label>
624 </description>
625 <button data-l10n-id="update-checkForUpdatesButton"
626 is="highlightable-button"
627 disabled="true"/>
628 </hbox>
629 <hbox id="restarting" align="start">
630 <html:img class="update-throbber"/>
631 <label data-l10n-id="update-restarting"/>
632 <button data-l10n-id="update-updateButton"
633 is="highlightable-button"
634 disabled="true"/>
635 </hbox>
636 <hbox id="internalError" align="start">
637 <description class="face-sad" flex="1" data-l10n-id="update-internal-error2" data-l10n-args='{"displayUrl":""}'>
638 <label class="manualLink" data-l10n-name="manual-link" is="text-link"/>
639 </description>
640 <button data-l10n-id="update-checkForUpdatesButton"
641 is="highlightable-button"
642 disabled="true"/>
643 </hbox>
644 </deck>
645 </vbox>
646 #endif
648 #ifdef MOZ_UPDATER
649 <label id="updateAllowDescription" data-l10n-id="update-application-allow-description"></label>
650 <vbox id="updateSettingsContainer" class="info-box-container">
651 <radiogroup id="updateRadioGroup">
652 <radio id="autoDesktop"
653 value="true"
654 data-l10n-id="update-application-auto"/>
655 #ifdef MOZ_UPDATE_AGENT
656 <checkbox id="backgroundUpdate"
657 class="indent"
658 hidden="true"
659 data-l10n-id="update-application-background-enabled"/>
660 #endif
661 <radio id="manualDesktop"
662 value="false"
663 data-l10n-id="update-application-check-choose"/>
664 </radiogroup>
665 <hbox id="updateSettingCrossUserWarningDesc" hidden="true">
666 <hbox class="info-icon-container">
667 <html:img class="info-icon"/>
668 </hbox>
669 <description id="updateSettingCrossUserWarning"
670 flex="1"
671 data-l10n-id="update-application-warning-cross-user-setting">
672 </description>
673 </hbox>
674 </vbox>
675 #ifdef NIGHTLY_BUILD
676 <checkbox id="showUpdatePrompts"
677 data-l10n-id="update-application-suppress-prompts"
678 preference="app.update.suppressPrompts"/>
679 #endif
680 #endif
681 </groupbox>
683 <hbox id="performanceCategory"
684 class="subcategory"
685 hidden="true"
686 data-category="paneGeneral">
687 <html:h1 data-l10n-id="performance-title"/>
688 </hbox>
690 <!-- Performance -->
691 <groupbox id="performanceGroup" data-category="paneGeneral" hidden="true">
692 <label class="search-header" hidden="true"><html:h2 data-l10n-id="performance-title"/></label>
694 <hbox align="center">
695 <checkbox id="useRecommendedPerformanceSettings"
696 class="tail-with-learn-more"
697 data-l10n-id="performance-use-recommended-settings-checkbox"
698 preference="browser.preferences.defaultPerformanceSettings.enabled"/>
699 <html:a is="moz-support-link"
700 data-l10n-id="performance-settings-learn-more"
701 support-page="performance"
703 </hbox>
704 <description class="indent tip-caption" data-l10n-id="performance-use-recommended-settings-desc"/>
706 <vbox id="performanceSettings" class="indent" hidden="true">
707 <checkbox id="allowHWAccel"
708 data-l10n-id="performance-allow-hw-accel"
709 preference="layers.acceleration.disabled"/>
710 <hbox align="center">
711 <label id="limitContentProcess" data-l10n-id="performance-limit-content-process-option" control="contentProcessCount"/>
712 <menulist id="contentProcessCount" preference="dom.ipc.processCount">
713 <menupopup>
714 <menuitem label="1" value="1"/>
715 <menuitem label="2" value="2"/>
716 <menuitem label="3" value="3"/>
717 <menuitem label="4" value="4"/>
718 <menuitem label="5" value="5"/>
719 <menuitem label="6" value="6"/>
720 <menuitem label="7" value="7"/>
721 <menuitem label="8" value="8"/>
722 </menupopup>
723 </menulist>
724 </hbox>
725 <description id="contentProcessCountEnabledDescription" class="tip-caption" data-l10n-id="performance-limit-content-process-enabled-desc"/>
726 <description id="contentProcessCountDisabledDescription" class="tip-caption" data-l10n-id="performance-limit-content-process-blocked-desc">
727 <html:a class="text-link" data-l10n-name="learn-more" href="https://wiki.mozilla.org/Electrolysis"/>
728 </description>
729 </vbox>
730 </groupbox>
732 <hbox id="browsingCategory"
733 class="subcategory"
734 hidden="true"
735 data-category="paneGeneral">
736 <html:h1 data-l10n-id="browsing-title"/>
737 </hbox>
739 <!-- Browsing -->
740 <groupbox id="browsingGroup" data-category="paneGeneral" hidden="true">
741 <label class="search-header" hidden="true"><html:h2 data-l10n-id="browsing-title"/></label>
743 <checkbox id="useAutoScroll"
744 data-l10n-id="browsing-use-autoscroll"
745 preference="general.autoScroll"/>
746 <checkbox id="useSmoothScrolling"
747 data-l10n-id="browsing-use-smooth-scrolling"
748 preference="general.smoothScroll"/>
749 #ifdef MOZ_WIDGET_GTK
750 <checkbox id="useOverlayScrollbars"
751 data-l10n-id="browsing-gtk-use-non-overlay-scrollbars"
752 preference="widget.gtk.overlay-scrollbars.enabled"/>
753 #endif
754 #ifdef XP_WIN
755 <checkbox id="useOnScreenKeyboard"
756 data-l10n-id="browsing-use-onscreen-keyboard"
757 preference="ui.osk.enabled"/>
758 #endif
759 <checkbox id="useCursorNavigation"
760 data-l10n-id="browsing-use-cursor-navigation"
761 preference="accessibility.browsewithcaret"/>
762 #ifdef XP_MACOSX
763 <checkbox id="useFullKeyboardNavigation"
764 data-l10n-id="browsing-use-full-keyboard-navigation"
765 preference="accessibility.tabfocus" />
766 #endif
767 <checkbox id="alwaysUnderlineLinks"
768 data-l10n-id="browsing-always-underline-links"
769 preference="layout.css.always_underline_links"/>
770 <checkbox id="searchStartTyping"
771 data-l10n-id="browsing-search-on-start-typing"
772 preference="accessibility.typeaheadfind"/>
773 <hbox id="pictureInPictureBox" align="center" hidden="true">
774 <checkbox id="pictureInPictureToggleEnabled"
775 class="tail-with-learn-more"
776 data-l10n-id="browsing-picture-in-picture-toggle-enabled"
777 preference="media.videocontrols.picture-in-picture.video-toggle.enabled"/>
778 <html:a is="moz-support-link"
779 data-l10n-id="browsing-picture-in-picture-learn-more"
780 support-page="picture-in-picture"
782 </hbox>
783 <hbox id="mediaControlBox" align="center" hidden="true">
784 <checkbox id="mediaControlToggleEnabled"
785 class="tail-with-learn-more"
786 data-l10n-id="browsing-media-control"
787 preference="media.hardwaremediakeys.enabled"/>
788 <html:a is="moz-support-link"
789 data-l10n-id="browsing-media-control-learn-more"
790 support-page="media-keyboard-control"
792 </hbox>
793 <hbox align="center" data-subcategory="cfraddons">
794 <checkbox id="cfrRecommendations"
795 class="tail-with-learn-more"
796 data-l10n-id="browsing-cfr-recommendations"
797 preference="browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"/>
798 <html:a is="moz-support-link"
799 data-l10n-id="browsing-cfr-recommendations-learn-more"
800 support-page="extensionrecommendations"
802 </hbox>
803 <hbox align="center" data-subcategory="cfrfeatures">
804 <checkbox id="cfrRecommendations-features"
805 class="tail-with-learn-more"
806 data-l10n-id="browsing-cfr-features"
807 preference="browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"/>
808 <html:a is="moz-support-link"
809 data-l10n-id="browsing-cfr-recommendations-learn-more"
810 support-page="extensionrecommendations"
812 </hbox>
813 </groupbox>
815 <hbox id="networkProxyCategory"
816 class="subcategory"
817 hidden="true"
818 data-category="paneGeneral">
819 <html:h1 data-l10n-id="network-settings-title"/>
820 </hbox>
822 <!-- Network Settings-->
823 <groupbox id="connectionGroup" data-category="paneGeneral" hidden="true">
824 <label class="search-header" hidden="true"><html:h2 data-l10n-id="network-settings-title"/></label>
826 <hbox align="center"
827 data-subcategory="netsettings">
828 <description flex="1" control="connectionSettings">
829 <html:span id="connectionSettingsDescription"/>
830 <html:a is="moz-support-link"
831 data-l10n-id="network-proxy-connection-learn-more"
832 support-page="prefs-connection-settings"
834 </description>
835 <separator orient="vertical"/>
836 <button id="connectionSettings"
837 is="highlightable-button"
838 class="accessory-button"
839 data-l10n-id="network-proxy-connection-settings"
840 search-l10n-ids="
841 connection-window2.title,
842 connection-proxy-option-no.label,
843 connection-proxy-option-auto.label,
844 connection-proxy-option-system.label,
845 connection-proxy-option-wpad.label,
846 connection-proxy-option-manual.label,
847 connection-proxy-http,
848 connection-proxy-https,
849 connection-proxy-http-port,
850 connection-proxy-socks,
851 connection-proxy-socks4,
852 connection-proxy-socks5,
853 connection-proxy-noproxy,
854 connection-proxy-noproxy-desc,
855 connection-proxy-https-sharing.label,
856 connection-proxy-autotype.label,
857 connection-proxy-reload.label,
858 connection-proxy-autologin-checkbox.label,
859 connection-proxy-socks-remote-dns.label,
860 " />
861 </hbox>
862 </groupbox>
863 </html:template>