Re: [hypermail] Substitution Cookies

From: Ron Pero <rpero_at_boone.net_at_hypermail-project.org>
Date: Thu, 08 Mar 2001 07:00:10 -0500
Message-Id: <3.0.3.32.20010308070010.032f3d88_at_mail.boone.net>


>> 3. Does someone have an example of header/footer templates that replicate
>> the functionality of the usetable=1 of the config file, that you could
>> show me?
>
>I doubt that can be done. 'usetable' makes the entire indexes generated
>differently, which can't be made with template files.

Then it seems that my only recourse is to alter the c files. Would this work?

  1. To prevent the "Thread view" link from being displayed:

In print.c, in fprint_menu, simply comment out these lines, like so:

/* COMMENTED OUT TO NOT CREATE THE THREAD VIEW LINK
**    if (idx != THREAD_INDEX)
**	fprintf(fp, "<th><a href=\"%s\">%s</a></th>\n", thrdname,
**		lang[MSG_THREAD_VIEW]);

*/

2. To change the wording in the link from "Other mail archives" to "Other lists"

In print.c, which seems to be the only place the string "MSG_OTHER_MAIL_ARCHIVES" appears, simply change "MSG_OTHER_MAIL_ARCHIVES" to "MSG_OTHER_LISTS", like so, in several places:

lang[MSG_OTHER_MAIL_ARCHIVES]
to
lang[MSG_OTHER_LISTS]

Does the lang function just convert "MSG_OTHER_MAIL_ARCHIVES" to "Other mail archives"? (Is lang a built in c function, or where is it defined?)

3. Assuming the above is correct, which make command should I run? make clean?
make clobber?
make install?

Thanks again for your patience with my non-C-head questions, but someone in the office wants these changes, and so...

Ron Received on Thu 08 Mar 2001 02:01:22 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT