I've updated the changes to incorporate Antonio's idea of having optional
include files in addition to the header.html and footer.html files.  Here's
how to apply:

cd qmailadmin-0.70
lynx --source http://shupp.org/patches/0.70ac2.patch.gz | patch -p0
./configure <options>
make install-strip

It's almost identical to the one I released yesterday (see archive), but
here's how it's different:

1. There are 3 new hooks: ##N1, ##N2, ##N3.  These hooks will include
html/include1.html, html/include2.html, and html3.html respectively.  This
gives you 3 unique include files (in addition to header.html and footer.html
which get parsed automatically) to work with.  If you need more, it's pretty
easy to edit template.c to add them.  As an example, this patch puts a
little bit of text in html/include2.html, and this is called (via ##N2) from
html/add_user.html.  I did add error checking to prevent include loops.

2. incremented the version to 0.70ac2.

Please post comments.

Cheers,

Bill Shupp

Reply via email to