summaryrefslogtreecommitdiff
path: root/httemplate/search/report_access_user_log.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-02-09 21:07:56 -0800
committerIvan Kohler <ivan@freeside.biz>2016-02-09 21:07:56 -0800
commit53c4589b2950b3ed85bcacfb707430c60cd1021e (patch)
treebed1818a9e8c163327a3894d7b3eec2d2c6f8559 /httemplate/search/report_access_user_log.html
parentd1803f981555834967c8164aa7dba45e96cd6569 (diff)
log statistics, RT#39822
Diffstat (limited to 'httemplate/search/report_access_user_log.html')
-rw-r--r--httemplate/search/report_access_user_log.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/httemplate/search/report_access_user_log.html b/httemplate/search/report_access_user_log.html
new file mode 100644
index 000000000..0c8acb35e
--- /dev/null
+++ b/httemplate/search/report_access_user_log.html
@@ -0,0 +1,37 @@
+<& /elements/header.html, 'Access log' &>
+
+<FORM ACTION="access_user_log.html" METHOD="GET">
+
+<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
+
+ <INPUT TYPE="hidden" NAME="group_by" VALUE="<% $group_by %>">
+
+ <TR>
+ <TH CLASS="background" COLSPAN=2 ALIGN="left">
+ <FONT SIZE="+1">Search options</FONT>
+ </TH>
+ </TR>
+
+ <& /elements/tr-input-beginning_ending.html &>
+
+ <& /elements/tr-select-user.html &>
+
+</TABLE>
+
+<BR>
+<INPUT TYPE="submit" VALUE="Get Report">
+
+</FORM>
+
+<& /elements/footer.html &>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+my $group_by = '';
+if ( $cgi->param('group_by') =~ /^(\w+)$/ ) {
+ $group_by = $1;
+}
+
+</%init>