summaryrefslogtreecommitdiffstats
path: root/src/translators/htmlexporter.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-03-03 13:46:44 +0100
committerSlávek Banko <[email protected]>2014-03-03 13:46:44 +0100
commit2e02da046d3e56cdf4744f644af35ad07424f48b (patch)
treef2dcf353aa2338eae1c2ff2c41af971c580c2762 /src/translators/htmlexporter.cpp
parent3c13229d98167ae4ae0710d5eeef23fef5005bf0 (diff)
downloadtellico-2e02da046d3e56cdf4744f644af35ad07424f48b.tar.gz
tellico-2e02da046d3e56cdf4744f644af35ad07424f48b.zip
Update to upstream version 1.3.6
Diffstat (limited to 'src/translators/htmlexporter.cpp')
-rw-r--r--src/translators/htmlexporter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/translators/htmlexporter.cpp b/src/translators/htmlexporter.cpp
index e27d6e5..e8bb95d 100644
--- a/src/translators/htmlexporter.cpp
+++ b/src/translators/htmlexporter.cpp
@@ -31,6 +31,7 @@
#include <tdeio/netaccess.h>
#include <tdeapplication.h>
#include <tdelocale.h>
+#include <kuser.h>
#include <tqdom.h>
#include <tqgroupbox.h>
@@ -192,6 +193,9 @@ bool HTMLExporter::loadXSLTFile() {
m_handler = 0;
return false;
}
+ m_handler->addStringParam("date", TQDate::currentDate().toString(TQt::ISODate).latin1());
+ m_handler->addStringParam("time", TQTime::currentTime().toString(TQt::ISODate).latin1());
+ m_handler->addStringParam("user", KUser(KUser::UseRealUserID).loginName().latin1());
if(m_exportEntryFiles) {
// export entries to same place as all the other date files