PHP-Code:
'config' => array
(
'dataContainer' => 'Table',
'enableVersioning' => false
),
// List
'list' => array
(
'sorting' => array
(
'mode' => 1,
'fields' => array('Produktname'),
'flag' => 1,
'panelLayout' => 'search,limit'
),
'label' => array
(
'fields' => array('Produktname', 'Summenformel'),
'format' => '%s <span style="color:#b3b3b3; padding-left:3px;">[%s]</span>'
),
'global_operations' => array
(
'all' => array
(
'label' => &$GLOBALS['TL_LANG']['MSC']['all'],
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset();"'
)
),
'operations' => array
(
'edit' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cds']['edit'],
'href' => 'act=edit',
'icon' => 'edit.gif'
),
'copy' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cds']['copy'],
'href' => 'act=copy',
'icon' => 'copy.gif'
),
'delete' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cds']['delete'],
'href' => 'act=delete',
'icon' => 'delete.gif',
'attributes' => 'onclick="if (!confirm(\'' . $GLOBALS['TL_LANG']['MSC']['deleteConfirm'] . '\')) return false; Backend.getScrollOffset();"'
)/*,
'show' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cds']['show'],
'href' => 'act=show',
'icon' => 'show.gif'
)*/
)
),
// Palettes
'palettes' => array
(
'default' => 'Produktname, Summenformel, Molmasse_in_gmol, Feld5, Synonyme,
Molmasse_Zusatz, Lagerbedingungen, Retest_Periode_Monat,
CASNr, EINECSNr,HSNr, Qualitaet, Physikalische_Ersche, Gehalt, UNNr, Gefahrgutklasse,
Verpackungsgruppe, R,S2, Verpackung, Anzeige,P, Feld4'
),
// Fields
'fields' => array
(
'Produktname' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cds']['title'],
'inputType' => 'text',
'search' => true,
'eval' => array( 'maxlength'=>64)
), usw usw
Lesezeichen