Add mailnews preferences UI

This commit is contained in:
chuang%netscape.com 1999-04-13 07:19:09 +00:00
parent 8ba4c97c31
commit bf4f0881c1
20 changed files with 1272 additions and 2 deletions

View File

@ -22,7 +22,7 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = messenger compose
DIRS = messenger compose preference
include $(topsrcdir)/config/config.mk

View File

@ -17,6 +17,6 @@
DEPTH=..\..
DIRS=messenger compose
DIRS=messenger compose preference
include <$(DEPTH)\config\rules.mak>

View File

@ -0,0 +1,30 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = resources
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

View File

@ -0,0 +1,22 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..
DIRS= resources
include <$(DEPTH)\config\rules.mak>

View File

@ -0,0 +1,54 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
PREFERENCES_DIR = $(DIST)/bin/res/mailnews/preference
EXPORT_RESOURCE_PREFERENCES = \
$(srcdir)/pref-mailnews.html \
$(srcdir)/pref-identity.html \
$(srcdir)/pref-mailservers.html \
$(srcdir)/pref-newsservers.html \
$(srcdir)/pref-addressing.html \
$(srcdir)/pref-messages.html \
$(srcdir)/pref-winsetting.html \
$(srcdir)/pref-copiesfolders.html \
$(srcdir)/pref-formatting.html \
$(srcdir)/pref-receipts.html \
$(srcdir)/custreceipt.html \
$(srcdir)/pref-diskspace.html \
$(srcdir)/winclassic.gif \
$(srcdir)/winwide.gif \
$(NULL)
EXPORT_RESOURCE_PREFS_TO_REMOVE := $(addprefix $(PREFERENCES_DIR)/, $(EXPORT_RESOURCE_PREFERENCES))
install::
$(INSTALL) $(EXPORT_RESOURCE_PREFERENCES) $(PREFERENCES_DIR)
clobber::
$(RM) $(EXPORT_RESOURCE_PREFS_TO_REMOVE)

View File

@ -0,0 +1,95 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Customize Receipts')">
<DIV ID=top>
<SPAN ID=lefttext>Customize Return Receipts</SPAN>
</DIV>
<br>
When I receive a message and its sender requested a receipt(MDN), send one in the following cases:
<table ID="tableb">
<FORM>
<tr><td>
If I'm not in the To or CC list of the message (as for a message to a mailing list):
</td></tr>
<tr><td>
<select name="select1" size=1>
<option value="0">Never Send
<option value="1">Automatically
<option selected value="2">Ask me
</select>
</td></tr>
<tr><td>
If the message comes from outside the domain:
</td></tr>
<tr><td>
<select name="select2" size=1>
<option value="0">Never Send
<option value="1">Automatically
<option selected value="2">Ask me
</select>
</td></tr>
<tr><td>
In all other cases:
</td></tr>
<tr><td>
<select name="select3" size=1>
<option value="0">Never Send
<option value="1">Automatically
<option selected value="2">Ask me
</select>
</td></tr>
</FORM>
</table>
<br>
<br>
<br>
<table>
<FORM>
<tr>
<input name=ok type="button" value="OK">
<input name=cancel type="button" value="Cancel">
</tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,56 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..\..
IGNORE_MANIFEST=1
DEFINES=-DWIN32_LEAN_AND_MEAN
MODULE=mailnews
include <$(DEPTH)\config\rules.mak>
install::
$(MAKE_INSTALL) pref-mailnews.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-identity.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-mailservers.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-newsservers.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-addressing.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-messages.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-winsetting.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-copiesfolders.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-formatting.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-receipts.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) custreceipt.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) pref-diskspace.html $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) winclassic.gif $(DIST)\bin\res\mailnews\preference
$(MAKE_INSTALL) winwide.gif $(DIST)\bin\res\mailnews\preference
clobber::
rm -f $(DIST)\res\mailnews\preference\pref-mailnews.html
rm -f $(DIST)\res\mailnews\preference\pref-identity.html
rm -f $(DIST)\res\mailnews\preference\pref-mailservers.html
rm -f $(DIST)\res\mailnews\preference\pref-newsservers.html
rm -f $(DIST)\res\mailnews\preference\pref-addressing.html
rm -f $(DIST)\res\mailnews\preference\pref-messages.html
rm -f $(DIST)\res\mailnews\preference\pref-winsetting.html
rm -f $(DIST)\res\mailnews\preference\pref-copiesfolders.html
rm -f $(DIST)\res\mailnews\preference\pref-formatting.html
rm -f $(DIST)\res\mailnews\preference\pref-receipts.html
rm -f $(DIST)\res\mailnews\preference\custreceipt.html
rm -f $(DIST)\res\mailnews\preference\pref-diskspace.html
rm -f $(DIST)\res\mailnews\preference\winclassic.gif
rm -f $(DIST)\res\mailnews\preference\winwide.gif

