2019-07-10 15:03:37 +03:00
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
|
2020-04-23 02:35:08 +03:00
|
|
|
<script src="chrome://browser/content/preferences/search.js"/>
|
2019-04-23 01:38:57 +03:00
|
|
|
<html:template id="template-paneSearch">
|
2017-08-21 12:48:18 +03:00
|
|
|
<hbox id="searchCategory"
|
|
|
|
class="subcategory"
|
2017-03-22 23:56:25 +03:00
|
|
|
hidden="true"
|
|
|
|
data-category="paneSearch">
|
2018-12-04 21:51:29 +03:00
|
|
|
<html:h1 data-l10n-id="pane-search-title"/>
|
2017-03-22 23:56:25 +03:00
|
|
|
</hbox>
|
|
|
|
|
2019-01-29 03:27:29 +03:00
|
|
|
<groupbox id="searchbarGroup" data-category="paneSearch" hidden="true">
|
2018-11-20 18:14:18 +03:00
|
|
|
<label control="searchBarVisibleGroup"><html:h2 data-l10n-id="search-bar-header"/></label>
|
2021-04-01 15:00:49 +03:00
|
|
|
<radiogroup id="searchBarVisibleGroup" preference="browser.search.widget.inNavBar" align="start">
|
2018-03-13 03:17:13 +03:00
|
|
|
<radio id="searchBarHiddenRadio" value="false" data-l10n-id="search-bar-hidden"/>
|
2017-08-30 11:38:05 +03:00
|
|
|
<image class="searchBarImage searchBarHiddenImage" role="presentation"/>
|
2018-03-13 03:17:13 +03:00
|
|
|
<radio id="searchBarShownRadio" value="true" data-l10n-id="search-bar-shown"/>
|
2017-08-30 11:38:05 +03:00
|
|
|
<image class="searchBarImage searchBarShownImage" role="presentation"/>
|
|
|
|
</radiogroup>
|
|
|
|
</groupbox>
|
|
|
|
|
2017-03-22 23:56:25 +03:00
|
|
|
<!-- Default Search Engine -->
|
2019-01-29 03:27:29 +03:00
|
|
|
<groupbox id="defaultEngineGroup" data-category="paneSearch" hidden="true">
|
2018-11-20 18:14:18 +03:00
|
|
|
<label><html:h2 data-l10n-id="search-engine-default-header" /></label>
|
2019-10-17 15:32:10 +03:00
|
|
|
<description data-l10n-id="search-engine-default-desc-2" />
|
2017-10-18 22:54:54 +03:00
|
|
|
|
2017-08-21 12:48:18 +03:00
|
|
|
<hbox>
|
|
|
|
<!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
|
|
|
|
<hbox>
|
|
|
|
<menulist id="defaultEngine">
|
|
|
|
<menupopup/>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
</hbox>
|
2019-09-30 22:18:26 +03:00
|
|
|
<checkbox id="browserSeparateDefaultEngine"
|
|
|
|
data-l10n-id="search-separate-default-engine"
|
|
|
|
hidden="true"/>
|
|
|
|
<vbox id="browserPrivateEngineSelection" class="indent" hidden="true">
|
2019-10-17 15:32:10 +03:00
|
|
|
<description data-l10n-id="search-engine-default-private-desc-2" />
|
2019-09-30 22:18:26 +03:00
|
|
|
<hbox>
|
|
|
|
<!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
|
|
|
|
<hbox>
|
|
|
|
<menulist id="defaultPrivateEngine">
|
|
|
|
<menupopup/>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
<groupbox id="searchSuggestionsGroup" data-category="paneSearch" hidden="true">
|
|
|
|
<label><html:h2 data-l10n-id="search-suggestions-header" /></label>
|
2021-02-23 02:08:12 +03:00
|
|
|
<description id="searchSuggestionsDesc"
|
|
|
|
data-l10n-id="search-suggestions-desc" />
|
2017-10-18 22:54:54 +03:00
|
|
|
|
2017-03-22 23:56:25 +03:00
|
|
|
<checkbox id="suggestionsInSearchFieldsCheckbox"
|
2018-03-13 03:17:13 +03:00
|
|
|
data-l10n-id="search-suggestions-option"
|
2017-03-22 23:56:25 +03:00
|
|
|
preference="browser.search.suggest.enabled"/>
|
|
|
|
<vbox class="indent">
|
2018-03-13 03:17:13 +03:00
|
|
|
<checkbox id="urlBarSuggestion" data-l10n-id="search-show-suggestions-url-bar-option" />
|
2018-02-09 12:44:28 +03:00
|
|
|
<checkbox id="showSearchSuggestionsFirstCheckbox"
|
2021-01-29 02:23:16 +03:00
|
|
|
data-l10n-id="search-show-suggestions-above-history-option"
|
|
|
|
preference="browser.urlbar.showSearchSuggestionsFirst"/>
|
2019-10-11 17:57:44 +03:00
|
|
|
<checkbox id="showSearchSuggestionsPrivateWindows"
|
|
|
|
data-l10n-id="search-show-suggestions-private-windows"/>
|
2017-03-22 23:56:25 +03:00
|
|
|
<hbox id="urlBarSuggestionPermanentPBLabel"
|
|
|
|
align="center" class="indent">
|
2018-03-13 03:17:13 +03:00
|
|
|
<label flex="1" data-l10n-id="search-suggestions-cant-show" />
|
2017-03-22 23:56:25 +03:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2019-09-30 22:18:26 +03:00
|
|
|
<label id="openLocationBarPrivacyPreferences" is="text-link"
|
2021-03-25 22:11:47 +03:00
|
|
|
data-l10n-id="suggestions-addressbar-settings-generic2"/>
|
2017-03-22 23:56:25 +03:00
|
|
|
</groupbox>
|
|
|
|
|
2019-01-29 03:27:29 +03:00
|
|
|
<groupbox id="oneClickSearchProvidersGroup" data-category="paneSearch" hidden="true">
|
2020-09-23 18:23:46 +03:00
|
|
|
<label><html:h2 data-l10n-id="search-one-click-header2" /></label>
|
2018-03-13 03:17:13 +03:00
|
|
|
<description data-l10n-id="search-one-click-desc" />
|
2017-03-22 23:56:25 +03:00
|
|
|
|
2020-11-21 01:35:08 +03:00
|
|
|
<tree id="engineList" flex="1" rows="11" hidecolumnpicker="true" editable="true"
|
2017-09-20 10:17:25 +03:00
|
|
|
seltype="single" allowunderflowscroll="true">
|
2017-03-22 23:56:25 +03:00
|
|
|
<treechildren id="engineChildren" flex="1"/>
|
|
|
|
<treecols>
|
|
|
|
<treecol id="engineShown" type="checkbox" editable="true" sortable="false"/>
|
2020-08-28 11:41:48 +03:00
|
|
|
<treecol id="engineName" flex="1" data-l10n-id="search-choose-engine-column" sortable="false"/>
|
|
|
|
<treecol id="engineKeyword" flex="1" data-l10n-id="search-choose-keyword-column" sortable="false"/>
|
2017-03-22 23:56:25 +03:00
|
|
|
</treecols>
|
|
|
|
</tree>
|
|
|
|
|
|
|
|
<hbox>
|
|
|
|
<button id="restoreDefaultSearchEngines"
|
2019-04-20 00:08:33 +03:00
|
|
|
is="highlightable-button"
|
2018-03-13 03:17:13 +03:00
|
|
|
data-l10n-id="search-restore-default"
|
2017-03-22 23:56:25 +03:00
|
|
|
/>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<button id="removeEngineButton"
|
2019-04-20 00:08:33 +03:00
|
|
|
is="highlightable-button"
|
2017-03-22 23:56:25 +03:00
|
|
|
class="searchEngineAction"
|
2018-03-13 03:17:13 +03:00
|
|
|
data-l10n-id="search-remove-engine"
|
2017-03-22 23:56:25 +03:00
|
|
|
disabled="true"
|
|
|
|
/>
|
2020-08-26 22:33:41 +03:00
|
|
|
<!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
|
|
|
|
<hbox>
|
|
|
|
<button id="addEngineButton"
|
|
|
|
is="highlightable-button"
|
|
|
|
class="searchEngineAction"
|
|
|
|
hidden="true"
|
|
|
|
data-l10n-id="search-add-engine"
|
|
|
|
search-l10n-ids="
|
|
|
|
add-engine-button,
|
|
|
|
add-engine-name,
|
|
|
|
add-engine-alias,
|
|
|
|
add-engine-url,
|
2020-10-07 21:36:32 +03:00
|
|
|
add-engine-dialog.buttonlabelaccept,
|
2020-08-26 22:33:41 +03:00
|
|
|
"
|
|
|
|
/>
|
|
|
|
</hbox>
|
2017-03-22 23:56:25 +03:00
|
|
|
</hbox>
|
|
|
|
<hbox id="addEnginesBox" pack="start">
|
2019-02-13 03:14:40 +03:00
|
|
|
<label id="addEngines" data-l10n-id="search-find-more-link" is="text-link"></label>
|
2017-03-22 23:56:25 +03:00
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
2019-04-23 01:38:57 +03:00
|
|
|
</html:template>
|