httpdesc = L10n::t("Public access denied."); throw $e; } $addr = defaults($_GET, 'addr', ''); $res = ''; if (!empty($addr)) { $res = NetworkProbe::uri($addr, '', 0, false); $res = print_r($res, true); } $tpl = Renderer::getMarkupTemplate('probe.tpl'); return Renderer::replaceMacros($tpl, [ '$addr' => ['addr', L10n::t('Lookup address'), $addr, '', 'required' ], '$res' => $res, ]); } }