From 2623deafe3313a85db78281f10732864296dfde8 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 24 Sep 2014 04:56:59 +0000 Subject: [PATCH] Add hostname to registrations --- app/registrations/app_languages.php | 5 +++++ app/registrations/status_registrations_inc.php | 2 ++ 2 files changed, 7 insertions(+) diff --git a/app/registrations/app_languages.php b/app/registrations/app_languages.php index 7295d28fe7..1c5b74695f 100644 --- a/app/registrations/app_languages.php +++ b/app/registrations/app_languages.php @@ -101,6 +101,11 @@ $text['label-agent']['pt-pt'] = "Agente"; $text['label-agent']['fr-fr'] = "Agent"; + $text['label-hostname']['en-us'] = "Hostname"; + $text['label-hostname']['es-cl'] = "Hostname"; + $text['label-hostname']['pt-pt'] = "Hostname"; + $text['label-hostname']['fr-fr'] = "Nom d'hôte"; + $text['label-ip']['en-us'] = "IP"; $text['label-ip']['es-cl'] = "IP"; $text['label-ip']['pt-pt'] = "IP"; diff --git a/app/registrations/status_registrations_inc.php b/app/registrations/status_registrations_inc.php index 94dd4fc888..e7c3963527 100644 --- a/app/registrations/status_registrations_inc.php +++ b/app/registrations/status_registrations_inc.php @@ -150,6 +150,7 @@ require_once "resources/check_auth.php"; echo " ".$text['label-agent']."\n"; echo " ".$text['label-ip']."\n"; echo " ".$text['label-port']."\n"; + echo " ".$text['label-hostname']."\n"; echo " ".$text['label-status']."\n"; echo " ".$text['label-tools']." \n"; echo "\n"; @@ -171,6 +172,7 @@ require_once "resources/check_auth.php"; echo " ".htmlentities($row['agent'])." \n"; echo " ".$row['network-ip']." \n"; echo " ".$row['network-port']." \n"; + echo " ".$row['host']." \n"; echo " ".$row['status']." \n"; echo " \n"; echo " \n";