\n");
mir_sntprintf(buf, SIZEOF(buf), TranslateT("Conversation started at %s"), time.c_str());
EXP_FILE << _T("
") << buf << _T("
\n");
EXP_FILE << _T("
\n");
}
void PlainHtmlExport::WriteMessage(bool isMe, const std::wstring &longDate, const std::wstring &shortDate, const std::wstring &user, const std::wstring &message, const DBEVENTINFO& dbei)
{
TCHAR *id = isMe ? _T("out") : _T("inc");
TCHAR* ev = (isMe ? _T("1") : _T("0"));
bool isUrl = false;
std::wstring& mes = UrlHighlightHtml(MakeTextHtmled(message), isUrl);
if (isUrl)
ev = _T("2");
EXP_FILE << _T("\n");
EXP_FILE << _T("
") << MakeTextHtmled(user) << _T(":
\n");
EXP_FILE << _T("
") << (Options::instance->exportHtml1ShowDate ? longDate : shortDate) << _T("
\n");
EXP_FILE << _T("
\n");
EXP_FILE << mes;
EXP_FILE << _T("\n
\n");
EXP_FILE << _T("
\n");
}