View File

@ -0,0 +1,88 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Addressing')">
<DIV ID=top>
<SPAN ID=lefttext>Addressing</SPAN>
</DIV>
<br>
Pinpoint Addressing
<table ID="tableb">
<tr><td>Look for addresses in the following</td></tr>
<FORM>
<tr><td>
<input type="checkbox">Address Books
</td></tr>
<tr><td>
<input type="checkbox">Directory Server
</td></tr>
<tr><td>
<select name="textstyle" size=1>
</select>
</FORM>
<br>
<tr><td>When there are multiple addresses found:</td></tr>
<FORM>
<tr><td>
<input name=multilist type="radio">Show me a list of choices
</td></tr>
<tr><td>
<input name=multilist type="radio">Accept what I have typed
</td></tr>
<tr><td>If there is one match in your personal address books:</td></tr>
<tr><td>
<input type="checkbox">Use the address and do not search in the directory
</td></tr>
</FORM>
</table>
<br>
When displaying full names:
<table ID="tableb">
<FORM>
<tr><td>
<input name=displayname type="radio" id="pref:0:int:mail.addr_book.lastnamefirst" checked>Show names using display name (from address book card)
</td></tr>
<tr><td>
<input name=displayname type="radio" id="pref:1:int:mail.addr_book.lastnamefirst">Show names using last name, first name
</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,95 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Copies and Folders')">
<DIV ID=top>
<SPAN ID=lefttext>Copies and Folders</SPAN>
</DIV>
<br>
When sending a mail message, automatically
<table ID="tableb">
<FORM>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.use_fcc">Place a copy in FOLDER
<input name=choose type="button" value="Choose Folder...">
</td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.cc_self">BCC: EMAIL
</td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.use_default_cc">BCC Other Address:
<input name="keepdays" type="text" value=""
id="pref:string:mail.default_cc" size="10">
</td></tr>
</FORM>
</table>
<br>
When sending a newsgroup message, automatically
<table ID="tableb">
<FORM>
<tr><td>
<input type="checkbox" id="pref:0:bool:news.use_fcc">Place a copy in FOLDER
<input name=choose type="button" value="Choose Folder...">
</td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:news.cc_self">BCC: EMAIL
</td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:news.use_default_cc">BCC Other Address:
<input name="keepdays" type="text" value=""
id="pref:string:news.default_cc" size="10">
</td></tr>
</FORM>
</table>
<br>
Storage for Drafts and Templates
<table ID="tableb">
<FORM>
<tr><td>Keep Draft in FOLDER
<input name=choose type="button" value="Choose Folder...">
</td></tr>
<tr><td>Keep Templates in FOLDER
<input name=choose type="button" value="Choose Folder...">
</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,94 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Disk Space')">
<DIV ID=top>
<SPAN ID=lefttext>Disk Space</SPAN>
</DIV>
<br>
All Messages
<table ID="tableb">
<FORM>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.limit_message_size">Do not store messages locally that are larger than
<input name="maxsize" type="text" value=""
id="pref:string:mail.max_size" size="4"> kB
</td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.prompt_purge_threshhold">Automatically compact folders when it will save over
<input name="purgesize" type="text" value=""
id="pref:string:mail.purge_threshhold" size="4"> kB
</td></tr>
</FORM>
</table>
<br>
Newsgroup Messages Only
<table ID="tableb">
<tr><td>When it's time to clean up messages:</td></tr>
<FORM>
<tr><td>
<input name=keepmsg type="radio" id="pref:1:int:news.keep.method">Keep messages which have arrived within the past
<input name="keepdays" type="text" value=""
id="pref:string:news.keep.days" size="4">days
</td></tr>
<tr><td>
<input name=keepmsg type="radio" id="pref:0:int:news.keep.method" checked>Keep all messages
</td></tr>
<tr><td>
<input name=keepmsg type="radio" id="pref:2:int:news.keep.method">Keep the newest
<input name="keepmsgcount" type="text" value=""
id="pref:string:news.keep.count" size="4">messages
</td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:news.keep.only_unread">Keep only unread messages
</td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:news.remove_bodies.by_age">Remove message bodies only older than
<input name="removedays" type="text" value=""
id="pref:string:news.remove_bodies.days" size="4">days
</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,81 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Formatting')">
<DIV ID=top>
<SPAN ID=lefttext>Formatting</SPAN>
</DIV>
<br>
Message formatting
<table ID="tableb">
<FORM>
<tr><td>
<input name=msgformat type="radio" id="pref:1:int:mail.html_compose" checked>Use the HTML editor to compose messages
</td></tr>
<tr><td>
<input name=msgformat type="radio" id="pref:0:int:mail.html_compose">Use the plain text editor to compose messages
</td></tr>
</FORM>
</table>
<br>
When sending HTML mail messages to recipients who are not listed as being able to receive them:
<table ID="tableb">
<FORM>
<tr><td>
<input name=receipt type="radio" id="pref:0:int:mail.default_html_action" checked>Ask me what to do if the message has HTML formatting, otherwise send plain text
</td></tr>
<tr><td>
<input name=receipt type="radio" id="pref:1:int:mail.default_html_action">Convert the message into plain text(may lose some formatting)
</td></tr>
<tr><td>
<input name=receipt type="radio" id="pref:2:int:mail.default_html_action">Send the message in HTML anyway(some recipients may not be able to read it)
</td></tr>
<tr><td>
<input name=receipt type="radio" id="pref:3:int:mail.default_html_action">Send the message in plain text and HTML(uses more disk space)
</td></tr>
</FORM>
<tr><td> </td></tr>
<tr><td>
You can override these settings in any message through the options panel of the message composition window
</td></tr>
</table>
</body>

