"Context DavNamespace",
"Context TAB",
"Context VCARD",
+ "Context SIEVE List",
+ "Context SIEVE Script",
"Context UNKNOWN"
};
const StrBuf *Source, int FormatTypeIndex)
{
wcsession *WCC;
+ const char *pFmt = NULL;
char EscapeAs = ' ';
if ((FormatTypeIndex < TP->Tokens->nParameters) &&
(TP->Tokens->Params[FormatTypeIndex]->Type == TYPE_STR) &&
- (TP->Tokens->Params[FormatTypeIndex]->len == 1)) {
- EscapeAs = *TP->Tokens->Params[FormatTypeIndex]->Start;
+ (TP->Tokens->Params[FormatTypeIndex]->len >= 1)) {
+ pFmt = TP->Tokens->Params[FormatTypeIndex]->Start;
+ EscapeAs = pFmt;
}
switch(EscapeAs)
case 'U':
StrBufUrlescAppend(Target, Source, NULL);
break;
+ case 'F':
+ if (pFmt != NULL) pFmt++;
+ else pFmt = "JUSTIFY";
+ if (*pFmt == '\0') pFmt = "JUSTIFY";
+ FmOut(Target, pFmt, Source);
+ break;
default:
StrBufAppendBuf(Target, Source, 0);
}
memcpy (&SubTP, TP, sizeof(WCTemplputParams));
SubTP.Context = Headline;
SubTP.Filter.ContextType = CTX_STRBUF;
- DoTemplate(HKEY("beginbox"), Target, &SubTP);
+ DoTemplate(HKEY("box_begin"), Target, &SubTP);
DoTemplate(TKEY(0), Target, TP);
- DoTemplate(HKEY("endbox"), Target, TP);
+ DoTemplate(HKEY("box_end"), Target, TP);
FreeStrBuf(&Headline);
}
};
ConstStr SortIcons[] = {
- {HKEY("static/icons/sort_none.gif")},
- {HKEY("static/icons/up_pointer.gif")},
- {HKEY("static/icons/down_pointer.gif")},
+ {HKEY("static/webcit_icons/sort_none.gif")},
+ {HKEY("static/webcit_icons/up_pointer.gif")},
+ {HKEY("static/webcit_icons/down_pointer.gif")},
};
ConstStr SortNextOrder[] = {