summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/search/content/search-panel.xul
blob: 8f7c86285e1a7064356fb314d083e97f6a403e98 (plain)
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
<?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/. -->

<?xml-stylesheet href="chrome://communicator/content/search/searchbarBindings.css"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/search/search.css" type="text/css"?>

<!DOCTYPE page SYSTEM "chrome://communicator/locale/search/search-panel.dtd" >
<page id="searchPanel"
      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      onload="Startup();"
      elementtofocus="sidebar-search-text">

  <script src="chrome://global/content/globalOverlay.js"/>
  <script src="chrome://communicator/content/search/search-panel.js"/>
  <script src="chrome://communicator/content/utilityOverlay.js"/>

    <popupset id="sidebarPopupset">
      <panel id="PopupAutoComplete"
             type="autocomplete"
             noautofocus="true"/>
    </popupset>

    <menulist id="sidebar-search-engines"
              oncommand="SelectEngine(this);"/>

    <hbox align="center">
      <textbox id="sidebar-search-text" flex="1"
               class="search-textbox padded"
               ontextentered="doSearch();"
               placeholder="&search.placeholder;"
               type="autocomplete"
               inputtype="search"
               autocompletepopup="PopupAutoComplete"
               autocompletesearch="search-autocomplete"
               autocompletesearchparam="searchbar-history"
               maxrows="10"
               completeselectedindex="true"
               tabscrolling="true"/>
      <button id="searchButton" label="&search.button.label;"
              oncommand="doSearch();"/>
    </hbox>
    <button id="managerButton"
            label="&search.engineManager.label;"
            oncommand="window.top.OpenSearchEngineManager();"/>
</page>