File: search.inc.xhtml

package info (click to toggle)
firefox-esr 91.12.0esr-1~deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,375,668 kB
  • sloc: cpp: 5,762,032; javascript: 5,481,714; ansic: 3,121,206; python: 851,492; asm: 331,174; xml: 178,949; java: 155,554; sh: 63,704; makefile: 20,127; perl: 12,825; yacc: 4,583; cs: 3,846; objc: 3,026; lex: 1,720; exp: 762; pascal: 635; php: 436; lisp: 260; awk: 231; ruby: 103; sed: 53; sql: 46; csh: 45
file content (135 lines) | stat: -rw-r--r-- 6,356 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!-- 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/. -->

    <script src="chrome://browser/content/preferences/search.js"/>
    <html:template id="template-paneSearch">
    <hbox id="searchCategory"
          class="subcategory"
          hidden="true"
          data-category="paneSearch">
      <html:h1 data-l10n-id="pane-search-title"/>
    </hbox>

    <groupbox id="searchbarGroup" data-category="paneSearch" hidden="true">
      <label control="searchBarVisibleGroup"><html:h2 data-l10n-id="search-bar-header"/></label>
      <radiogroup id="searchBarVisibleGroup" preference="browser.search.widget.inNavBar" align="start">
        <radio id="searchBarHiddenRadio" value="false" data-l10n-id="search-bar-hidden"/>
        <image class="searchBarImage searchBarHiddenImage" role="presentation"/>
        <radio id="searchBarShownRadio" value="true" data-l10n-id="search-bar-shown"/>
        <image class="searchBarImage searchBarShownImage" role="presentation"/>
      </radiogroup>
    </groupbox>

    <!-- Default Search Engine -->
    <groupbox id="defaultEngineGroup" data-category="paneSearch" hidden="true">
      <label><html:h2 data-l10n-id="search-engine-default-header" /></label>
      <description data-l10n-id="search-engine-default-desc-2" />

      <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>
      <checkbox id="browserSeparateDefaultEngine"
                data-l10n-id="search-separate-default-engine"
                hidden="true"/>
      <vbox id="browserPrivateEngineSelection" class="indent" hidden="true">
        <description data-l10n-id="search-engine-default-private-desc-2" />
        <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>
      <description id="searchSuggestionsDesc"
                   data-l10n-id="search-suggestions-desc" />

      <checkbox id="suggestionsInSearchFieldsCheckbox"
                data-l10n-id="search-suggestions-option"
                preference="browser.search.suggest.enabled"/>
      <vbox class="indent">
        <checkbox id="urlBarSuggestion" data-l10n-id="search-show-suggestions-url-bar-option" />
        <checkbox id="showSearchSuggestionsFirstCheckbox"
                  data-l10n-id="search-show-suggestions-above-history-option"
                  preference="browser.urlbar.showSearchSuggestionsFirst"/>
        <!-- This box is visible only for users enrolled in the en-US Quick Suggest experiment. -->
        <hbox id="showQuickSuggestContainer" data-subcategory="quickSuggest" align="center" hidden="true">
          <checkbox id="showQuickSuggest"
                    class="tail-with-learn-more"
                    label="Show Firefox Suggest in the address bar (suggested and sponsored results)"
                    preference="browser.urlbar.suggest.quicksuggest"/>
          <label id="showQuickSuggestLearnMore"
                 class="learnMore"
                 is="text-link"
                 value="Learn more about Firefox Suggest"/>
        </hbox>
        <checkbox id="showSearchSuggestionsPrivateWindows"
                  data-l10n-id="search-show-suggestions-private-windows"/>
        <hbox id="urlBarSuggestionPermanentPBLabel"
              align="center" class="indent">
          <label flex="1" data-l10n-id="search-suggestions-cant-show" />
        </hbox>
      </vbox>
      <label id="openLocationBarPrivacyPreferences" is="text-link"
             data-l10n-id="suggestions-addressbar-settings-generic2"/>
    </groupbox>

    <groupbox id="oneClickSearchProvidersGroup" data-category="paneSearch" hidden="true">
      <label><html:h2 data-l10n-id="search-one-click-header2" /></label>
      <description data-l10n-id="search-one-click-desc" />

      <tree id="engineList" flex="1" rows="11" hidecolumnpicker="true" editable="true"
            seltype="single" allowunderflowscroll="true">
        <treechildren id="engineChildren" flex="1"/>
        <treecols>
          <treecol id="engineShown" type="checkbox" editable="true" sortable="false"/>
          <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"/>
        </treecols>
      </tree>

      <hbox>
        <button id="restoreDefaultSearchEngines"
                is="highlightable-button"
                data-l10n-id="search-restore-default"
                />
        <spacer flex="1"/>
        <button id="removeEngineButton"
                is="highlightable-button"
                class="searchEngineAction"
                data-l10n-id="search-remove-engine"
                disabled="true"
                />
        <!-- 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,
                    add-engine-dialog.buttonlabelaccept,
                  "
                  />
        </hbox>
      </hbox>
      <hbox id="addEnginesBox" pack="start">
        <label id="addEngines" data-l10n-id="search-find-more-link" is="text-link"></label>
      </hbox>
    </groupbox>
    </html:template>