diff --git a/app/dashboard/index.php b/app/dashboard/index.php index 583936f..62cbd75 100644 --- a/app/dashboard/index.php +++ b/app/dashboard/index.php @@ -23,7 +23,7 @@ } if(isset($User->user->dash_layout_parsed[2])) { $Trap->reset_print_limit ($User->user->dash_layout_parsed[2]['elements']); - $all_info_traps = $Trap->fetch_traps (array("notice", "informational", "debug")); + $all_info_traps = $Trap->fetch_traps (array("notice", "informational", "debug", "audit")); } if(isset($User->user->dash_layout_parsed[3])) { $Trap->reset_print_limit ($User->user->dash_layout_parsed[3]['elements']); @@ -103,4 +103,4 @@ print ""; } -print ""; \ No newline at end of file +print ""; diff --git a/app/json/index.php b/app/json/index.php index 6f2d403..b4a32c6 100644 --- a/app/json/index.php +++ b/app/json/index.php @@ -51,7 +51,7 @@ if($_GET['type']=="all") { $result = $Trap->fetch_traps ("all"); } elseif($_GET['type']=="major") { $result = $Trap->fetch_traps (array("emergency", "alert", "critical")); } elseif($_GET['type']=="minor") { $result = $Trap->fetch_traps (array("error", "warning")); } - elseif($_GET['type']=="informational") { $result = $Trap->fetch_traps (array("notice", "informational", "debug")); } + elseif($_GET['type']=="informational") { $result = $Trap->fetch_traps (array("notice", "informational", "debug", "audit")); } elseif($_GET['type']=="unknown") { $result = $Trap->fetch_traps (array("unknown")); } } /** @@ -83,4 +83,4 @@ } # return result -print_r(json_encode($result_final)); \ No newline at end of file +print_r(json_encode($result_final)); diff --git a/app/login/index.php b/app/login/index.php index 0e54c9f..bbe26a2 100644 --- a/app/login/index.php +++ b/app/login/index.php @@ -31,7 +31,7 @@