From: Tobias Diekershoff Date: Mon, 2 Feb 2015 17:26:38 +0000 (+0100) Subject: added diagnostics tools to the admin side panel X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8a17c3d348bc985898c39070673c0fb1dc6e6260;p=friendica.git added diagnostics tools to the admin side panel --- diff --git a/mod/admin.php b/mod/admin.php index bf74d3ef3c..4f27b6e6a6 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -121,6 +121,8 @@ function admin_content(&$a) { } $aside['logs'] = Array($a->get_baseurl(true)."/admin/logs/", t("Logs"), "logs"); + $aside['diagnostics_probe'] = Array($a->get_baseurl(true).'/probe/', 'probe addresse', 'probe'); + $aside['diagnostics_webfinger'] = Array($a->get_baseurl(true).'/webfinger/', 'check webfinger', 'webfinger'); $t = get_markup_template("admin_aside.tpl"); $a->page['aside'] .= replace_macros( $t, array( @@ -128,6 +130,7 @@ function admin_content(&$a) { '$admtxt' => t('Admin'), '$plugadmtxt' => t('Plugin Features'), '$logtxt' => t('Logs'), + '$diagnosticstxt' => t('diagnostics'), '$h_pending' => t('User registrations waiting for confirmation'), '$admurl'=> $a->get_baseurl(true)."/admin/" )); diff --git a/view/templates/admin_aside.tpl b/view/templates/admin_aside.tpl index a9d26a89f0..e98ee5584d 100644 --- a/view/templates/admin_aside.tpl +++ b/view/templates/admin_aside.tpl @@ -40,3 +40,8 @@ +

{{$diagnosticstxt}}

+