2000-04-25 07:09:02 +04:00
|
|
|
<?xml version="1.0"?>
|
2001-09-01 02:20:37 +04:00
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/prefPanels.css" type="text/css"?>
|
2000-06-05 10:34:57 +04:00
|
|
|
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
2000-04-25 07:09:02 +04:00
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messenger/locale/messengercompose/pref-composing_messages.dtd">
|
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="parent.initPanel('chrome://messenger/content/messengercompose/pref-composing_messages.xul');">
|
2000-04-25 07:09:02 +04:00
|
|
|
|
2001-03-24 02:44:31 +03:00
|
|
|
<script type="application/x-javascript">
|
2000-04-25 07:09:02 +04:00
|
|
|
<![CDATA[
|
2000-08-17 05:06:27 +04:00
|
|
|
var _elementIDs = ["forwardMessageMode", "autoQuote", "replyOnTop", "spellCheckBeforeSend", "strictlyMime", "wrapLength", "sendDefaultCharsetList"];
|
2001-11-02 06:29:30 +03:00
|
|
|
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
|
|
|
|
observerService.notifyObservers(null, "charsetmenu-selected", "mailedit");
|
2000-08-10 23:56:56 +04:00
|
|
|
|
2000-04-25 07:09:02 +04:00
|
|
|
function Startup()
|
|
|
|
{
|
|
|
|
doEnabling();
|
|
|
|
}
|
|
|
|
|
|
|
|
function doEnabling()
|
|
|
|
{
|
|
|
|
var quotebox = document.getElementById("thenBox");
|
|
|
|
var quotecheck = document.getElementById("autoQuote");
|
2001-04-12 06:42:08 +04:00
|
|
|
if( quotecheck.checked && !quotecheck.disabled ) {
|
2000-04-25 07:09:02 +04:00
|
|
|
quotebox.firstChild.removeAttribute("disabled");
|
|
|
|
quotebox.lastChild.removeAttribute("disabled");
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
quotebox.firstChild.setAttribute("disabled","true");
|
|
|
|
quotebox.lastChild.setAttribute("disabled","true");
|
|
|
|
}
|
2001-03-30 10:48:24 +04:00
|
|
|
|
|
|
|
var spellChecker;
|
|
|
|
try {
|
|
|
|
spellChecker = Components.classes["@mozilla.org/spellchecker;1"];
|
|
|
|
//switch to this when nsISpellChecker becomes scriptable
|
|
|
|
//spellChecker = Components.classes["@mozilla.org/spellchecker;1"].createInstance(Components.interfaces.nsISpellChecker);
|
|
|
|
}
|
|
|
|
catch (ex) {
|
|
|
|
spellChecker = null;
|
|
|
|
}
|
|
|
|
|
2001-07-11 08:06:16 +04:00
|
|
|
if (!spellChecker) {
|
2001-03-30 10:48:24 +04:00
|
|
|
var spellCheckerCheckbox = document.getElementById("spellCheckBeforeSend");
|
2001-07-11 08:06:16 +04:00
|
|
|
spellCheckerCheckbox.setAttribute("disabled","true");
|
2001-03-30 10:48:24 +04:00
|
|
|
}
|
2000-04-25 07:09:02 +04:00
|
|
|
}
|
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox class="box-smallheader" title="&pane.title;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<groupbox>
|
2001-09-07 18:23:21 +04:00
|
|
|
<caption label="&forwardReply.label;"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<hbox align="center">
|
|
|
|
<label value="&forwardMsg.label;" accesskey="&forwardMsg.accesskey;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
<menulist id="forwardMessageMode"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
prefstring="mail.forward_message_mode">
|
2000-04-25 07:09:02 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem value="2" label="&inline.label;" accesskey="&inline.accesskey;"/>
|
2001-04-06 07:53:42 +04:00
|
|
|
<menuitem value="0" label="&asAttachment.label;" accesskey="&asAttachment.accesskey;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<hbox align="center">
|
2001-03-22 03:59:29 +03:00
|
|
|
<checkbox id="autoQuote" label="&autoQuote.label;"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
prefstring="mail.auto_quote"
|
|
|
|
oncommand="doEnabling();"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<hbox class="indent" align="center" id="thenBox">
|
|
|
|
<label value="&then.label;" accesskey="&then.accesskey;" control="replyOnTop"/>
|
|
|
|
<menulist id="replyOnTop" preftype="int" prefstring="mailnews.reply_on_top">
|
2000-04-25 07:09:02 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem value="1" label="&aboveQuote.label;" accesskey="&aboveQuote.accesskey;"/>
|
|
|
|
<menuitem value="0" label="&belowQuote.label;" accesskey="&belowQuote.accesskey;"/>
|
2001-04-18 03:09:06 +04:00
|
|
|
<menuitem value="2" label="&selectAndQuote.label;" accesskey="&selectAndQuote.accesskey;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
2000-04-25 07:09:02 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<!-- Composing Mail -->
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<groupbox align="start">
|
2001-09-07 18:23:21 +04:00
|
|
|
<caption label="&sendingMessagesHeader.label;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<checkbox id="spellCheckBeforeSend" label="&spellCheck.label;"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
prefstring="mail.SpellCheckBeforeSend"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<checkbox id="strictlyMime" label="&useMIME.label;"
|
|
|
|
prefstring="mail.strictly_mime"/>
|
2000-05-17 03:28:45 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<hbox align="center">
|
|
|
|
<label value="&wrapOutMsg.label;" accesskey="&wrapOutMsg.accesskey;" control="wrapLength"/>
|
|
|
|
<textbox id="wrapLength" size="3" preftype="int"
|
2000-05-17 03:28:45 +04:00
|
|
|
prefstring="mailnews.wraplength" prefattribute="value"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label value="&char.label;"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
2000-08-10 23:56:56 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<hbox align="center">
|
|
|
|
<label value="&sendDefaultCharset.label;" accesskey="&sendDefaultCharset.accesskey;" page="sendDefaultCharsetList"/>
|
2000-08-10 23:56:56 +04:00
|
|
|
<menulist id="sendDefaultCharsetList" ref="NC:MaileditCharsetMenuRoot" datasources="rdf:charset-menu"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
preftype="localizedstring" prefstring="mailnews.send_default_charset">
|
2000-08-10 23:56:56 +04:00
|
|
|
<template>
|
2001-02-09 09:33:32 +03:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
|
2000-08-10 23:56:56 +04:00
|
|
|
</menupopup>
|
|
|
|
</template>
|
|
|
|
</menulist>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
2001-03-22 03:59:29 +03:00
|
|
|
|
2000-08-10 23:56:56 +04:00
|
|
|
<!--
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<groupbox align="start">
|
2001-09-07 18:23:21 +04:00
|
|
|
<caption label="&languages.label;"/>
|
2000-04-28 10:18:50 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<hbox align="center">
|
|
|
|
<label value="&sendDefaultCharset.label;" control="sendDefaultCharsetList"/>
|
2000-04-28 10:18:50 +04:00
|
|
|
<menulist id="sendDefaultCharsetList" ref="NC:MaileditCharsetMenuRoot" datasources="rdf:charset-menu"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
preftype="localizedstring" prefstring="mailnews.send_default_charset">
|
2000-04-28 10:18:50 +04:00
|
|
|
<template>
|
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
|
2000-04-28 10:18:50 +04:00
|
|
|
</menupopup>
|
|
|
|
</template>
|
|
|
|
</menulist>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
2000-08-10 23:56:56 +04:00
|
|
|
-->
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
</page>
|