From 4ceb155b274da5075f78077e36ba7d81ef830ca3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Wed, 28 Jan 2009 23:06:26 +0000 Subject: [PATCH] + add To and CC to message display windows --- webcit/msg_renderers.c | 6 ++++++ webcit/static/t/view_message.html | 13 +++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/webcit/msg_renderers.c b/webcit/msg_renderers.c index ec367e380..ab1be43c7 100644 --- a/webcit/msg_renderers.c +++ b/webcit/msg_renderers.c @@ -353,6 +353,11 @@ int Conditional_MAIL_SUMM_RFCA(StrBuf *Target, WCTemplputParams *TP) message_summary *Msg = (message_summary*) CTX; return StrLength(Msg->Rfca) > 0; } +int Conditional_MAIL_SUMM_CCCC(StrBuf *Target, WCTemplputParams *TP) +{ + message_summary *Msg = (message_summary*) CTX; + return StrLength(Msg->cccc) > 0; +} void examine_node(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset) { @@ -1124,6 +1129,7 @@ InitModule_MSGRENDERERS RegisterConditional(HKEY("COND:ROOM:DISPLAYMSG"), 0, Conditional_ROOM_DISPLAY_MSG, CTX_MAILSUM); RegisterConditional(HKEY("COND:MAIL:SUMM:LASTMSG"), 0, Conditional_MAIL_SUMM_LASTMSG, CTX_MAILSUM); RegisterConditional(HKEY("COND:MAIL:SUMM:RFCA"), 0, Conditional_MAIL_SUMM_RFCA, CTX_MAILSUM); + RegisterConditional(HKEY("COND:MAIL:SUMM:CCCC"), 0, Conditional_MAIL_SUMM_CCCC, CTX_MAILSUM); RegisterConditional(HKEY("COND:MAIL:SUMM:UNREAD"), 0, Conditional_MAIL_SUMM_UNREAD, CTX_MAILSUM); RegisterConditional(HKEY("COND:MAIL:SUMM:H_NODE"), 0, Conditional_MAIL_SUMM_H_NODE, CTX_MAILSUM); RegisterConditional(HKEY("COND:MAIL:SUMM:OTHERNODE"), 0, Conditional_MAIL_SUMM_OTHERNODE, CTX_MAILSUM); diff --git a/webcit/static/t/view_message.html b/webcit/static/t/view_message.html index 10d436ea5..daed09e09 100644 --- a/webcit/static/t/view_message.html +++ b/webcit/static/t/view_message.html @@ -10,6 +10,11 @@ onMouseOut=document.getElementById("msg").style.visibility="hidden "> @ *** +
+ + + +
- + - - - + + +
-- 2.39.2