From 5954ed7d4ccf489452b515717b3747327a498e2b Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 5 Jan 2016 21:02:10 +0000 Subject: HistoryStats: - Minor HTML output fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@16029 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/column_chatduration.cpp | 4 ++-- plugins/HistoryStats/src/column_inoutgraph.cpp | 2 +- plugins/HistoryStats/src/column_split.cpp | 2 +- plugins/HistoryStats/src/column_splittimeline.cpp | 4 ++-- plugins/HistoryStats/src/column_timeline.cpp | 4 ++-- plugins/HistoryStats/src/statistic.cpp | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins') diff --git a/plugins/HistoryStats/src/column_chatduration.cpp b/plugins/HistoryStats/src/column_chatduration.cpp index 7825dadf20..43e96e2e15 100644 --- a/plugins/HistoryStats/src/column_chatduration.cpp +++ b/plugins/HistoryStats/src/column_chatduration.cpp @@ -89,7 +89,7 @@ void ColChatDuration::impl_outputRenderHeader(ext::ostream& tos, int row, int ro if (row == 1) { ext::string szLong = TranslateTS(szVisModeDesc[m_nVisMode]); - writeRowspanTD(tos, getCustomTitle(TranslateT("Chat duration"), szLong + (m_bGraph ? _T("
") : _T(""))), row, 1, rowSpan); + writeRowspanTD(tos, getCustomTitle(TranslateT("Chat duration"), szLong) + (m_bGraph ? _T("
") : _T("")), row, 1, rowSpan); } } @@ -226,7 +226,7 @@ void ColChatDuration::impl_outputRenderRow(ext::ostream& tos, const Contact& con if (getStatistic()->newFilePNG(canvas, strFinalFile)) { - tos << _T("
"); + tos << _T("
\"\""); } } else diff --git a/plugins/HistoryStats/src/column_inoutgraph.cpp b/plugins/HistoryStats/src/column_inoutgraph.cpp index 7a7427de0b..34e696d408 100644 --- a/plugins/HistoryStats/src/column_inoutgraph.cpp +++ b/plugins/HistoryStats/src/column_inoutgraph.cpp @@ -317,7 +317,7 @@ void ColInOutGraph::impl_outputRenderRow(ext::ostream& tos, const Contact& conta if (getStatistic()->newFilePNG(canvas, strFinalFile)) { - tos << _T(""); + tos << _T("\"\""); } tos << _T(""); diff --git a/plugins/HistoryStats/src/column_split.cpp b/plugins/HistoryStats/src/column_split.cpp index e3da38ed01..29e2ab4970 100644 --- a/plugins/HistoryStats/src/column_split.cpp +++ b/plugins/HistoryStats/src/column_split.cpp @@ -400,7 +400,7 @@ void ColSplit::impl_outputRenderRow(ext::ostream& tos, const Contact& contact, D if (getStatistic()->newFilePNG(canvas, strFinalFile)) { - tos << _T(""); + tos << _T("\"\""); } tos << _T("") << ext::endl; diff --git a/plugins/HistoryStats/src/column_splittimeline.cpp b/plugins/HistoryStats/src/column_splittimeline.cpp index eafa22647e..e9db4d32fc 100644 --- a/plugins/HistoryStats/src/column_splittimeline.cpp +++ b/plugins/HistoryStats/src/column_splittimeline.cpp @@ -548,7 +548,7 @@ void ColSplitTimeline::outputRenderRowInOut(ext::ostream& tos, const Contact& co if (getStatistic()->newFilePNG(canvas, strFinalFile)) { - tos << _T(""); + tos << _T("\"\""); } tos << _T("") << ext::endl; @@ -631,7 +631,7 @@ void ColSplitTimeline::outputRenderRowRatio(ext::ostream& tos, const Contact& co if (getStatistic()->newFilePNG(canvas, strFinalFile)) { - tos << _T(""); + tos << _T("\"\""); } tos << _T("") << ext::endl; diff --git a/plugins/HistoryStats/src/column_timeline.cpp b/plugins/HistoryStats/src/column_timeline.cpp index ad59733b61..e3b6596c06 100644 --- a/plugins/HistoryStats/src/column_timeline.cpp +++ b/plugins/HistoryStats/src/column_timeline.cpp @@ -311,7 +311,7 @@ void ColTimeline::outputRenderRowInOut(ext::ostream& tos, const Contact& contact if (getStatistic()->newFilePNG(canvas, strFinalFile)) { - tos << _T(""); + tos << _T("\"\""); } tos << _T("") << ext::endl; @@ -446,7 +446,7 @@ void ColTimeline::outputRenderRowRatio(ext::ostream& tos, const Contact& contact if (getStatistic()->newFilePNG(canvas, strFinalFile)) { - tos << _T(""); + tos << _T("\"\""); } tos << _T("") << ext::endl; diff --git a/plugins/HistoryStats/src/statistic.cpp b/plugins/HistoryStats/src/statistic.cpp index acaf5fe0eb..d0b349934b 100644 --- a/plugins/HistoryStats/src/statistic.cpp +++ b/plugins/HistoryStats/src/statistic.cpp @@ -1155,7 +1155,7 @@ bool Statistic::stepWriteHTML() tos << _T("
") << ext::kformat(TranslateT("Created with #{plugin} #{version} on #{date} at #{time}")) - % _T("#{plugin}") * _T("HistoryStats") + % _T("#{plugin}") * _T("HistoryStats") % _T("#{version}") * utils::versionToDotted(m_Settings.m_VersionCurrent) % _T("#{date}") * utils::htmlEscape(utils::timestampToDate(getTimeStarted())) % _T("#{time}") * utils::htmlEscape(utils::timestampToTime(getTimeStarted())) -- cgit v1.2.3