<?php

$GLOBALS['TL_DCA']['tl_module']['palettes']['td_ergebnisarchiv_ligabereich_form_nws'] = '{title_legend},name,headline,type;{redirect_legend},jumpTo;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';
$GLOBALS['TL_DCA']['tl_module']['palettes']['td_ergebnisarchiv_ligabereich_jmd_nowsos'] = '{title_legend},name,headline,type;{redirect_legend},jumpTo;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';
$GLOBALS['TL_DCA']['tl_module']['palettes']['td_ergebnisarchiv_saison'] = '{title_legend},name,headline,type;{config_legend},td_erg_turnierarten;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';
$GLOBALS['TL_DCA']['tl_module']['palettes']['td_mannschaftsdaten_melden'] = '{title_legend},name,headline,type;{config_legend},td_erg_turnierarten;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';
$GLOBALS['TL_DCA']['tl_module']['palettes']['td_turnierdaten_melden'] = '{title_legend},name,headline,type;{config_legend},td_erg_turnierarten;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';
$GLOBALS['TL_DCA']['tl_module']['palettes']['td_ergebnis_melden'] = '{title_legend},name,headline,type;{config_legend},td_erg_turnierarten;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';
$GLOBALS['TL_DCA']['tl_module']['palettes']['td_ergebnisarchiv_bundesliga'] = '{title_legend},name,headline,type;{config_legend},td_erg_turnierarten;{redirect_legend},jumpTo;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';
$GLOBALS['TL_DCA']['tl_module']['palettes']['td_formationen_esv'] = '{title_legend},name,headline,type;{config_legend},td_formationen_sparte,td_formationen_view,td_formationen_env;{redirect_legend},jumpTo;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';

$GLOBALS['TL_DCA']['tl_module']['fields']['td_erg_turnierarten'] = array
(
    'label' => &$GLOBALS['TL_LANG']['tl_module']['td_erg_turnierarten'],
    'exclude' => false,
    'inputType' => 'checkbox',
    'options_callback' => array('\Tanzsport\Ergebnisarchiv', 'getAlleTurnierartenMitLabel'),
    'eval' => array('tl_class' => 'w50', 'multiple' => true),
    'sql' => "blob NULL"
);

$GLOBALS['TL_DCA']['tl_module']['fields']['td_formationen_sparte'] = array
(
    'label' => &$GLOBALS['TL_LANG']['tl_module']['td_formationen_sparte'],
    'exclude' => false,
    'inputType' => 'select',
    'options' => \Tanzsport\ContaoFormationenBundle\Controller\FrontendModule\EsvFormationenFrontendModuleController::$sparten,
    'eval' => array('tl_class' => 'w50'),
    'sql' => "varchar(12) NOT NULL default ''"
);
$GLOBALS['TL_DCA']['tl_module']['fields']['td_formationen_view'] = array
(
    'label' => &$GLOBALS['TL_LANG']['tl_module']['td_formationen_view'],
    'exclude' => false,
    'inputType' => 'select',
    'options' => \Tanzsport\ContaoFormationenBundle\Controller\FrontendModule\EsvFormationenFrontendModuleController::$views,
    'eval' => array('tl_class' => 'w50'),
    'sql' => "varchar(12) NOT NULL default ''"
);
$GLOBALS['TL_DCA']['tl_module']['fields']['td_formationen_env'] = array
(
    'label' => &$GLOBALS['TL_LANG']['tl_module']['td_formationen_env'],
    'exclude' => false,
    'inputType' => 'select',
    'options' => \Tanzsport\ContaoFormationenBundle\Controller\FrontendModule\EsvFormationenFrontendModuleController::$envs,
    'eval' => array('tl_class' => 'w50'),
    'sql' => "varchar(12) NOT NULL default ''"
);
