home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / browser.jar / content / browser / search / internetresults.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-07-29  |  5.5 KB  |  126 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://browser/skin/search/search.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://browser/skin/search/internetresults.css" type="text/css"?>
  5.  
  6. <!DOCTYPE page SYSTEM "chrome://browser/locale/search/internetresults.dtd">
  7.  
  8. <page onload="onLoadInternetResults();"
  9.       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  10.       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.       title="&internetresults.title;"
  12.       context="disallowcontext">
  13.  
  14.   <popupset>
  15.     <popup id="disallowcontext" onpopupshowing="return false;"/>
  16.   </popupset>
  17.  
  18.   <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js"/>
  19.   <script type="application/x-javascript" src="chrome://browser/content/search/internetresults.js"/>
  20.   <script type="application/x-javascript" src="chrome://browser/content/search/shared.js"/>
  21.  
  22.   <hbox id="multi-results-header"> 
  23.     <label value="&results.header.label;"/>
  24.   </hbox>
  25.  
  26.   <hbox align="center"
  27.         style="overflow: none; min-width: 1px;">
  28.     <label value="&viewbyprovider.label;"/>
  29.     <menulist id="engineTabs" ref="NC:SearchResultsSitesRoot"
  30.               datasources="rdf:internetsearch" oncommand="switchTab(1);">
  31.       <template>
  32.         <menupopup>
  33.           <menuitem id="chooseCat" uri="..." oncommand="doEngineClick(event, this);"
  34.                     src="rdf:http://home.netscape.com/NC-rdf#Icon"
  35.                     value="rdf:http://home.netscape.com/NC-rdf#category"
  36.                     label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  37.         </menupopup>
  38.       </template>
  39.       <menupopup id="categoryPopup">
  40.         <menuitem id="allEngines" value="NC:SearchEngineRoot" label="&allresults.title.label;"
  41.                   oncommand="doEngineClick(event, this);"/>
  42.         <menuseparator/>
  43.       </menupopup>
  44.     </menulist>
  45.   </hbox>
  46.  
  47.   <menupopup id="contextual" onpopupshowing="return fillContextMenu('contextual', 'resultsList');"/>
  48.   
  49.   <tree id="resultsList" flex="1" class="plain"
  50.            datasources="rdf:internetsearch" context="contextual"
  51.            onselect="return listSelect(event);"
  52.            onclick ="return listClick (event);">
  53.  
  54.     <treecols onclick="doSort(event.target.id, 'http://home.netscape.com/NC-rdf#PageRank');">
  55.       <treecol id="NameColumn" primary="true" label="&name.column.label;"
  56.                resource="http://home.netscape.com/NC-rdf#Name" flex="1"/>
  57.       <splitter class="tree-splitter"/>
  58.       <treecol id="PageRankColumn" label="&pagerank.column.label;"
  59.                resource="http://home.netscape.com/NC-rdf#PageRank"
  60.                resource2="http://home.netscape.com/NC-rdf#Name" flex="1"/>
  61.       <splitter class="tree-splitter"/>
  62.       <treecol id="RelevanceColumn" label="&relevance.column.label;"
  63.                resource="http://home.netscape.com/NC-rdf#Relevance"
  64.                resource2="http://home.netscape.com/NC-rdf#Name"
  65.                hidden="true" flex="1"/>
  66.       <splitter class="tree-splitter"/>
  67.       <treecol id="PriceColumn" label="&price.column.label;"
  68.                resource="http://home.netscape.com/NC-rdf#Price"
  69.                resource2="http://home.netscape.com/NC-rdf#Availability"
  70.                hidden="true" flex="1"/>
  71.       <splitter class="tree-splitter"/>
  72.       <treecol id="AvailabilityColumn" label="&availability.column.label;"
  73.                resource="http://home.netscape.com/NC-rdf#Availability"
  74.                resource2="http://home.netscape.com/NC-rdf#Price"
  75.                hidden="true" flex="1"/>
  76.       <splitter class="tree-splitter"/>
  77.       <treecol id="DateColumn" label="&date.column.label;"
  78.                resource="http://home.netscape.com/NC-rdf#Date"
  79.                resource2="http://home.netscape.com/NC-rdf#Name"
  80.                hidden="true" flex="1"/>
  81.       <splitter class="tree-splitter"/>
  82.       <treecol id="SiteColumn" label="&site.column.label;"
  83.                resource="http://home.netscape.com/NC-rdf#Site"
  84.                resource2="http://home.netscape.com/NC-rdf#Name" flex="1"/>
  85.       <splitter class="tree-splitter"/>
  86.       <treecol id="EngineColumn" label="&engine.column.label;"
  87.                resource="http://home.netscape.com/NC-rdf#Engine"
  88.                resource2="http://home.netscape.com/NC-rdf#Name" flex="1"/>
  89.     </treecols>
  90.  
  91.     <template>
  92.       <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  93.         <treeseparator uri="..."/>
  94.       </rule>
  95.       
  96.       <rule>
  97.         <treechildren>
  98.           <treeitem uri="...">
  99.             <treerow>
  100.               <treecell src="rdf:http://home.netscape.com/NC-rdf#Icon" 
  101.                         label="rdf:http://home.netscape.com/NC-rdf#Name" />
  102.               <treecell label="rdf:http://home.netscape.com/NC-rdf#PageRank"/>
  103.               <treecell label="rdf:http://home.netscape.com/NC-rdf#Relevance"/>
  104.               <treecell label="rdf:http://home.netscape.com/NC-rdf#Price"/>
  105.               <treecell label="rdf:http://home.netscape.com/NC-rdf#Availability"/>
  106.               <treecell label="rdf:http://home.netscape.com/NC-rdf#Date"/>
  107.               <treecell label="rdf:http://home.netscape.com/NC-rdf#Site"/>
  108.               <treecell label="rdf:http://home.netscape.com/NC-rdf#Engine"/>
  109.             </treerow>
  110.           </treeitem>
  111.         </treechildren>
  112.       </rule>
  113.     </template>
  114.  
  115.   </tree>
  116.  
  117.   <splitter id="results-splitter" persist="state" collapse="after">
  118.     <grippy/>
  119.   </splitter>
  120.   
  121.   <hbox flex="1">
  122.     <iframe id="content" flex="1" src="chrome://browser/locale/search/default.htm"/>
  123.   </hbox>
  124.   
  125. </page>
  126.