2014-11-17 15:59:11 -08:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- 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/. -->
|
|
|
|
|
|
|
|
<!DOCTYPE overlay [
|
2014-11-27 03:24:53 -08:00
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
|
|
|
<!ENTITY % searchDTD SYSTEM "chrome://browser/locale/preferences/search.dtd">
|
|
|
|
%brandDTD;
|
|
|
|
%searchDTD;
|
2014-11-17 15:59:11 -08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<overlay id="SearchPaneOverlay"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml">
|
|
|
|
|
|
|
|
<prefpane id="paneSearch" helpTopic="prefs-search"
|
|
|
|
onpaneload="gSearchPane.init();">
|
|
|
|
|
|
|
|
<preferences id="searchPreferences">
|
|
|
|
|
|
|
|
<!-- Suggest -->
|
|
|
|
<preference id="browser.search.suggest.enabled"
|
|
|
|
name="browser.search.suggest.enabled"
|
|
|
|
type="bool"/>
|
|
|
|
|
|
|
|
<!-- One off providers -->
|
|
|
|
<preference id="browser.search.hiddenOneOffs"
|
|
|
|
name="browser.search.hiddenOneOffs"
|
|
|
|
type="string"/>
|
|
|
|
|
|
|
|
</preferences>
|
|
|
|
|
|
|
|
<script type="application/javascript" src="chrome://browser/content/preferences/search.js"/>
|
|
|
|
|
2014-12-17 07:20:01 -08:00
|
|
|
<stringbundle id="engineManagerBundle" src="chrome://browser/locale/engineManager.properties"/>
|
|
|
|
|
2014-11-17 15:59:11 -08:00
|
|
|
<!-- Default Search Engine -->
|
|
|
|
<groupbox id="defaultEngineGroup" align="start">
|
2014-11-27 03:24:53 -08:00
|
|
|
<caption label="&defaultSearchEngine.label;"/>
|
|
|
|
<label>&chooseYourDefaultSearchEngine.label;</label>
|
2014-11-17 15:59:11 -08:00
|
|
|
<menulist id="defaultEngine" oncommand="gSearchPane.setDefaultEngine();">
|
|
|
|
<menupopup/>
|
|
|
|
</menulist>
|
|
|
|
<checkbox id="suggestionsInSearchFieldsCheckbox"
|
2014-11-27 03:24:53 -08:00
|
|
|
label="&provideSearchSuggestions.label;"
|
|
|
|
accesskey="&provideSearchSuggestions.accesskey;"
|
2014-11-17 15:59:11 -08:00
|
|
|
preference="browser.search.suggest.enabled"/>
|
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
<groupbox id="oneClickSearchProvidersGroup">
|
2014-11-27 03:24:53 -08:00
|
|
|
<caption label="&oneClickSearchEngines.label;"/>
|
|
|
|
<label>&chooseWhichOneToDisplay.label;</label>
|
2014-11-17 15:59:11 -08:00
|
|
|
|
2014-12-17 07:20:01 -08:00
|
|
|
<tree id="engineList" flex="1" rows="8" hidecolumnpicker="true" editable="true"
|
|
|
|
seltype="single" onselect="gSearchPane.onTreeSelect();"
|
|
|
|
onkeypress="gSearchPane.onTreeKeyPress(event);">
|
|
|
|
<treechildren id="engineChildren" flex="1"
|
|
|
|
ondragstart="onDragEngineStart(event);"/>
|
|
|
|
<treecols>
|
2015-01-26 08:14:29 -08:00
|
|
|
<treecol id="engineShown" type="checkbox" style="min-width: 26px;" editable="true"
|
|
|
|
sortable="false"/>
|
|
|
|
<treecol id="engineName" flex="4" label="&engineNameColumn.label;" sortable="false"/>
|
|
|
|
<treecol id="engineKeyword" flex="1" label="&engineKeywordColumn.label;" editable="true"
|
|
|
|
sortable="false"/>
|
2014-12-17 07:20:01 -08:00
|
|
|
</treecols>
|
|
|
|
</tree>
|
|
|
|
|
|
|
|
<hbox>
|
|
|
|
<button id="restoreDefaultSearchEngines"
|
|
|
|
label="&restoreDefaultSearchEngines.label;"
|
|
|
|
accesskey="&restoreDefaultSearchEngines.accesskey;"
|
|
|
|
oncommand="gSearchPane.onRestoreDefaults();"/>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<button id="removeEngineButton"
|
|
|
|
label="&removeEngine.label;"
|
|
|
|
accesskey="&removeEngine.accesskey;"
|
|
|
|
disabled="true"
|
|
|
|
oncommand="gSearchPane.remove();"/>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<separator class="thin"/>
|
|
|
|
|
2014-12-22 06:03:51 -08:00
|
|
|
<hbox pack="start">
|
2014-11-27 03:24:53 -08:00
|
|
|
<label id="addEngines" class="text-link" value="&addMoreSearchEngines.label;"
|
2015-01-11 11:51:11 -08:00
|
|
|
onclick="if (event.button == 0) { gSearchPane.loadAddEngines(); }"/>
|
2014-11-17 15:59:11 -08:00
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
</prefpane>
|
|
|
|
|
|
|
|
</overlay>
|