mirror of
https://github.com/friendica/friendica
synced 2024-11-18 08:23:53 +00:00
added diagnostics tools to the admin side panel
This commit is contained in:
parent
4cf36ec2cf
commit
8a17c3d348
2 changed files with 8 additions and 0 deletions
|
@ -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/"
|
||||
));
|
||||
|
|
|
@ -40,3 +40,8 @@
|
|||
<li class='admin link button {{$admin.logs.2}}'><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li>
|
||||
</ul>
|
||||
|
||||
<h4>{{$diagnosticstxt}}</h4>
|
||||
<ul class'admin linklist'>
|
||||
<li class='admin link {{$admin.diagnostics_probe.2}}'><a href="{{$admin.diagnostics_probe.0}}">{{$admin.diagnostics_probe.1}}</a></li>
|
||||
<li class='admin link {{$admin.diagnostics_webfinger.2}}'><a href="{{$admin.diagnostics_webfinger.0}}">{{$admin.diagnostics_webfinger.1}}</a></li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue