activityReport; $super = $core->auth->isSuperAdmin() && !empty($_REQUEST['super']); if ($super) { $report->setGlobal(); } $logs = $report->getLogs([]); if ($super) { $breadcrumb = [ __('Current blog') => $core->adminurl->get('admin.plugin.activityReport', ['super' => 0]), '' . __('All blogs') . '' => '' ]; } else { $breadcrumb = ['' . __('Current blog') . '' => '']; if ($core->auth->isSuperAdmin()) { $breadcrumb[__('All blogs')] = $core->adminurl->get('admin.plugin.activityReport', ['super' => 1]); } } echo '
'.__('No log').'
'; } else { echo '' . __('Action') . ' | ' . __('Message') . ' | ' . __('Date') . ' | '; if ($super) { echo '' . __('Blog') .' | '; } echo '
---|---|---|---|
' . __($action['title']) . ' | ' . $msg . ' | ' . $date . ' | '; if ($super) { echo '' . $logs->blog_id . ' | '; } echo '