From f25c012fbe9ecfb7fba7dcbb075da24358fb4b9b Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Tue, 5 Aug 2025 14:42:00 +1000 Subject: [PATCH] external ip rework #1124 --- front/php/templates/language/it_it.json | 0 front/systeminfoNetwork.php | 37 +++++++++++++++---------- 2 files changed, 23 insertions(+), 14 deletions(-) mode change 100644 => 100755 front/php/templates/language/it_it.json diff --git a/front/php/templates/language/it_it.json b/front/php/templates/language/it_it.json old mode 100644 new mode 100755 diff --git a/front/systeminfoNetwork.php b/front/systeminfoNetwork.php index 9c0a63d1..0702bdc8 100755 --- a/front/systeminfoNetwork.php +++ b/front/systeminfoNetwork.php @@ -9,11 +9,33 @@
' . lang('Systeminfo_Network_IP') . '
-
Loading...
+
' .$externalIp. '
' . lang('Systeminfo_Network_IP_Connection') . '
@@ -290,19 +312,6 @@ $(document).ready(function() { hideSpinner(); // Called after the DataTable is fully initialized } }); - - // external IP - $.ajax({ - url: 'https://api64.ipify.org?format=json', - method: 'GET', - timeout: 10000, // 10 seconds timeout - success: function (response) { - $('#external-ip').text(response.ip); - }, - error: function() { - $('#external-ip').text('ERROR'); - } - }); }, 200); });