tl_module.php (contao-4.9.11) | : | tl_module.php (contao-4.9.12) | ||
---|---|---|---|---|
skipping to change at line 236 | skipping to change at line 236 | |||
{ | { | |||
return Contao\Controller::getTemplateGroup('nav_' ); | return Contao\Controller::getTemplateGroup('nav_' ); | |||
}, | }, | |||
'eval' => array('includeBlankOption'=> true, 'chosen'=>true, 'tl_class'=>'w50'), | 'eval' => array('includeBlankOption'=> true, 'chosen'=>true, 'tl_class'=>'w50'), | |||
'sql' => "varchar(64) NOT NULL defaul t ''" | 'sql' => "varchar(64) NOT NULL defaul t ''" | |||
), | ), | |||
'customTpl' => array | 'customTpl' => array | |||
( | ( | |||
'exclude' => true, | 'exclude' => true, | |||
'inputType' => 'select', | 'inputType' => 'select', | |||
'options_callback' => static function (Contao\DataContain | ||||
er $dc) | ||||
{ | ||||
return Contao\Controller::getTemplateGroup('mod_' | ||||
. $dc->activeRecord->type . '_', array(), 'mod_' . $dc->activeRecord->type); | ||||
}, | ||||
'eval' => array('chosen'=>true, 'tl_cl ass'=>'w50'), | 'eval' => array('chosen'=>true, 'tl_cl ass'=>'w50'), | |||
'sql' => "varchar(64) NOT NULL defaul t ''" | 'sql' => "varchar(64) NOT NULL defaul t ''" | |||
), | ), | |||
'pages' => array | 'pages' => array | |||
( | ( | |||
'exclude' => true, | 'exclude' => true, | |||
'inputType' => 'pageTree', | 'inputType' => 'pageTree', | |||
'foreignKey' => 'tl_page.title', | 'foreignKey' => 'tl_page.title', | |||
'eval' => array('multiple'=>true, 'fie ldType'=>'checkbox', 'orderField'=>'orderPages', 'mandatory'=>true), | 'eval' => array('multiple'=>true, 'fie ldType'=>'checkbox', 'orderField'=>'orderPages', 'mandatory'=>true), | |||
'load_callback' => array | 'load_callback' => array | |||
End of changes. 1 change blocks. | ||||
6 lines changed or deleted | 0 lines changed or added |