summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-01-05 21:02:10 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-01-05 21:02:10 +0000
commit5954ed7d4ccf489452b515717b3747327a498e2b (patch)
treec9c4e1b51fdb45268a36a3cbec7961544a8fd0b3
parent3a124ae7cbef494482be0da4ee92b1ee44178f40 (diff)
HistoryStats:
- Minor HTML output fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@16029 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/HistoryStats/src/column_chatduration.cpp4
-rw-r--r--plugins/HistoryStats/src/column_inoutgraph.cpp2
-rw-r--r--plugins/HistoryStats/src/column_split.cpp2
-rw-r--r--plugins/HistoryStats/src/column_splittimeline.cpp4
-rw-r--r--plugins/HistoryStats/src/column_timeline.cpp4
-rw-r--r--plugins/HistoryStats/src/statistic.cpp2
6 files changed, 9 insertions, 9 deletions
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("<div style=\"width: 70px;\"></div>") : _T(""))), row, 1, rowSpan);
+ writeRowspanTD(tos, getCustomTitle(TranslateT("Chat duration"), szLong) + (m_bGraph ? _T("<div style=\"width: 70px;\"></div>") : _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("<br/><img src=\"") << strFinalFile << _T("\"/>");
+ tos << _T("<br/><img src=\"") << strFinalFile << _T("\" alt=\"\" />");
}
}
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("<img src=\"") << strFinalFile << _T("\"/>");
+ tos << _T("<img src=\"") << strFinalFile << _T("\" alt=\"\" />");
}
tos << _T("</div>");
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("<img src=\"") << strFinalFile << _T("\"/>");
+ tos << _T("<img src=\"") << strFinalFile << _T("\" alt=\"\" />");
}
tos << _T("</td>") << 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("<img src=\"") << strFinalFile << _T("\"/>");
+ tos << _T("<img src=\"") << strFinalFile << _T("\" alt=\"\" />");
}
tos << _T("</td>") << ext::endl;
@@ -631,7 +631,7 @@ void ColSplitTimeline::outputRenderRowRatio(ext::ostream& tos, const Contact& co
if (getStatistic()->newFilePNG(canvas, strFinalFile))
{
- tos << _T("<img src=\"") << strFinalFile << _T("\"/>");
+ tos << _T("<img src=\"") << strFinalFile << _T("\" alt=\"\" />");
}
tos << _T("</td>") << 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("<img src=\"") << strFinalFile << _T("\"/>");
+ tos << _T("<img src=\"") << strFinalFile << _T("\" alt=\"\" />");
}
tos << _T("</td>") << ext::endl;
@@ -446,7 +446,7 @@ void ColTimeline::outputRenderRowRatio(ext::ostream& tos, const Contact& contact
if (getStatistic()->newFilePNG(canvas, strFinalFile))
{
- tos << _T("<img src=\"") << strFinalFile << _T("\"/>");
+ tos << _T("<img src=\"") << strFinalFile << _T("\" alt=\"\" />");
}
tos << _T("</td>") << 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("<div class=\"footer\">")
<< ext::kformat(TranslateT("Created with #{plugin} #{version} on #{date} at #{time}"))
- % _T("#{plugin}") * _T("<a href=\"http://miranda.dark-passage.de/\">HistoryStats</a>")
+ % _T("#{plugin}") * _T("<a href=\"http://miranda-ng.org/p/HistoryStats\">HistoryStats</a>")
% _T("#{version}") * utils::versionToDotted(m_Settings.m_VersionCurrent)
% _T("#{date}") * utils::htmlEscape(utils::timestampToDate(getTimeStarted()))
% _T("#{time}") * utils::htmlEscape(utils::timestampToTime(getTimeStarted()))