<commit_before><?php

$GLOBALS['TL_DCA']['tl_module']['palettes']['mailchimp_subscribe'] = '
    {title_legend},name,headline,type;
    {list_legend},mailchimpList;
    {jumpTo_legend},mailchimpJumpTo;
    {option_legend},mailchimpOptin,mailchimpShowPlaceholder;
    {protected_legend:hide},protected;
    {expert_legend:hide},guests,cssID,space';

$GLOBALS['TL_DCA']['tl_module']['palettes']['mailchimp_unsubscribe'] = '
    {title_legend},name,headline,type;
    {list_legend},mailchimpList;
    {jumpTo_legend},mailchimpJumpTo;
    {option_legend},mailchimpShowPlaceholder;
    {protected_legend:hide},protected;
    {expert_legend:hide},guests,cssID,space';

$GLOBALS['TL_DCA']['tl_module']['fields']['mailchimpList'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_module']['mailchimpList'],
    'default' => '',
    'exclude' => true,
    'search' => true,
    'sorting' => true,
    'inputType' => 'select',
    'foreignKey' => 'tl_mailchimp.listName',
    'eval' => [
        'mandatory' => true,
    ],
    'sql' => "varchar(128) NOT NULL default ''",<commit_msg>Add custom template option<commit_after><?php

$GLOBALS['TL_DCA']['tl_module']['palettes']['mailchimp_subscribe'] = '
    {title_legend},name,headline,type;
    {list_legend},mailchimpList;
    {jumpTo_legend},mailchimpJumpTo;
    {option_legend},mailchimpOptin,mailchimpShowPlaceholder;
    {template_legend:hide},customTpl;
    {protected_legend:hide},protected;
    {expert_legend:hide},guests,cssID,space';

$GLOBALS['TL_DCA']['tl_module']['palettes']['mailchimp_unsubscribe'] = '
    {title_legend},name,headline,type;
    {list_legend},mailchimpList;
    {jumpTo_legend},mailchimpJumpTo;
    {option_legend},mailchimpShowPlaceholder;
    {template_legend:hide},customTpl;
    {protected_legend:hide},protected;
    {expert_legend:hide},guests,cssID,space';

$GLOBALS['TL_DCA']['tl_module']['fields']['mailchimpList'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_module']['mailchimpList'],
    'default' => '',
    'exclude' => true,
    'search' => true,
    'sorting' => true,
    'inputType' => 'select',
    'foreignKey' => 'tl_mailchimp.listName',
    'eval' => [
        'mandatory' => true,
    ],
    'sql' => "varchar(128) NOT NULL default ''",
{'fraction_non_alphanumeric': 0.18786516853932583, 'fraction_numerical': 0.002696629213483146, 'mean_word_length': 5.828220858895706, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2542382', 'n_tokens_mistral': 826, 'n_tokens_neox': 789, 'n_words': 79}