PHP-Code:
<?php
return[
'label' => [
'de' => ['Hintergrundbild','Fügen Sie ein Hintergrundbild ein.'],
],
'types' => ['content','module'],
'contentCategory' => 'WERBEpanorama',
'modulCategory' => 'WERBEpanorama',
// 'beTemplate' => 'be_wildcard',
'fields' => [
'image' => [
'label' => [
'de' => ['Hintergrundbild','Wählen Sie ein Hintergrundbild'],
],
'inputType' => 'fileTree',
'eval' => [
'fieldType' => 'radio',
'filesOnly' => true,
'extensions' => \Config::get('validImageTypes'),
],
],
'overlay' => [
'label' => [
'de' => ['Overlay','Fügt dem Hintergrundbild ein Overlay hinzu'],
],
'inputType' => 'checkbox',
'eval' => [
'tl_class' => 'clr w50 m12',
],
'default' => true,
],
'headline' => [
'label' => [
'de' => ['Überschrift','Hier können Sie dem Inhaltselement eine Überschrift hinzufügen.'],
],
'inputType' => 'inputUnit',
// 'options' => ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
'options' => ['h1'],
'eval' => [
'tl_class' => 'clr w50',
'allowHtml' => true,
],
'default' => [
'unit' => 'h1',
'value' => '',
],
],
'subheadline' => [
'label' => [
'de' => ['Unterüberschrift','Hier können Sie eine Unterüberschrift hinzufügen.'],
],
'inputType' => 'inputUnit',
//'options' => ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
'options' => ['h2','h3'],
'eval' => [
'tl_class' => 'w50 clr',
'allowHtml' => true,
],
'default' => [
'unit' => 'h3',
'value' => '',
],
],
'text' => [
'label' => [
'de' => ['Zusatztext',''],
],
'inputType' => 'textarea',
'eval' => [
'rte' => 'tinyMCE',
'tl_class' => 'clr',
],
],
'html' => [
'label' => [
'de' => ['HTML',''],
],
'inputType' => 'textarea',
'eval' => [
'tl_class' => 'clr',
'allowHtml' => true,
'class' => 'monospace',
'rte' => 'ace|html',
'explanation' => 'insertTags',
],
],
],
];
Lesezeichen