gecko-dev/suite/common/pref/pref-smart_browsing.xul

134 lines
5.4 KiB
Plaintext
Raw Normal View History

1999-06-04 23:28:56 +00:00
<?xml version="1.0"?>
1999-08-10 02:48:56 +00:00
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Blake Ross <blakeross@telocity.com>
Diego Biurrun <diego@biurrun.de>
1999-08-10 02:48:56 +00:00
-->
1999-06-04 23:28:56 +00:00
2006-05-17 02:24:36 +00:00
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/prefpanels.css" type="text/css"?>
2006-05-17 02:24:52 +00:00
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % prefSmartBrowsingDTD SYSTEM "chrome://communicator/locale/pref/pref-smart_browsing.dtd" >
%prefSmartBrowsingDTD;
]>
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://communicator/content/pref/pref-smart_browsing.xul');">
2006-05-17 02:24:52 +00:00
<stringbundle id="bundle_region"
src="chrome://global-region/locale/region.properties"/>
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-smart_browsing.js"/>
<script type="application/x-javascript">
2006-05-17 02:24:52 +00:00
<![CDATA[
var _elementIDs = ["browserRelatedDisabledForDomains", "addDomain",
"browserGoBrowsingEnabled", "browserAutoCompleteEnabled",
"browserUrlbarAutoFill", "browserUrlbarShowPopup", "browserUrlbarShowSearch"];
2006-05-17 02:24:52 +00:00
]]>
</script>
<hbox class="box-smallheader" title="&lHeader;"/>
<groupbox flex="1">
<caption label="&whatsRelated.label;"/>
<description id="doNotAcceptText">&doNotDecp.label;</description>
<separator class="thin"/>
2006-05-17 02:24:52 +00:00
<grid flex="1">
<columns>
<column flex="5"/>
<column/>
2006-05-17 02:24:52 +00:00
</columns>
<rows>
<row>
<hbox align="center">
<label id="domainText" value="&domain.label;" accesskey="&domain.accesskey;" control="addDomain"/>
<textbox id="addDomain" flex="1" oninput="doButtonEnabling();" preftype="bool"
prefstring="pref.browser.smartbrowsing.disable_textbox.add" prefattribute="disabled"/>
</hbox>
<vbox align="center">
<button disabled="true" id="addDomainButton" label="&addDomain.label;" accesskey="&addDomain.accesskey;"
oncommand="addDomain();" prefstring="pref.browser.smartbrowsing.disable_button.add"/>
</vbox>
</row>
<separator class="thin"/>
<row flex="1">
<tree id="disabledDomains" multiple="true" onkeyup="treeHandleEvent(event)" style="height: 0px; width: 0px;" flex="1">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treechildren id="disabledKids" flex="1"/>
2006-05-17 02:24:52 +00:00
</tree>
<vbox align="center">
<button id="removeDomain" label="&removeDomain.label;" accesskey="&removeDomain.accesskey;"
oncommand="removeDomain();" prefstring="pref.browser.smartbrowsing.disable_button.remove"/>
</vbox>
2006-05-17 02:24:52 +00:00
</row>
</rows>
</grid>
<data id="browserRelatedDisabledForDomains" preftype="string"
2006-05-17 02:24:52 +00:00
prefstring="browser.related.disabledForDomains" prefattribute="value" wsm_attributes="value"/>
</groupbox>
2006-05-17 02:24:52 +00:00
<groupbox>
<caption label="&internetKeywordsHeader.label;"/>
2006-05-17 02:24:52 +00:00
<description>&internetKeywordsDescription.label;</description>
2006-05-17 02:24:52 +00:00
<hbox align="center">
<checkbox id="browserGoBrowsingEnabled" label="&keywordsEnabled.label;" accesskey="&keywordsEnabled.accesskey;"
prefstring="keyword.enabled"/>
<spacer flex="1"/>
<button label="&moreInformation.label;" accesskey="&moreInformation.accesskey;" oncommand="moreInfo();"
id="moreInformationButton"
prefstring="pref.browser.smartbrowsing.disable_button.more_info"/>
</hbox>
2006-05-17 02:24:52 +00:00
</groupbox>
<groupbox>
<caption label="&autoCompleteHeader.label;"/>
<hbox align="center">
<checkbox id="browserAutoCompleteEnabled" label="&autoCompleteEnabled.label;"
accesskey="&autoCompleteEnabled.accesskey;"
prefstring="browser.urlbar.autocomplete.enabled"
oncommand="toggleAutoCompleteAdvancedButton()"/>
<spacer flex="1"/>
<button label="&autoCompleteAdvanced.label;" oncommand="showACAdvanced()" id="autoCompleteAdvancedButton"/>
<data id="browserUrlbarAutoFill" preftype="bool" prefattribute="value"
prefstring="browser.urlbar.autoFill"/>"
<data id="browserUrlbarShowPopup" preftype="bool" prefattribute="value"
prefstring="browser.urlbar.showPopup"/>"
<data id="browserUrlbarShowSearch" preftype="bool" prefattribute="value"
prefstring="browser.urlbar.showSearch"/>"
</hbox>
</groupbox>
</page>