Skip to content

Commit

Permalink
Update tl_elementsets.php
Browse files Browse the repository at this point in the history
  • Loading branch information
leycommediasolutions authored Oct 21, 2019
1 parent 32376a1 commit 0d78d91
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Resources/contao/dca/tl_elementsets.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,16 @@
'sql' => "text NULL"
),
'addWrapper' => array
(
(
'label' => &$GLOBALS['TL_LANG']['tl_elementsets']['addWrapper'],
'exclude' => true,
'inputType' => 'checkbox',
'eval' => array('submitOnChange'=>true),
'sql' => "char(1) NOT NULL default '1'"
),
'customTplStart' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_elementsets']['customTplStart'],
'exclude' => true,
'inputType' => 'select',
'options_callback' => static function (\Contao\DataContainer $dc)
Expand All @@ -204,6 +206,7 @@
),
'customTplEnde' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_elementsets']['customTplEnde'],
'exclude' => true,
'inputType' => 'select',
'options_callback' => static function (\Contao\DataContainer $dc)
Expand All @@ -212,7 +215,7 @@
},
'eval' => array('includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
'sql' => "varchar(64) NOT NULL default ''"
),
),
)
);
class tl_elementsets extends Backend
Expand Down

0 comments on commit 0d78d91

Please sign in to comment.