From d5c74de8e3961efae44a84f1ce4383b1288eab78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sat, 13 Dec 2008 10:43:38 +0000 Subject: [PATCH] * add matts iterator --- webcit/msg_renderers.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/webcit/msg_renderers.c b/webcit/msg_renderers.c index 15c8b953d..9080b8ced 100644 --- a/webcit/msg_renderers.c +++ b/webcit/msg_renderers.c @@ -356,6 +356,10 @@ void tmplput_MAIL_SUMM_ALLRCPT(StrBuf *Target, int nArgs, WCTemplateToken *Token } +HashList *iterate_get_mailsumm_All(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) +{ + return WC->summ; +} void examine_time(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset) { @@ -1030,6 +1034,9 @@ InitModule_MSGRENDERERS summcmp_rsender, CTX_MAILSUM); + RegisterIterator("MAIL:SUMM:MSGS", 0, NULL, iterate_get_mailsumm_All, + NULL,NULL, CTX_MAILSUM, CTX_NONE); + RegisterNamespace("MAIL:SUMM:DATESTR", 0, 0, tmplput_MAIL_SUMM_DATE_STR, CTX_MAILSUM); RegisterNamespace("MAIL:SUMM:DATENO", 0, 0, tmplput_MAIL_SUMM_DATE_NO, CTX_MAILSUM); RegisterNamespace("MAIL:SUMM:N", 0, 0, tmplput_MAIL_SUMM_N, CTX_MAILSUM); -- 2.39.2