View File

@ -0,0 +1,77 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Identity')">
<DIV ID=top>
<SPAN ID=lefttext>Identity</SPAN>
</DIV>
<br>
<table ID="tableb">
<tr><td>The information below is needed before you can send mail.
If you do not know the information requested, please contact your system
administrator or Internet Service Provider.</td></tr>
<FORM>
<tr><td>Your Name:</td></tr>
<tr><td><input name="fullname" type="text" value=""
id="pref:string:mail.identity.username" size="54">
</td></tr>
<tr><td>Email Address:</td></tr>
<tr><td><input name="email" type="text" value=""
id="pref:string:mail.identity.useremail" size="54">
</td></tr>
<tr><td>Reply-to address(only needed if different from email address):</td></tr>
<tr><td><input name="replyto" type="text" value=""
id="pref:string:mail.identity.reply_to" size="54">
</td></tr>
<tr><td>Organization:</td></tr>
<tr><td><input name="organization" type="text" value=""
id="pref:string:mail.identity.organization" size="54">
</td></tr>
<tr><td>Signature File:</td></tr>
<tr><td><input name="sigfile" type="text" value=""
id="pref:string:mail.identity.signature_file" size="44">
<input name=choose type="button" value="Choose">
</td></tr>
<tr><td><input type="checkbox" id="pref:0:bool:mail.attach_vcard">Attach my personal card to messages (as a vCard)
<input name=editcard type="button" value="Edit Card">
</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,96 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Main')">
<DIV ID=top>
<SPAN ID=lefttext>Mail &amp; Newsgroups</SPAN>
</DIV>
<br>
Plain quoted text beginning with ">" is displayed with
<table ID="tableb">
<FORM>
<tr><td>Style:
<select name="textstyle" size=1>
<option value="0">Regular
<option value="1">Bold
<option selected value="2">Italic
<option value="3">Bold Italic
</select>
</td></tr>
<tr><td>Size:
<select name="textsize" size=1>
<option selected value="0">Regular
<option value="1">Bigger
<option value="2">Smaller
</select>
</td></tr>
<tr><td>Color:
<select name="textcolor" size=1>
<option selected value="0">
</select>
</td></tr>
</FORM>
</table>
<br>
Display plain text messages and articles with
<table ID="tableb">
<FORM>
<tr><td><input name=fontwidth type="radio"
id="pref:1:int:mail.fixed_width_messages" checked>Fixed width font</td>
</tr>
<tr><td><input name=fontwidth type="radio"
id="pref:0:int:mail.fixed_width_messages">Variable width font</td>
</tr>
</FORM>
</table>
<br>
<table ID="tableb">
<FORM>
<tr><td><input type="checkbox" id="pref:1:bool:mail.play_sound">Play sound when messages arrive</td></tr>
<tr><td><input type="checkbox" id="pref:1:bool:mailnews.remember_selected_message">Remember the last selected message</td></tr>
<tr><td><input type="checkbox" id="pref:1:bool:mailnews.confirm.moveFoldersToTrash">Confirm when moving folders to the trash</td></tr>
<tr><td><input type="checkbox" id="pref:0:bool:mail.use_mapi_server">Use Netscape Messenger from MAPI-based applications</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,100 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Mailservers')">
<DIV ID=top>
<SPAN ID=lefttext>Mail Servers</SPAN>
</DIV>
<br>
Incoming Mail Servers
<table ID="tableb">
<FORM>
<tr><td>
<select name="textstyle" size=5>
<option value="0">dredd.mcom.com
</select>
</td></tr>
<tr><td>
<input name=choose type="button" value="Add...">
<input name=choose type="button" value="Edit...">
<input name=choose type="button" value="Delete">
<input name=choose type="button" value="Set as Default">
</td></tr>
</FORM>
<tr><td>To set server properties (such as checking for new messages automatically), select a server and then click Edit.
</td></tr>
</table>
<br>
Outgoing Mail Server
<table ID="tableb">
<tr><td>Outgoing mail (SMTP) server:
<input name="smtpserver" type="text" value=""
id="pref:string:network.hosts.smtp_server" size="20">
</td></tr>
<tr><td>Outgoing mail server user name:
<input name="smtpusername" type="text" value=""
id="pref:string:mail.smtp_name" size="20">
</td></tr>
<tr><td>
Use Secure Socket Layer(SSL) or TLS for outgoing messages:
</td></tr>
<tr><td>
<input name=sslmag type="radio" id="pref:0:int:mail.smtp.ssl" checked>Never
<input name=sslmag type="radio" id="pref:1:int:mail.smtp.ssl">If Possible
<input name=sslmag type="radio" id="pref:2:int:mail.smtp.ssl">Always
</td></tr>
</FORM>
</table>
<br>
<table ID="tableb">
<FORM>
<tr><td>
Local mail directory:
</td></tr>
<tr><td>
<input name="maildir" type="text" value=""
id="pref:string:mail.directory" size="40">
<input name=choose type="button" value="Choose...">
</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,105 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Messages')">
<DIV ID=top>
<SPAN ID=lefttext>Messages</SPAN>
</DIV>
<br>
Forwarding and Replying to Messages
<table ID="tableb">
<FORM>
<tr><td>By default, forward messages:
<select name="textstyle" size=1>
<option value="2">Inline
<option selected value="1">Quoted
<option value="0">As Attachment
</select>
</td></tr>
<tr><td> </td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.auto_quote" checked>Automatically quote the original message when replying
</td></tr>
<tr><td>Then,
<select name="textstyle" size=1>
<option value="1">start my reply above the quoted text
<option selected value="0">start my reply below the quoted text
<option value="2">select the quoted text
</select>
</td></tr>
</FORM>
</table>
<br>
<table ID="tableb">
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.SpellCheckBeforeSend">Spell check messages before sending
</td></tr>
</FORM>
</table>
<br>
Message Wrapping
<table ID="tableb">
<FORM>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.wrap_long_lines">Wrap incoming, plain text messages to window width
</td></tr>
<tr><td>Wrap outgoing, plain text messages at
<input name="wraplength" type="text" value=""
id="pref:string:mailnews.wraplength" size="10">characters
</td></tr>
</FORM>
</table>
<br>
Send messages that use 8-bit characters
<table ID="tableb">
<tr><td>When it's time to clean up messages:</td></tr>
<FORM>
<tr><td>
<input name=msgcleanup type="radio" id="pref:0:int:mail.strictly_mime" checked>As is (does not work well with some mail servers)
</td></tr>
<tr><td>
<input name=msgcleanup type="radio" id="pref:1:int:mail.strictly_mime">Using the "quoted printable" MIME encoding (does not work well with some mail or newsgroups readers)
</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,86 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Newsservers')">
<DIV ID=top>
<SPAN ID=lefttext>Newsgroup Servers</SPAN>
</DIV>
<br>
<table ID="tableb">
<FORM>
<tr><td>
<select name="textstyle" size=5>
<option value="0">news.mozilla.org
</select>
</td></tr>
<tr><td>
<input name=choose type="button" value="Add...">
<input name=choose type="button" value="Edit...">
<input name=choose type="button" value="Delete">
<input name=choose type="button" value="Set as Default">
</td></tr>
</FORM>
</td></tr>
</table>
<br>
<table ID="tableb">
<tr><td>
<input type="checkbox" id="pref:0:bool:news.notify.on">Ask me before downloading more than
<input name="prompt" type="text" value=""
id="pref:string:news.max_articles" size="5">messages
</td></tr>
</FORM>
</table>
<br>
<table ID="tableb">
<FORM>
<tr><td>
Newsgroup directory
</td></tr>
<tr><td>
<input name="newsdir" type="text" value=""
id="pref:string:news.directory" size="40">
<input name=choose type="button" value="Choose...">
</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,108 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
<script>
function GetToolkitCore() {
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
if (!toolkitCore) {
toolkitCore = new ToolkitCore();
if (toolkitCore)
toolkitCore.Init("ToolkitCore");
}
return toolkitCore;
}
function DoCustomize() {
var toolkitCore = GetToolkitCore();
if (toolkitCore)
toolkitCore.ShowModalDialog("custreceipt.html",
window);
}
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Return Receipts')">
<DIV ID=top>
<SPAN ID=lefttext>Return Receipts</SPAN>
</DIV>
<br>
If I request a receipt when sending a message, I want
<table ID="tableb">
<FORM>
<tr><td>
<input name=msgreceipt type="radio" id="pref:1:int:mail.request.return_receipt">A delivery receipt from the receiving server (DSN)
</td></tr>
<tr><td>
<input name=msgreceipt type="radio" id="pref:2:int:mail.request.return_receipt" checked>A read receipt, notifying me when recipients display the message (MDN)
</td></tr>
<tr><td>
<input name=msgreceipt type="radio" id="pref:3:int:mail.request.return_receipt">Both types of receipt
</td></tr>
</FORM>
</table>
<br>
When a receipt arrives
<table ID="tableb">
<FORM>
<tr><td>
<input name=getreceipt type="radio" id="pref:0:int:mail.incorporate.return_receipt" checked>Leave it in my Inbox
</td></tr>
<tr><td>
<input name=getreceipt type="radio" id="pref:1:int:mail.incorporate.return_receipt">Move it to my Sent Mail folder
</td></tr>
</FORM>
</table>
<br>
When I receive a message and the sender requested a receipt (MDN)
<table ID="tableb">
<FORM>
<tr><td>
<input name=returnreceipt type="radio" id="pref:0:int:mail.mdn.report.enabled">Never return a receipt
</td></tr>
<tr><td>
<input name=returnreceipt type="radio" id="pref:1:int:mail.mdn.report.enabled" checked>Return receipts for some messages
<input name=returnreceipt type="button" value="Customize...">
</td></tr>
</FORM>
</table>
</body>

