Salve,
when you customize the html in the newmsg.html and for example remove
bcclab and such, only the strings get removed not the inputs. Following
patch solved this for me, thought someone else might be interested or
it's general enough to go into the dist :)
It's written for easy reading and writing, I'm not a c hero ...
--
cheers,
Christoph Puppe
We secure your business.(TM)
***************************************************************
HiSolutions AG phone: +49 30 533289-0
Bouchestrasse 12 fax: +49 30 533289-99
D-12435 Berlin www: http://www.HiSolutions.com/
***************************************************************
_________________________________________________________
E-Mail Disclaimer
Der Inhalt dieser E-Mail ist ausschliesslich fuer den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie
bitte, dass jede Form der Kenntnisnahme, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail
unzulaessig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender
der E-Mail in Verbindung zu setzen.
The information contained in this email is intended solely
for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any form
of disclosure, reproduction, distribution or any action taken
or refrained from in reliance on it, is prohibited and may be
unlawful. Please notify the sender immediately.
Delivered-To: admin@himessenger
Return-Path: <root@HiMessenger>
Received: from localhost (localhost [127.0.0.1])
(uid 0)
by HiMessenger with local; Fri, 08 Mar 2002 19:11:39 +0000
To: admin@HiMessenger
From: Charlie & <root@HiMessenger>
Message-ID: <courier.3C890CEB.0000152A@HiMessenger>
Date: Fri, 08 Mar 2002 19:11:39 +0000
508,532c508,525
< if (strlen(addressbooklab)) {
< printf("<TR VALIGN=MIDDLE><TH ALIGN=RIGHT>"
< "<P CLASS=\"new-message-header\">"
< "<FONT CLASS=\"new-message-header-addressbook\">"
< "%s</FONT></TD><TD WIDTH=6> </TH>",
< addressbooklab);
< printf("<TD VALIGN=MIDDLE>");
< printf("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=4>");
< printf("<TR VALIGN=MIDDLE><TD><SELECT NAME=\"nick\" SIZE=4 MULTIPLE>\n");
< ab_listselect();
< printf("</select></TD><TD WIDTH=\"100%%\">");
< if (strlen(tolab)) {
< printf("<input type=submit name=\"addressbook_to\" value=\"%s\">",
< tolab);
< }
< if (strlen(cclab)) {
< printf("<input type=submit name=\"addressbook_cc\" value=\"%s\">",
< cclab);
< }
< if (strlen(bcclab)) {
< printf("<input type=submit name=\"addressbook_bcc\" value=\"%s\">",
< bcclab);
< }
< printf("</TD></TR></TABLE>");
< }
---
> printf("<TR VALIGN=MIDDLE><TH ALIGN=RIGHT>"
> "<P CLASS=\"new-message-header\">"
> "<FONT CLASS=\"new-message-header-addressbook\">"
> "%s</FONT></TD><TD WIDTH=6> </TH>",
> addressbooklab);
>
> printf("<TD VALIGN=MIDDLE>");
> printf("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=4>");
> printf("<TR VALIGN=MIDDLE><TD><SELECT NAME=\"nick\" SIZE=4 MULTIPLE>\n");
> ab_listselect();
> printf("</select></TD><TD WIDTH=\"100%%\">");
> printf("<input type=submit name=\"addressbook_to\" value=\"%s\">",
> tolab);
> printf("<input type=submit name=\"addressbook_cc\" value=\"%s\">",
> cclab);
> printf("<input type=submit name=\"addressbook_bcc\" value=\"%s\">",
> bcclab);
> printf("</TD></TR></TABLE>");
535,547c528,531
<
< if (strlen(tolab)) {
< newmsg_header(tolab, "headerto", curto ? curto:cgi("to"));
< }
< if (strlen(cclab)) {
< newmsg_header(cclab, "headercc", curcc ? curcc:cgi("cc"));
< }
< if (strlen(bcclab)) {
< newmsg_header(bcclab, "headerbcc", curbcc ? curbcc:cgi("bcc"));
< }
< if (strlen(replytolab)) {
< newmsg_header(replytolab, "headerreply-to", curreplyto ?
curreplyto:cgi("replyto"));
< }
---
> newmsg_header(tolab, "headerto", curto ? curto:cgi("to"));
> newmsg_header(cclab, "headercc", curcc ? curcc:cgi("cc"));
> newmsg_header(bcclab, "headerbcc", curbcc ? curbcc:cgi("bcc"));
> newmsg_header(replytolab, "headerreply-to", curreplyto ?
>curreplyto:cgi("replyto"));