diff --git a/app/pages/config.php b/app/pages/config.php index adf8004..5c6a035 100644 --- a/app/pages/config.php +++ b/app/pages/config.php @@ -151,7 +151,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { if ($userObject->hasRight($user_id, 'view config file')) { include '../app/templates/config-list.php'; } else { - include '../app/templates/unauthorized.php'; + include '../app/templates/error-unauthorized.php'; } } } diff --git a/app/templates/agent-list.php b/app/templates/agent-list.php index 3920f2c..b4ac278 100644 --- a/app/templates/agent-list.php +++ b/app/templates/agent-list.php @@ -4,11 +4,15 @@
Jilo Agents on platform = htmlspecialchars($platform_id) ?> (= htmlspecialchars($platformDetails[0]['name']) ?>)
- agent id= htmlspecialchars($agent['id']) ?>: type = htmlspecialchars($agent['agent_type_id']) ?>, url = htmlspecialchars($agent['url']) ?> +
+ agent id: = htmlspecialchars($agent['id']) ?>
+ agent type: = htmlspecialchars($agent['agent_type_id']) ?> (= htmlspecialchars($agent['agent_description']) ?>)
+
+ endpoint: = htmlspecialchars($agent['url']) ?>= htmlspecialchars($agent['agent_endpoint']) ?>
+
-
Result:
click a button to fetch data from the agent.