mirror of
https://github.com/itflow-org/itflow
synced 2026-11-27 22:59:00 +00:00
Logs: the log settings are a Settings tab under Admin > Logs beside Audit Logs, Sign-ins and App Logs instead of a page in the Settings menu and overview, still found by Find a setting and the top bar search as Logs > Settings; settings pages can be put under an admin menu entry with an under key; references to Admin > Settings > Logs updated; 26.12.2 changelog entries
This commit is contained in:
@@ -247,7 +247,10 @@
|
||||
|
||||
<!-- SETTINGS Section - the pages are listed in functions/settings.php, as the overview shows them -->
|
||||
<?php
|
||||
$settings_nav_pages = settingsPages();
|
||||
// Not the ones that are a tab of another entry - Log Settings is under Logs
|
||||
$settings_nav_pages = array_filter(settingsPages(), function ($settings_nav_page) {
|
||||
return empty($settings_nav_page['under']);
|
||||
});
|
||||
$settings_nav_current = basename($_SERVER['PHP_SELF']);
|
||||
$settings_nav_open = $settings_nav_current === 'settings.php' || in_array($settings_nav_current, array_column($settings_nav_pages, 'url'), true);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user