Fix for 57763. r=blake, a=alecf

This commit is contained in:
ben%netscape.com 2001-03-07 07:50:14 +00:00
Родитель aba19b38ec
Коммит a040c74c61
3 изменённых файлов: 47 добавлений и 24 удалений

Просмотреть файл

@ -14,13 +14,12 @@
</script>
<!-- advanced settings -->
<titledbox id="advancedSettings">
<checkbox class="indent" id="javascriptAllowMailNews" position="4"
<vbox id="contentEnablingBox">
<checkbox class="indent" id="javascriptAllowMailNews" position="3"
value="&enbJsCheckMailNews.label;" accesskey="&enbJsCheckMailNews.accesskey;"
pref="true" preftype="bool" prefstring="javascript.allow.mailnews"
prefattribute="checked"/>
</titledbox>
</vbox>
</overlay>

Просмотреть файл

@ -33,7 +33,19 @@
<script language="JavaScript">
<![CDATA[
var panel = "chrome://communicator/content/pref/pref-advanced.xul";
var _elementIDs = ["advancedJavaAllow", "javascriptEnabled", "advancedMailFTP"];
var _elementIDs = ["advancedJavaAllow", "javascriptEnabled", "advancedMailFTP", "advancedMailFTPAddress"];
function Startup()
{
ftpCheck();
}
function ftpCheck()
{
var checked = document.getElementById("advancedMailFTP").checked;
var field = document.getElementById("advancedMailFTPAddress");
field.disabled = field.readonly = !checked;
}
]]>
</script>
@ -43,22 +55,34 @@
<box class="box-smallheader" title="&lHeader;"/>
<titledbox orient="vertical" id="advancedSettings" autostretch="never">
<title><text value="&advancedTitle.label;"/></title>
<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"/>
<checkbox id="advancedMailFTP" value="&sendAddFtpCheck.label;" accesskey="&sendAddFtpCheck.accesskey;"
pref="true" preftype="bool" prefstring="advanced.mailftp"
prefattribute="checked"/>
<separator class="thin"/>
<html>&description.label;</html>
</titledbox>
<titledbox orient="vertical" id="advancedSettings">
<title value="&advancedTitle.label;"/>
<vbox autostretch="never" id="contentEnablingBox">
<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"/>
</vbox>
<vbox>
<separator/>
<html>&description.label;</html>
<separator/>
</vbox>
<vbox autostretch="never">
<checkbox id="advancedMailFTP" value="&sendAddFtpCheck.label;" accesskey="&sendAddFtpCheck.accesskey;"
pref="true" preftype="bool" prefstring="advanced.mailftp"
prefattribute="checked" oncommand="ftpCheck();"/>
</vbox>
<hbox class="indent">
<textfield id="advancedMailFTPAddress"
pref="true" preftype="string" prefstring="network.ftp.anonymous_password"
prefattribute="value" flex="2"/>
<spring flex="1"/>
</hbox>
<separator/>
</titledbox>
</window>

Просмотреть файл

@ -17,7 +17,7 @@
<!ENTITY enbJsCheck.label "Enable JavaScript for Navigator">
<!ENTITY enbJsCheck.accesskey "r">
<!ENTITY sendAddFtpCheck.label "Send email address as anonymous FTP password">
<!ENTITY sendAddFtpCheck.label "Send this email address as anonymous FTP password:">
<!ENTITY sendAddFtpCheck.accesskey "e">
<!ENTITY imageBlocking.label "Image Blocking...">