From acd9dbbedaa460e77d6a15d411368a03e5697602 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 9 Feb 2026 16:20:49 +0100 Subject: [PATCH] output geo information --- views/bootstrap/class.Info.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/views/bootstrap/class.Info.php b/views/bootstrap/class.Info.php index 43bc638c6..159191d37 100644 --- a/views/bootstrap/class.Info.php +++ b/views/bootstrap/class.Info.php @@ -82,6 +82,18 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style { echo "".getMLText('browser_info_os')."".$result->os->toString()."\n"; echo "\n\n"; + $result = \Seeddms\Seeddms\Utilities::geoip('194.230.161.18'); + $this->contentHeading(getMLText("geo_info")); + echo "\n"; +// echo "\n\n"; +// echo "\n"; +// echo "\n\n"; + echo "\n"; + foreach (['ip', 'isp', 'org', 'city', 'country_code', 'timezone_name'] as $i) { + echo "\n"; + } + echo "\n
".getMLText("name")."
".getMLText('geo_info_'.$i)."".$result[$i]."
\n"; + if($user->isAdmin()) { $this->contentHeading(getMLText("extension_info")); echo "\n";