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/
|
|
|
|
|
|
|
|
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):
|
|
|
|
-->
|
2006-05-17 02:24:52 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2006-05-17 02:24:27 +00:00
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
1999-08-10 02:48:56 +00:00
|
|
|
|
2006-05-17 02:24:35 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-advanced.dtd" >
|
1999-06-04 23:28:56 +00:00
|
|
|
|
|
|
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
2006-05-17 02:22:45 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 02:24:52 +00:00
|
|
|
class="color-dialog"
|
2006-05-17 02:21:34 +00:00
|
|
|
align="vertical" title="&window.title;"
|
2006-05-17 02:25:11 +00:00
|
|
|
onload="imageBlockingEnabled(); parent.initPanel('chrome://communicator/content/pref/pref-advanced.xul');">
|
2006-05-17 02:24:52 +00:00
|
|
|
|
|
|
|
<script language="JavaScript">
|
|
|
|
<![CDATA[
|
2006-05-17 02:25:03 +00:00
|
|
|
_elementIDs = ["advancedAlwaysLoadImages", "advancedJavaAllow", "javascriptAllowMailNews", "javascriptEnabled", "CSSAllow", "advancedMailFTP"];
|
2006-05-17 02:25:11 +00:00
|
|
|
|
|
|
|
function imageBlockingEnabled()
|
|
|
|
{
|
|
|
|
if( parent.hPrefWindow.getPref( "bool", "imageblocker.enabled" ) )
|
|
|
|
{
|
|
|
|
var element = document.getElementById("advancedAlwaysLoadImages");
|
|
|
|
element.setAttribute("hidden","true");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-05-17 02:24:52 +00:00
|
|
|
]]>
|
|
|
|
</script>
|
2006-05-17 02:25:03 +00:00
|
|
|
|
2006-05-17 02:24:52 +00:00
|
|
|
|
2006-05-17 02:24:57 +00:00
|
|
|
<box class="box-smallheader" title="&lHeader;"/>
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2006-05-17 02:25:04 +00:00
|
|
|
<titledbox orient="vertical" id="advancedSettings" autostretch="never">
|
2006-05-17 02:24:57 +00:00
|
|
|
<title><text value="&advancedTitle.label;"/></title>
|
2006-05-17 02:25:03 +00:00
|
|
|
<checkbox id="advancedAlwaysLoadImages" value="&autoLoadImgCheck.label;" accesskey="&autoLoadImgCheck.accesskey;"
|
|
|
|
pref="true" preftype="bool" prefstring="advanced.always_load_images"
|
|
|
|
prefattribute="checked"/>
|
2006-05-17 02:24:52 +00:00
|
|
|
<checkbox id="advancedJavaAllow" value="&enbJavaCheck.label;" accesskey="&enbJavaCheck.accesskey;"
|
|
|
|
pref="true" preftype="bool" prefstring="security.enable_java"
|
|
|
|
prefattribute="checked"/>
|
|
|
|
<checkbox id="javascriptEnabled" value="&enbJsCheck.label;" accesskey="&enbJsCheck.accesskey;"
|
|
|
|
pref="true" preftype="bool" prefstring="javascript.enabled"
|
|
|
|
prefattribute="checked"/>
|
|
|
|
|
|
|
|
<!-- XXX remove when overlays.rdf for messenger works -->
|
|
|
|
<checkbox class="indent" id="javascriptAllowMailNews" position="4"
|
|
|
|
value="&enbJsCheckMailNews.label;" accesskey="&enbJsCheckMailNews.accesskey;"
|
|
|
|
pref="true" preftype="bool" prefstring="javascript.allow.mailnews"
|
|
|
|
prefattribute="checked"/>
|
|
|
|
<!-- XXX -->
|
|
|
|
|
|
|
|
<checkbox id="CSSAllow" value="&enbCssCheck.label;" accesskey="&enbCssCheck.accesskey;"
|
|
|
|
pref="true" preftype="bool" prefstring="css.allow"
|
|
|
|
prefattribute="checked"/>
|
|
|
|
<checkbox id="advancedMailFTP" value="&sendAddFtpCheck.label;" accesskey="&sendAddFtpCheck.accesskey;"
|
|
|
|
pref="true" preftype="bool" prefstring="advanced.mailftp"
|
|
|
|
prefattribute="checked"/>
|
2006-05-17 02:24:57 +00:00
|
|
|
|
|
|
|
<separator/>
|
|
|
|
|
|
|
|
<html>&description.label;</html>
|
2006-05-17 02:24:09 +00:00
|
|
|
</titledbox>
|
1999-06-11 18:22:51 +00:00
|
|
|
|
2006-05-17 02:24:52 +00:00
|
|
|
|
1999-07-03 18:00:43 +00:00
|
|
|
</window>
|