}
+
+void tmplput_SUMM_COUNT(StrBuf *Target, WCTemplputParams *TP)
+{
+ StrBufAppendPrintf(Target, "%d", GetCount( WC->summ));
+}
+
HashList *iterate_get_mailsumm_All(StrBuf *Target, WCTemplputParams *TP)
{
return WC->summ;
groupchange_sender,
CTX_MAILSUM);
+ RegisterNamespace("SUMM:COUNT", 0, 0, tmplput_SUMM_COUNT, CTX_NONE);
/* iterate over all known mails in WC->summ */
RegisterIterator("MAIL:SUMM:MSGS", 0, NULL, iterate_get_mailsumm_All,
NULL,NULL, CTX_MAILSUM, CTX_NONE, IT_NOFLAG);
OnChange="location.href=msgomaticbottom.whichones.options[selectedIndex].value">
<?CONTEXTSTR>
</select>
-
+<?_("of")> <?SUMM:COUNT> <?_("messages")>
<input type="radio" name="direction" value=""
OnChange="location.href='<?URLPART(0)>?SortBy=date&SortOrder=1'"
<?%("COND:BSTR", 1, "SortOrder", 1, "checked", "")>
OnChange="location.href=msgomatictop.whichones.options[selectedIndex].value">
<?CONTEXTSTR>
</select>
-
+<?_("of")> <?SUMM:COUNT> <?_("messages")>
<input type="radio" name="direction" value=""
OnChange="location.href='<?URLPART(0)>?SortBy=date&SortOrder=1'"
<?%("COND:BSTR", 1, "SortOrder", 1, "checked", "")>