PHP-Code:
<?php
return array(
'label' => array('Box: Text + Bild', 'Text und Bild in einer Box'),
'types' => array('content'),
'contentCategory' => 'texts',
'fields' => array(
'contentsize' => array(
'label' => array('Angabe der Breite für den Inhalt', 'Legen Sie die Inhaltsbreite fest'),
'inputType' => 'radio',
'default' => 'maxwide',
'options' => array(
'maxwide' => 'Kompletter Inhaltsbereich (entspricht 100% der Breite des Browsers)',
'defaultwide' => 'Normaler Inhaltsbereich (entspricht 100% der Webseitenbreite)',
),
'eval' => array(
'tl_class' => 'w50',
),
),
'position' => array(
'label' => array('Position Text/Bild', 'Wählen Sie die Positionen für Text und Bild'),
'inputType' => 'radio',
'default' => 'textimg',
'options' => array(
'textimg' => 'Text | Bild',
'imgtext' => 'Bild | Text',
),
'eval' => array(
'tl_class' => 'w50',
),
),
'description1' => array(
'label' => array('Bild + Hintergrundfarbe', ''),
'inputType' => 'group',
),
'image' => array(
'label' => array('Bild', 'Bild auswählen'),
'inputType' => 'fileTree',
'eval' => array(
'fieldType' => 'radio',
'filesOnly' => true,
'extensions' => '%contao.image.valid_extensions%',
'tl_class' => 'w50',
'mandatory' => true,
),
),
'imgposition' => array(
'label' => array('Bildausrichtung', 'Wählen Sie die Bildausrichtung'),
'inputType' => 'radio',
'options' => array(
'imgleft' => 'Bild links ausrichten',
'imgcenter' => 'Bild mittig ausrichten',
'imgright' => 'Bild rechts ausrichten',
),
'eval' => array(
'tl_class' => 'w50',
'mandatory' => true,
),
),
'backgroundcolor' => array(
'label' => array('Hintergrundfarbe', 'Wählen Sie eine Hintergrundfarbe'),
'inputType' => 'select',
'default' => 'nocolor',
'options' => array(
'nocolor' => 'Keine Farbe',
'lightgrey' => 'Helles Grau',
'mediumgrey' => 'Mittleres Grau',
'darkgrey' => 'Dunkles Grau',
'pagecolor' => 'Passende Seitenfarbe',
),
'eval' => array(
'tl_class' => 'clr',
'mandatory' => true,
),
),
'description2' => array(
'label' => array('Text', ''),
'inputType' => 'group',
),
'headline' => array(
'label' => array('Überschrift', 'Geben Sie eine Überschrift ein.'),
'inputType' => 'text',
'eval' => array(
'tl_class' => 'w50',
'mandatory' => true,
),
),
'headlinesize' => array(
'label' => array('Größe', 'Wählen Sie die Größe für die Überschrift'),
'inputType' => 'select',
'options' => array(
'h2' => 'Größe 2',
'h3' => 'Größe 3',
'h4' => 'Größe 4',
),
'eval' => array(
'tl_class' => 'w25',
'mandatory' => true,
),
),
'text' => array(
'label' => array('Text', 'Geben Sie einen Text ein'),
'inputType' => 'textarea',
'eval' => array(
'rte' => 'tinyMCE',
'tl_class' => 'clr',
'mandatory' => true,
),
),
'description3' => array(
'label' => array('Link einfügen', ''),
'inputType' => 'group',
),
'link' => array(
'label' => array('Link zur Seite', 'Wählen Sie die Seite, zu der verlinkt werden soll'),
'inputType' => 'url',
'eval' => array(
'tl_class' => 'w50',
'fieldType' => 'radio',
),
),
'linktext' => array(
'label' => array('Linktext', 'Text, der auf dem Linkbutton stehen soll'),
'inputType' => 'text',
'eval' => array(
'tl_class' => 'w50',
),
),
'buttoncolor' => array(
'label' => array('Farbe Linkbutton', 'Wählen Sie die Farbe für den Linkbutton'),
'inputType' => 'radio',
'default' => 'nocolor',
'options' => array(
'nocolor' => 'Keine Farbe',
'lightgrey' => 'Helles Grau',
'mediumgrey' => 'Mittleres Grau',
'darkgrey' => 'Dunkles Grau',
'pagecolor' => 'Passende Seitenfarbe',
),
'eval' => array(
'tl_class' => 'w50',
),
),
'description4' => array(
'label' => array('Geben Sie die Innenabstände für oben und unten ein', ''),
'inputType' => 'group',
),
'paddingtop' => array(
'label' => array('Innenabstand oben', 'Geben Sie den Innenabstand für oben ein'),
'inputType' => 'radio',
'default' => 'pt-0',
'options' => array(
'pt-0' => 'Keinen Innenabstand oben',
'pt-s' => 'Innenabstand oben - S',
'pt-m' => 'Innenabstand oben - M',
'pt-l' => 'Innenabstand oben - L',
'pt-xl' => 'Innenabstand oben - XL',
'pt-xxl' => 'Innenabstand oben - XXL',
),
'eval' => array(
'tl_class' => 'w50',
'mandatory' => true,
),
),
'paddingbottom' => array(
'label' => array('Innenabstand unten', 'Geben Sie den Innenabstand für unten ein'),
'inputType' => 'radio',
'default' => 'pb-0',
'options' => array(
'pb-0' => 'Keinen Innenabstand unten',
'pb-s' => 'Innenabstand unten - S',
'pb-m' => 'Innenabstand unten - M',
'pb-l' => 'Innenabstand unten - L',
'pb-xl' => 'Innenabstand unten - XL',
'pb-xxl' => 'Innenabstand unten - XXL',
),
'eval' => array(
'tl_class' => 'w50',
'mandatory' => true,
),
),
),
);