summaryrefslogtreecommitdiffstats
path: root/frontends/php/audit.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-10 14:08:01 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-10 14:08:01 +0000
commita2183b603aa79005e2c01c41a9e04d719266832e (patch)
tree856ae6cb71128b83a9664e74bd0a45f865f527c9 /frontends/php/audit.php
parent370568ec852e6db2190a16d51f4d24abdb17651e (diff)
downloadzabbix-a2183b603aa79005e2c01c41a9e04d719266832e.tar.gz
zabbix-a2183b603aa79005e2c01c41a9e04d719266832e.tar.xz
zabbix-a2183b603aa79005e2c01c41a9e04d719266832e.zip
- added login/logout information into auditlog (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3685 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/audit.php')
-rw-r--r--frontends/php/audit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/php/audit.php b/frontends/php/audit.php
index 5131c4b9..9374bfab 100644
--- a/frontends/php/audit.php
+++ b/frontends/php/audit.php
@@ -67,6 +67,8 @@ include_once "include/page_header.php";
if($row["action"]==AUDIT_ACTION_ADD) $action = S_ADDED;
else if($row["action"]==AUDIT_ACTION_UPDATE) $action = S_UPDATED;
else if($row["action"]==AUDIT_ACTION_DELETE) $action = S_DELETED;
+ else if($row["action"]==AUDIT_ACTION_LOGIN) $action = S_LOGIN;
+ else if($row["action"]==AUDIT_ACTION_LOGOUT) $action = S_LOGOUT;
else $action = S_UNKNOWN_ACTION;
$table->addRow(array(