diff --git a/app/pages/status.php b/app/pages/status.php index beaf2c0..d79e232 100644 --- a/app/pages/status.php +++ b/app/pages/status.php @@ -23,9 +23,9 @@ foreach ($platformsAll as $platform) { // check if we can connect to the jilo database $response = connectDB($config, 'jilo', $platform['jilo_database'], $platform['id']); if ($response['error'] !== null) { - $jilo_database_status = '' . htmlspecialchars($response['error']) . ''; + $jilo_database_status = $response['error']; } else { - $jilo_database_status = 'OK'; + $jilo_database_status = 'OK'; } include '../app/templates/status-platform.php'; @@ -44,19 +44,19 @@ foreach ($platformsAll as $platform) { // determine agent availability based on response data if (json_last_error() === JSON_ERROR_NONE) { - $agent_availability = 'unknown'; + $agent_availability = 'unknown'; foreach ($agent_data as $key => $value) { if ($key === 'error') { - $agent_availability = '' . htmlspecialchars($value) . ''; + $agent_availability = $value; break; } if (preg_match('/_state$/', $key)) { if ($value === 'error') { - $agent_availability = 'not running'; + $agent_availability = 'not running'; break; } if ($value === 'running') { - $agent_availability = 'running'; + $agent_availability = 'running'; break; } } @@ -66,6 +66,7 @@ foreach ($platformsAll as $platform) { } include '../app/templates/status-agent.php'; + echo ''; } } diff --git a/app/templates/security.php b/app/templates/security.php index 861426b..b897c4e 100644 --- a/app/templates/security.php +++ b/app/templates/security.php @@ -1,22 +1,22 @@ - -
IP Address | +IP address | Network | Description | -Added By | -Added On | +Added by | +Added on | Actions |
---|
IP Address | +IP address | Network | Reason | -Added By | -Added On | +Added by | +Added on | Expires | Actions |
---|
IP Address | +IP sddress | Username | -Attempted At | +Attempted at |
---|