add link on dashboard report to plugin config
This commit is contained in:
parent
bc886c44eb
commit
bdb0347a37
11
_admin.php
11
_admin.php
@ -82,8 +82,15 @@ class activityReportAdmin
|
|||||||
'<div id="activity-report-logs" class="box medium">' .
|
'<div id="activity-report-logs" class="box medium">' .
|
||||||
'<h3>' . __('Activity report') . '</h3>' .
|
'<h3>' . __('Activity report') . '</h3>' .
|
||||||
'<dl id="reports">' . implode('', $lines) . '</dl>' .
|
'<dl id="reports">' . implode('', $lines) . '</dl>' .
|
||||||
'<p><a href="'.$core->adminurl->get('admin.plugin.activityReport') .'">' .
|
'<p class="modules"><a class="module-details" href="'.
|
||||||
__('View all logs') . '</a></p>' .
|
$core->adminurl->get('admin.plugin.activityReport') .'">' .
|
||||||
|
__('View all logs') . '</a> - <a class="module-config" href="'.
|
||||||
|
$core->adminurl->get('admin.plugins', [
|
||||||
|
'module' => 'activityReport',
|
||||||
|
'conf' => 1,
|
||||||
|
'redir' => $core->adminurl->get('admin.home').'#activity-report-logs'
|
||||||
|
]) .'">' .
|
||||||
|
__('Configure plugin') . '</a></p>' .
|
||||||
'</div>'
|
'</div>'
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user