WIP allow to place custom-fields in tabs: need to explicit content attribute, as it no longer defaults to value of id attribute

fixed preferences of apps with a single tab only are broken / not shown, e.g. notifications or timesheet
This commit is contained in:
ralf 2024-03-30 08:31:08 +02:00
parent a22ef1a268
commit ddf3127140

View File

@ -618,6 +618,7 @@ class preferences_settings
$tpl->setElementAttribute('tabs', 'extraTabs', array( $tpl->setElementAttribute('tabs', 'extraTabs', array(
array( array(
'id' => 'tab1', 'id' => 'tab1',
'content' => 'tab1',
'template' => 'preferences.settings.tab1', 'template' => 'preferences.settings.tab1',
'label' => 'general settings' 'label' => 'general settings'
))); )));