PHP-Code:
<?php
return [
'label' => ['Info-Box','Erstellen Sie eine Info-Box.'],
'types' => ['content'],
'contentCategory' => 'texts',
'standardFields' => ['cssID'],
'fields' => [
'headline' => [
'inputType' => 'standardField',
],
'subheadline' => [
'label' => ['Unterüberschrift','Geben Sie die Unterschrift ein. HTML ist erlaubt.'],
'inputType' => 'text',
'eval' => [
'tl_class' => 'clr w50',
'allowHtml' => true
],
],
'subheadlinePostion' => [
'label' => ['Position der Unterüberschrift','Vergeben Sie die Position der Unterschrift.'],
'inputType' => 'select',
'options' => [
'top' => 'Oben',
'bottom' => 'Unten'
],
'eval' => [
'tl_class' => 'w50'
],
'default' => 'bottom'
],
'text' => [
'inputType' => 'standardField',
'eval' => [
'tl_class' => 'clr',
],
],
'html' => [
'inputType' => 'standardField',
],
'imgLegend' => [
'label' => ['Info-Box-Bild',''],
'inputType' => 'group',
],
'singleSRC' => [
'inputType' => 'standardField',
'eval' => [
'mandatory' => false,
],
],
'size' => [
'inputType' => 'standardField'
],
'imagemargin' => [
'inputType' => 'standardField',
'eval' => [
'tl_class' => 'w50 clr'
]
],
'fullsize' => [
'inputType' => 'standardField',
],
'overwriteMeta' => [
'inputType' => 'standardField',
],
'linkLegend' => [
'label' => ['Info-Box-Button',''],
'inputType' => 'group',
],
'url' => [
'inputType' => 'standardField',
'eval' => [
'mandatory' => false,
'tl_class' => 'w33'
]
],
'linkTitle' => [
'inputType' => 'standardField',
'eval' => [
'tl_class' => 'w33'
]
],
'titleText' => [
'inputType' => 'standardField',
'eval' => [
'tl_class' => 'w33'
]
],
'target' => [
'inputType' => 'standardField',
'eval' => [
'tl_class' => 'w33 m12'
]
],
'linkClass' => [
'label' => ['CSS-Klasse','Hier können Sie beliebig viele Klassen für den Button eingeben.'],
'inputType' => 'text',
'eval' => [
'tl_class' => 'w33'
]
],
'linkPosition' => [
'label' => ['Position des Buttons','Vergeben Sie die Position des Buttons.'],
'inputType' => 'select',
'options' => [
'btn-pos-left' => 'Links',
'btn-pos-center' => 'Mittig',
'btn-pos-right' => 'Rechts'
],
'eval' => [
'tl_class' => 'w33'
],
'default' => 'btn-pos-left'
],
]
];
Lesezeichen