From 6a297a8f3d5eb4c403a14799e83de22d0637b46d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 6 Oct 2018 15:21:22 +0200 Subject: remote diagnostics app --- Zotlabs/Module/Probe.php | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'Zotlabs/Module/Probe.php') diff --git a/Zotlabs/Module/Probe.php b/Zotlabs/Module/Probe.php index 2c67c6aae..d338b08ea 100644 --- a/Zotlabs/Module/Probe.php +++ b/Zotlabs/Module/Probe.php @@ -1,16 +1,29 @@ ' . t('Remote Diagnostics App') . ' (' . t('Not Installed') . '):
'; + $o .= t('Perform diagnostics on remote channels'); + return $o; + } + } + nav_set_selected('Remote Diagnostics'); - $o .= '

Probe Diagnostic

'; + $o .= '

Remote Diagnostics

'; $o .= '
'; $o .= 'Lookup address: '; @@ -19,7 +32,7 @@ class Probe extends \Zotlabs\Web\Controller { $o .= '

'; if(x($_GET,'addr')) { - $channel = \App::get_channel(); + $channel = App::get_channel(); $addr = trim($_GET['addr']); $do_import = ((intval($_GET['import']) && is_site_admin()) ? true : false); -- cgit v1.2.3