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:
johnnyq
2026-11-27 13:49:31 -05:00
parent 778889c460
commit 370b80a67b
10 changed files with 39 additions and 19 deletions

View File

@@ -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);
?>