mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
86 lines
3.4 KiB
XML
86 lines
3.4 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
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):
|
|
-->
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-advanced.dtd" >
|
|
|
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
class="color-dialog"
|
|
align="vertical" title="&window.title;"
|
|
onload="imageBlockingEnabled(); parent.initPanel('chrome://communicator/content/pref/pref-advanced.xul');">
|
|
|
|
<script language="JavaScript">
|
|
<![CDATA[
|
|
_elementIDs = ["advancedAlwaysLoadImages", "advancedJavaAllow", "javascriptAllowMailNews", "javascriptEnabled", "CSSAllow", "advancedMailFTP"];
|
|
|
|
function imageBlockingEnabled()
|
|
{
|
|
if( parent.hPrefWindow.getPref( "bool", "imageblocker.enabled" ) )
|
|
{
|
|
var element = document.getElementById("advancedAlwaysLoadImages");
|
|
element.setAttribute("hidden","true");
|
|
}
|
|
}
|
|
|
|
|
|
]]>
|
|
</script>
|
|
|
|
|
|
<box class="box-smallheader" title="&lHeader;"/>
|
|
|
|
<titledbox orient="vertical" id="advancedSettings" autostretch="never">
|
|
<title><text value="&advancedTitle.label;"/></title>
|
|
<checkbox id="advancedAlwaysLoadImages" value="&autoLoadImgCheck.label;" accesskey="&autoLoadImgCheck.accesskey;"
|
|
pref="true" preftype="bool" prefstring="advanced.always_load_images"
|
|
prefattribute="checked"/>
|
|
<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"/>
|
|
|
|
<separator/>
|
|
|
|
<html>&description.label;</html>
|
|
</titledbox>
|
|
|
|
|
|
</window>
|