View File

@ -0,0 +1,83 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Window Setting')">
<DIV ID=top>
<SPAN ID=lefttext>Window Setting</SPAN>
</DIV>
<br>
<table ID="tableb">
<FORM>
<tr><td>Choose which layout you prefer for the Messenger window:
<input name=winlayout type="radio" id="pref:0:int:mail.pane_arrangement" checked>
<img src="winclassic.gif" >
<input name=winlayout type="radio" id="pref:1:int:mail.pane_arrangement">
<img src="winwide.gif">
</td></tr>
</FORM>
<tr><td>If you prefer fewer windows, unselect these options, and Messenger will open items into existing windows.</td></tr>
</table>
<br>
<table ID="tableb">
<FORM>
<tr><td>
<input type="checkbox" id="pref:1:int:mailnews.reuse_thread_window2">Double-clicking a folder or a newsgroup opens it in a new window
</td></tr>
<tr><td>
<input type="checkbox" id="pref:1:int:mailnews.reuse_message_window">Double-clicking a message opens it in a new window
</td></tr>
</FORM>
<tr><td>If you prefer fewer windows, unselect these options, and Messenger will open items into existing windows.</td></tr>
</table>
<br>
The Newsgroups menu item or button:
<table ID="tableb">
<FORM>
<tr><td>
<input name=opennews type="radio" id="pref:0:int:news.use_message_center" checked>Opens newsgroups in a Messenger window
</td></tr>
<tr><td>
<input name=opennews type="radio" id="pref:1:int:news.use_message_center">Opens the Message Center
</td></tr>
</FORM>
</table>
</body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B