From 438e57e702f7bc9415db50ec2f67fd3eb0c9a47f Mon Sep 17 00:00:00 2001
From: Jean-Christian Denis
Date: Fri, 3 Sep 2021 10:04:56 +0200
Subject: [PATCH] early step to move settings do plugins config page
---
_config.php | 27 +++++++++++++++++++++++++++
index.php | 2 --
2 files changed, 27 insertions(+), 2 deletions(-)
create mode 100644 _config.php
diff --git a/_config.php b/_config.php
new file mode 100644
index 0000000..0322d49
--- /dev/null
+++ b/_config.php
@@ -0,0 +1,27 @@
+' . __('This server has no mail function, activityReport not send email report.') . '
';
+}
+
+activityReportLib::settingTab($core, __('Settings'));
+
+if ($core->auth->isSuperAdmin()) {
+ activityReportLib::settingTab($core, __('Super settings'), true);
+}
\ No newline at end of file
diff --git a/index.php b/index.php
index 8886a70..6a9ad83 100644
--- a/index.php
+++ b/index.php
@@ -43,11 +43,9 @@ if (!activityReport::hasMailer()) {
echo '' . __('This server has no mail function, activityReport not send email report.') . '
';
}
-activityReportLib::settingTab($core, __('Settings'));
activityReportLib::logTab($core, __('Logs'));
if ($core->auth->isSuperAdmin()) {
- activityReportLib::settingTab($core, __('Super settings'), true);
activityReportLib::logTab($core, __('Super logs'), true);
}
echo '