From bf4f0881c1a8079d31f6e9e95efcaf11a0642d99 Mon Sep 17 00:00:00 2001 From: "chuang%netscape.com" Date: Tue, 13 Apr 1999 07:19:09 +0000 Subject: [PATCH] Add mailnews preferences UI --- mailnews/ui/Makefile.in | 2 +- mailnews/ui/makefile.win | 2 +- mailnews/ui/preference/Makefile.in | 30 +++++ mailnews/ui/preference/makefile.win | 22 ++++ mailnews/ui/preference/resources/Makefile.in | 54 +++++++++ .../ui/preference/resources/custreceipt.html | 95 +++++++++++++++ mailnews/ui/preference/resources/makefile.win | 56 +++++++++ .../preference/resources/pref-addressing.html | 88 ++++++++++++++ .../resources/pref-copiesfolders.html | 95 +++++++++++++++ .../preference/resources/pref-diskspace.html | 94 +++++++++++++++ .../preference/resources/pref-formatting.html | 81 +++++++++++++ .../preference/resources/pref-identity.html | 77 +++++++++++++ .../preference/resources/pref-mailnews.html | 96 ++++++++++++++++ .../resources/pref-mailservers.html | 100 ++++++++++++++++ .../preference/resources/pref-messages.html | 105 +++++++++++++++++ .../resources/pref-newsservers.html | 86 ++++++++++++++ .../preference/resources/pref-receipts.html | 108 ++++++++++++++++++ .../preference/resources/pref-winsetting.html | 83 ++++++++++++++ .../ui/preference/resources/winclassic.gif | Bin 0 -> 206 bytes mailnews/ui/preference/resources/winwide.gif | Bin 0 -> 183 bytes 20 files changed, 1272 insertions(+), 2 deletions(-) create mode 100644 mailnews/ui/preference/Makefile.in create mode 100644 mailnews/ui/preference/makefile.win create mode 100644 mailnews/ui/preference/resources/Makefile.in create mode 100644 mailnews/ui/preference/resources/custreceipt.html create mode 100644 mailnews/ui/preference/resources/makefile.win create mode 100644 mailnews/ui/preference/resources/pref-addressing.html create mode 100644 mailnews/ui/preference/resources/pref-copiesfolders.html create mode 100644 mailnews/ui/preference/resources/pref-diskspace.html create mode 100644 mailnews/ui/preference/resources/pref-formatting.html create mode 100644 mailnews/ui/preference/resources/pref-identity.html create mode 100644 mailnews/ui/preference/resources/pref-mailnews.html create mode 100644 mailnews/ui/preference/resources/pref-mailservers.html create mode 100644 mailnews/ui/preference/resources/pref-messages.html create mode 100644 mailnews/ui/preference/resources/pref-newsservers.html create mode 100644 mailnews/ui/preference/resources/pref-receipts.html create mode 100644 mailnews/ui/preference/resources/pref-winsetting.html create mode 100644 mailnews/ui/preference/resources/winclassic.gif create mode 100644 mailnews/ui/preference/resources/winwide.gif diff --git a/mailnews/ui/Makefile.in b/mailnews/ui/Makefile.in index ad5be6256124..3461eb54313b 100644 --- a/mailnews/ui/Makefile.in +++ b/mailnews/ui/Makefile.in @@ -22,7 +22,7 @@ srcdir = @srcdir@ include $(DEPTH)/config/autoconf.mk -DIRS = messenger compose +DIRS = messenger compose preference include $(topsrcdir)/config/config.mk diff --git a/mailnews/ui/makefile.win b/mailnews/ui/makefile.win index 691d30eedcba..ffbd5b5afde0 100644 --- a/mailnews/ui/makefile.win +++ b/mailnews/ui/makefile.win @@ -17,6 +17,6 @@ DEPTH=..\.. -DIRS=messenger compose +DIRS=messenger compose preference include <$(DEPTH)\config\rules.mak> diff --git a/mailnews/ui/preference/Makefile.in b/mailnews/ui/preference/Makefile.in new file mode 100644 index 000000000000..3a7b219c0330 --- /dev/null +++ b/mailnews/ui/preference/Makefile.in @@ -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 + diff --git a/mailnews/ui/preference/makefile.win b/mailnews/ui/preference/makefile.win new file mode 100644 index 000000000000..7a590004d361 --- /dev/null +++ b/mailnews/ui/preference/makefile.win @@ -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> diff --git a/mailnews/ui/preference/resources/Makefile.in b/mailnews/ui/preference/resources/Makefile.in new file mode 100644 index 000000000000..518a4dfda64b --- /dev/null +++ b/mailnews/ui/preference/resources/Makefile.in @@ -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) diff --git a/mailnews/ui/preference/resources/custreceipt.html b/mailnews/ui/preference/resources/custreceipt.html new file mode 100644 index 000000000000..1c9c2dc24c89 --- /dev/null +++ b/mailnews/ui/preference/resources/custreceipt.html @@ -0,0 +1,95 @@ + + + + + + + +
+Customize Return Receipts +
+ +
+When I receive a message and its sender requested a receipt(MDN), send one in the following cases: + + + + + + + + + +
+ If I'm not in the To or CC list of the message (as for a message to a mailing list): +
+ +
+ If the message comes from outside the domain: +
+ +
+ In all other cases: +
+ +
+ +
+
+
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/makefile.win b/mailnews/ui/preference/resources/makefile.win new file mode 100644 index 000000000000..6c652d98898a --- /dev/null +++ b/mailnews/ui/preference/resources/makefile.win @@ -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 diff --git a/mailnews/ui/preference/resources/pref-addressing.html b/mailnews/ui/preference/resources/pref-addressing.html new file mode 100644 index 000000000000..2710c202d671 --- /dev/null +++ b/mailnews/ui/preference/resources/pref-addressing.html @@ -0,0 +1,88 @@ + + + + + + + +
+Addressing +
+ +
+Pinpoint Addressing + + + + + + + + + + + + +
Look for addresses in the following
+ Address Books +
+ Directory Server +
+ + +
+
When there are multiple addresses found:
+ Show me a list of choices +
+ Accept what I have typed +
If there is one match in your personal address books:
+ Use the address and do not search in the directory +
+ +
+When displaying full names: + + + + + +
+ Show names using display name (from address book card) +
+ Show names using last name, first name +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-copiesfolders.html b/mailnews/ui/preference/resources/pref-copiesfolders.html new file mode 100644 index 000000000000..95465fef5cac --- /dev/null +++ b/mailnews/ui/preference/resources/pref-copiesfolders.html @@ -0,0 +1,95 @@ + + + + + + + +
+Copies and Folders +
+ +
+When sending a mail message, automatically + + + + + + +
+ Place a copy in FOLDER + +
+ BCC: EMAIL +
+ BCC Other Address: + +
+ +
+When sending a newsgroup message, automatically + + + + + + +
+ Place a copy in FOLDER + +
+ BCC: EMAIL +
+ BCC Other Address: + +
+ +
+Storage for Drafts and Templates + + + + + +
Keep Draft in FOLDER + +
Keep Templates in FOLDER + +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-diskspace.html b/mailnews/ui/preference/resources/pref-diskspace.html new file mode 100644 index 000000000000..68e16f54bd22 --- /dev/null +++ b/mailnews/ui/preference/resources/pref-diskspace.html @@ -0,0 +1,94 @@ + + + + + + + +
+Disk Space +
+ +
+ All Messages + + + + + +
+ Do not store messages locally that are larger than + kB +
+ Automatically compact folders when it will save over + kB +
+ +
+ Newsgroup Messages Only + + + + + + + + + + + +
When it's time to clean up messages:
+ Keep messages which have arrived within the past + days +
+ Keep all messages +
+ Keep the newest + messages +
+ Keep only unread messages +
+ Remove message bodies only older than + days +
+ + + + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-formatting.html b/mailnews/ui/preference/resources/pref-formatting.html new file mode 100644 index 000000000000..3fe8a9849770 --- /dev/null +++ b/mailnews/ui/preference/resources/pref-formatting.html @@ -0,0 +1,81 @@ + + + + + + + +
+Formatting +
+ +
+Message formatting + + + + + +
+ Use the HTML editor to compose messages +
+ Use the plain text editor to compose messages +
+ +
+When sending HTML mail messages to recipients who are not listed as being able to receive them: + + + + + + + + + + +
+ Ask me what to do if the message has HTML formatting, otherwise send plain text +
+ Convert the message into plain text(may lose some formatting) +
+ Send the message in HTML anyway(some recipients may not be able to read it) +
+ Send the message in plain text and HTML(uses more disk space) +
+ You can override these settings in any message through the options panel of the message composition window +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-identity.html b/mailnews/ui/preference/resources/pref-identity.html new file mode 100644 index 000000000000..d4de1a7b8157 --- /dev/null +++ b/mailnews/ui/preference/resources/pref-identity.html @@ -0,0 +1,77 @@ + + + + + + + +
+Identity +
+ +
+ + + + + + + + + + + + + + + +
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.
Your Name:
+
Email Address:
+
Reply-to address(only needed if different from email address):
+
Organization:
+
Signature File:
+ +
Attach my personal card to messages (as a vCard) + +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-mailnews.html b/mailnews/ui/preference/resources/pref-mailnews.html new file mode 100644 index 000000000000..89ba590b3b8b --- /dev/null +++ b/mailnews/ui/preference/resources/pref-mailnews.html @@ -0,0 +1,96 @@ + + + + + + + +
+Mail & Newsgroups +
+ +
+Plain quoted text beginning with ">" is displayed with + + + + + + +
Style: + +
Size: + +
Color: + +
+ +
+Display plain text messages and articles with + + + + + + + +
Fixed width font
Variable width font
+ +
+ + + + + + + +
Play sound when messages arrive
Remember the last selected message
Confirm when moving folders to the trash
Use Netscape Messenger from MAPI-based applications
+ + + + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-mailservers.html b/mailnews/ui/preference/resources/pref-mailservers.html new file mode 100644 index 000000000000..19b952927ea7 --- /dev/null +++ b/mailnews/ui/preference/resources/pref-mailservers.html @@ -0,0 +1,100 @@ + + + + + + + +
+Mail Servers +
+ +
+Incoming Mail Servers + + + + + + +
+ +
+ + + + +
To set server properties (such as checking for new messages automatically), select a server and then click Edit. +
+ +
+Outgoing Mail Server + + + + + + +
Outgoing mail (SMTP) server: + +
Outgoing mail server user name: + +
+ Use Secure Socket Layer(SSL) or TLS for outgoing messages: +
+ Never + If Possible + Always +
+ +
+ + + + + +
+ Local mail directory: +
+ + +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-messages.html b/mailnews/ui/preference/resources/pref-messages.html new file mode 100644 index 000000000000..2b82242ba8af --- /dev/null +++ b/mailnews/ui/preference/resources/pref-messages.html @@ -0,0 +1,105 @@ + + + + + + + +
+Messages +
+ +
+Forwarding and Replying to Messages + + + + + + + +
By default, forward messages: + +
+ Automatically quote the original message when replying +
Then, + +
+ +
+ + + +
+ Spell check messages before sending +
+ +
+Message Wrapping + + + + + +
+ Wrap incoming, plain text messages to window width +
Wrap outgoing, plain text messages at + characters +
+ +
+Send messages that use 8-bit characters + + + + + + +
When it's time to clean up messages:
+ As is (does not work well with some mail servers) +
+ Using the "quoted printable" MIME encoding (does not work well with some mail or newsgroups readers) +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-newsservers.html b/mailnews/ui/preference/resources/pref-newsservers.html new file mode 100644 index 000000000000..e25fc79f5f8d --- /dev/null +++ b/mailnews/ui/preference/resources/pref-newsservers.html @@ -0,0 +1,86 @@ + + + + + + + +
+Newsgroup Servers +
+ +
+ + + + + + +
+ +
+ + + + +
+ +
+ + + +
+ Ask me before downloading more than + messages +
+ +
+ + + + + +
+ Newsgroup directory +
+ + +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-receipts.html b/mailnews/ui/preference/resources/pref-receipts.html new file mode 100644 index 000000000000..e697250143c4 --- /dev/null +++ b/mailnews/ui/preference/resources/pref-receipts.html @@ -0,0 +1,108 @@ + + + + + + + + + + + +
+Return Receipts +
+ +
+ If I request a receipt when sending a message, I want + + + + + + +
+ A delivery receipt from the receiving server (DSN) +
+ A read receipt, notifying me when recipients display the message (MDN) +
+ Both types of receipt +
+ +
+ When a receipt arrives + + + + + +
+ Leave it in my Inbox +
+ Move it to my Sent Mail folder +
+ +
+ When I receive a message and the sender requested a receipt (MDN) + + + + + +
+ Never return a receipt +
+ Return receipts for some messages + +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/pref-winsetting.html b/mailnews/ui/preference/resources/pref-winsetting.html new file mode 100644 index 000000000000..0a95e4d56d1d --- /dev/null +++ b/mailnews/ui/preference/resources/pref-winsetting.html @@ -0,0 +1,83 @@ + + + + + + + +
+Window Setting +
+ +
+ + + + + +
Choose which layout you prefer for the Messenger window: + + + + +
If you prefer fewer windows, unselect these options, and Messenger will open items into existing windows.
+ +
+ + + + + + +
+ Double-clicking a folder or a newsgroup opens it in a new window +
+ Double-clicking a message opens it in a new window +
If you prefer fewer windows, unselect these options, and Messenger will open items into existing windows.
+ +
+The Newsgroups menu item or button: + + + + + +
+ Opens newsgroups in a Messenger window +
+ Opens the Message Center +
+ + \ No newline at end of file diff --git a/mailnews/ui/preference/resources/winclassic.gif b/mailnews/ui/preference/resources/winclassic.gif new file mode 100644 index 0000000000000000000000000000000000000000..288f4b0ed7d536b98accb9360fa618423ecb06d8 GIT binary patch literal 206 zcmV;<05ShZNk%w1VHyA+0FnOy|NsBMz`%fjfB*mhA^!_OL{CCRI!RJ7E-(V#?EoS9 z1ONa4001li0000Q03ZMW0*#!HsS43QfSj}f6S5F3+AkT8<3!nsqTxV}9%zXg1b^7r zHRxH7;xHC2sf zkk+MMw~yAopUzU0ljpM+@#jZz7e!b&Q}Tw$k;Jyuhz3cxm}3-Ycv*?3`SS$|HJBHs I3RVCBJF%`&Jpcdz literal 0 HcmV?d00001 diff --git a/mailnews/ui/preference/resources/winwide.gif b/mailnews/ui/preference/resources/winwide.gif new file mode 100644 index 0000000000000000000000000000000000000000..9722cc64e7a2843aa93f1ffb50b4587d646ac026 GIT binary patch literal 183 zcmV;o07(BwNk%w1VHyA+0FnOy|NsBMz`%fjfB*mhA^!_OL{CCRI!RJ7E-(V#?EoS9 z1ONa4001li0000Q03ZMW0(P8_sT$BffSj}f(C$(;tNJ(z1=Yd!!hH^>I++q-pJ?l ly1?CzMeO`L@ok2Yw>C(aHYivKrMSqLsQ6eIHmOhm06V^fPXYh{ literal 0 HcmV?d00001