diff options
author | Thomas Citharel <tcit@tcit.fr> | 2024-01-05 09:45:50 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2024-01-05 09:58:46 +0100 |
commit | c75fbf8a83e567e6a1789bab35e7bc6f7eabaeaf (patch) | |
tree | 983c4e22407295af5ed7610c6226a0c54b5cc684 /apps/settings/lib/Controller | |
parent | 7502c19ddd43853c3b4fad1e2df91aed19e6b626 (diff) | |
download | nextcloud-server-c75fbf8a83e567e6a1789bab35e7bc6f7eabaeaf.tar.gz nextcloud-server-c75fbf8a83e567e6a1789bab35e7bc6f7eabaeaf.zip |
Add data-active-section-type attribute to app-content settings section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/settings/lib/Controller')
-rw-r--r-- | apps/settings/lib/Controller/CommonSettingsTrait.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings/lib/Controller/CommonSettingsTrait.php b/apps/settings/lib/Controller/CommonSettingsTrait.php index 8ca62b9d1b3..5d683d7d824 100644 --- a/apps/settings/lib/Controller/CommonSettingsTrait.php +++ b/apps/settings/lib/Controller/CommonSettingsTrait.php @@ -151,6 +151,7 @@ trait CommonSettingsTrait { if ($activeSection) { $templateParams['pageTitle'] = $activeSection->getName(); $templateParams['activeSectionId'] = $activeSection->getID(); + $templateParams['activeSectionType'] = $type; } return new TemplateResponse('settings', 'settings/frame', $templateParams); |