Signed-off-by: Thomas Citharel <tcit@tcit.fr>
if ($activeSection) {
$templateParams['pageTitle'] = $activeSection->getName();
$templateParams['activeSectionId'] = $activeSection->getID();
+ $templateParams['activeSectionType'] = $type;
}
return new TemplateResponse('settings', 'settings/frame', $templateParams);
</ul>
</nav>
</div>
-<div id="app-content" data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>">
+<div id="app-content" data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>">
<?php print_unescaped($_['content']); ?>
</div>