summaryrefslogtreecommitdiffstats
path: root/weblog-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'weblog-controller.lua')
-rw-r--r--weblog-controller.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/weblog-controller.lua b/weblog-controller.lua
index 48448ae..2ae0504 100644
--- a/weblog-controller.lua
+++ b/weblog-controller.lua
@@ -96,7 +96,7 @@ function downloadselected(self)
end
function checkselected(self)
- self.conf.viewtype = "silent"
+-- TT self.conf.viewtype = "silent"
return self.model.editselected(self.clientdata.chkdata)
--return file
end
@@ -109,6 +109,18 @@ function viewselected(self)
return self.model.getweblog(self.clientdata.activelog, self.clientdata.clientuserid, self.clientdata.starttime, self.clientdata.endtime, self.clientdata.clientip, self.clientdata.badyesno, self.clientdata.deniedyesno, self.clientdata.bypassyesno, self.clientdata.score, self.clientdata.urisearch, self.clientdata.sortby, self.clientdata.getselected, clientdata.focus)
end
+function viewusagestats(self)
+ return self.model.getusagestats()
+end
+
+function viewauditstats(self)
+ return self.model.getauditstats()
+end
+
+function completeaudit(self)
+ return self:redirect_to_referrer(self.model.completeaudit(self.clientdata.auditend))
+end
+
function adhocquery(self)
return controllerfunctions.handle_form(self, self.model.getnewadhocquery, self.model.adhocquery, self.clientdata, "Submit", "Submit ad-hoc query")
end