Hi,
I sent following message in past, with no response yet. I would like to get
some knowledge about it... maybe it is question for Sam and he has no time?
Hopefully this time I will get some response...
---------- Forwarded Message ----------
Subject: SqWebMail's navigation bar
Date: Monday 14 January 2008
From: Milan Obuch <cour...@dino.sk>
To: cour...@lists.sourceforge.net
Hi,
I did some investigation in sqwebmail - after testing 0.58.0 port I did
mention again some inconsistency in navbar. Sometimes I get items for editing
mailfilter and autoresponses, sometimes not. As I am contemplating adding
some new menu items for some time, I dig a bit in the code.
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? 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?
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? What I am thinking
about is some additional administrative function - something like adding new
alias for mailbox, in order to make it easier for handling various customer's
requests. As it is not that predictable, I need to be able to alter it
easily...
Any comments/hints appreciated.
Regards,
Milan