home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / pref / pref-smart_browsing.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  4KB  |  98 lines

  1. <?xml version="1.0"?> 
  2. <!--
  3.    The contents of this file are subject to the Netscape Public
  4.    License Version 1.1 (the "License"); you may not use this file
  5.    except in compliance with the License. You may obtain a copy of
  6.    the License at http://www.mozilla.org/NPL/
  7.     
  8.    Software distributed under the License is distributed on an "AS
  9.    IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    implied. See the License for the specific language governing
  11.    rights and limitations under the License.
  12.     
  13.    The Original Code is Mozilla Communicator client code, released
  14.    March 31, 1998.
  15.    
  16.    The Initial Developer of the Original Code is Netscape
  17.    Communications Corporation. Portions created by Netscape are
  18.    Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.    Rights Reserved.
  20.    
  21.    Contributor(s): 
  22.    Blake Ross <blakeross@telocity.com>
  23.    Diego Biurrun <diego@biurrun.de>
  24.   -->
  25.  
  26. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  27. <?xml-stylesheet href="chrome://communicator/skin/prefpanels.css" type="text/css"?>
  28.  
  29. <!DOCTYPE page [
  30. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  31. %brandDTD;
  32. <!ENTITY % prefSmartBrowsingDTD SYSTEM "chrome://communicator/locale/pref/pref-smart_browsing.dtd" >
  33. %prefSmartBrowsingDTD;
  34. ]>
  35.  
  36. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  37.       onload="parent.initPanel('chrome://communicator/content/pref/pref-smart_browsing.xul');"
  38.       headertitle="&lHeader;">
  39.  
  40.   <stringbundle id="bundle_region"
  41.                 src="chrome://global-region/locale/region.properties"/>
  42.  
  43.   <script type="application/x-javascript" src="chrome://communicator/content/pref/pref-smart_browsing.js"/>
  44.  
  45.   <script type="application/x-javascript">
  46.   <![CDATA[
  47.   
  48.   var _elementIDs = ["browserGoBrowsingEnabled", "browserAutoCompleteEnabled",
  49.                      "browserUrlbarAutoFill", "browserUrlbarShowPopup", "browserUrlbarShowSearch",
  50.                      "browserUrlbarMatchOnlyTyped", "domainGuessingEnabled"];
  51.   
  52.   ]]>
  53.   </script>
  54.         
  55.   <groupbox>
  56.     <caption label="&internetKeywordsHeader.label;"/>
  57.  
  58.     <description>&internetKeywordsDescription.label;</description>
  59.     
  60.     <hbox align="center">
  61.       <checkbox id="browserGoBrowsingEnabled" label="&keywordsEnabled.label;" accesskey="&keywordsEnabled.accesskey;"
  62.                 prefstring="keyword.enabled"/>
  63.       <spacer flex="1"/>
  64.       <button label="&moreInformation.label;" accesskey="&moreInformation.accesskey;" oncommand="moreInfo();"
  65.         id="moreInformationButton"
  66.         prefstring="pref.browser.smartbrowsing.disable_button.more_info"/>
  67.     </hbox>
  68.     
  69.   </groupbox>
  70.  
  71.   <groupbox>
  72.     <caption label="&autoCompleteHeader.label;"/>
  73.       <hbox align="center">
  74.         <checkbox id="browserAutoCompleteEnabled" label="&autoCompleteEnabled.label;" 
  75.                   accesskey="&autoCompleteEnabled.accesskey;"
  76.                   prefstring="browser.urlbar.autocomplete.enabled"
  77.                   oncommand="toggleAutoCompleteAdvancedButton()" flex="1"/>
  78.       <button label="&autoCompleteAdvanced.label;" oncommand="showACAdvanced()" id="autoCompleteAdvancedButton"/>
  79.       <data id="browserUrlbarAutoFill" preftype="bool" prefattribute="value"
  80.             prefstring="browser.urlbar.autoFill"/>
  81.       <data id="browserUrlbarShowPopup" preftype="bool" prefattribute="value"
  82.             prefstring="browser.urlbar.showPopup"/>
  83.       <data id="browserUrlbarShowSearch" preftype="bool" prefattribute="value"
  84.             prefstring="browser.urlbar.showSearch"/>
  85.       <data id="browserUrlbarMatchOnlyTyped" preftype="bool" prefattribute="value"
  86.             prefstring="browser.urlbar.matchOnlyTyped"/>
  87.     </hbox>
  88.   </groupbox>
  89.  
  90.   <groupbox>
  91.     <caption label="&domainGuessingHeader.label;"/>
  92.  
  93.     <checkbox id="domainGuessingEnabled"
  94.               label="&domainGuessingEnabled.label;"
  95.               prefstring="browser.fixup.alternate.enabled"/>
  96.   </groupbox>
  97. </page>
  98.