diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-01-10 09:23:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 09:23:26 +0100 |
commit | 2c815256f26c72cc07565735b54011f7f8497f3d (patch) | |
tree | 5e058995aac9f9de0b386fb6c17635b45fd42d7e /apps/settings/templates | |
parent | 02f9d79ad6e79ac76546952a3ef28a7b15c538ef (diff) | |
parent | 0d39079c99d9ae0fbe019b1ffad5fbdbe3bc06f5 (diff) | |
download | nextcloud-server-2c815256f26c72cc07565735b54011f7f8497f3d.tar.gz nextcloud-server-2c815256f26c72cc07565735b54011f7f8497f3d.zip |
Merge pull request #42590 from nextcloud/add-settings-section-type-attribute
Add settings section type attribute on settings app-content section
Diffstat (limited to 'apps/settings/templates')
-rw-r--r-- | apps/settings/templates/settings/frame.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/frame.php b/apps/settings/templates/settings/frame.php index b0889746173..9b9bab8c283 100644 --- a/apps/settings/templates/settings/frame.php +++ b/apps/settings/templates/settings/frame.php @@ -84,6 +84,6 @@ script('files', 'jquery.fileupload'); </ul> </nav> </div> -<div id="app-content" data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>"> +<div id="app-content" <?php if (!empty($_['activeSectionId'])) { ?> data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" <?php } if (!empty($_['activeSectionType'])) { ?> data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>" <?php } ?>> <?php print_unescaped($_['content']); ?> </div> |