Milan Obuch writes:
First I found [#include:navbar#] construct in folders.html, leading to
navbar.inc.html. There is <!-- [#?4#] --> ... <!-- [#?#] --> construct
surrounding menu items of my interest. In sqwebmail.c I found
do_output_form_loop function, where ?4 references
maildir_filter_hasmaildirfilter function, but here I am a bit lost.
What does it test for?
That the maildirfilterconfig file exists, and contains the MAILDIR and
MAILDIRFILTER settings.
What should I have in my config files and/or maildir in
order to be able to use filter and autoresponse editing capability in
sqwebmail?
See "Mail Filtering" in INSTALL, which points you to a separate README file.
Also, if I am going to add new menu item, I should put in navbarN.inc.html new
data iten in the table similar to the existing, using some unique form name,
say, form=test. If I got it right, I should create new html file, test.html
in template directory. But where should I go from there?
After placing the appropriate tags in test.html, write the supporting C code
that generates the corresponding HTML for each tag.
My very, very long term goal is to replace this entire bit of code with XML
and XSL stylesheets. Haven't started it, I can't start this until I know I
have copious time for this. Maybe next time I'm between jobs, and have
nothing better to do.