| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,127 @@ |
| 1 |
+<?php |
|
| 2 |
+// rsce_boxes_config.php |
|
| 3 |
+return array( |
|
| 4 |
+ 'label' => array('Zentrierter Inhaltsbereich mit halbseitigem Bild Start', 'Erzeugt einen zentrierten Inhaltsbereich'),
|
|
| 5 |
+ 'types' => array('content','module'),
|
|
| 6 |
+ 'standardFields' => array('cssID', 'space'),
|
|
| 7 |
+ 'wrapper' => array( |
|
| 8 |
+ 'type' => 'start', |
|
| 9 |
+ ), |
|
| 10 |
+ 'fields' => array( |
|
| 11 |
+ 'text_set' => array( |
|
| 12 |
+ 'label' => array('Textspalte'),
|
|
| 13 |
+ 'inputType' => 'group', |
|
| 14 |
+ ), |
|
| 15 |
+ 'textPosition' => array( |
|
| 16 |
+ 'label' => array('Textposition', 'Legt fest ob der Text links oder rechts vom Bild positioniert ist.'),
|
|
| 17 |
+ 'inputType' => 'select', |
|
| 18 |
+ 'options' => array( |
|
| 19 |
+ '' => 'Links', |
|
| 20 |
+ '-text-right' => 'Rechts', |
|
| 21 |
+ ), |
|
| 22 |
+ 'eval' => array('tl_class' => 'w50'),
|
|
| 23 |
+ ), |
|
| 24 |
+ 'image_set' => array( |
|
| 25 |
+ 'label' => array('Bildspalte'),
|
|
| 26 |
+ 'inputType' => 'group', |
|
| 27 |
+ ), |
|
| 28 |
+ 'backgroundImage' => array( |
|
| 29 |
+ 'label' => array('Bild oder Video', 'Wählen Sie ein Bild oder mehrere Videodateien aus.'),
|
|
| 30 |
+ 'inputType' => 'fileTree', |
|
| 31 |
+ 'eval' => array( |
|
| 32 |
+ 'tl_class' => 'clr', |
|
| 33 |
+ 'multiple' => true, |
|
| 34 |
+ 'fieldType' => 'checkbox', |
|
| 35 |
+ 'filesOnly' => true, |
|
| 36 |
+ 'extensions' => \Config::get('validImageTypes') . ',mp4,webm,ogv,ogg',
|
|
| 37 |
+ 'orderField'=>'orderSRC', |
|
| 38 |
+// 'isGallery' => true, |
|
| 39 |
+ ), |
|
| 40 |
+ ), |
|
| 41 |
+ 'backgroundImageSize' => array( |
|
| 42 |
+ 'label' => array('Bildbreite und Bildhöhe', ''),
|
|
| 43 |
+ 'inputType' => 'imageSize', |
|
| 44 |
+ 'options' => \System::getContainer()->get('contao.image.image_sizes')->getOptionsForUser(BackendUser::getInstance()),
|
|
| 45 |
+ 'reference' => &$GLOBALS['TL_LANG']['MSC'], |
|
| 46 |
+ 'eval' => array( |
|
| 47 |
+ 'rgxp' => 'digit', |
|
| 48 |
+ 'tl_class' => 'w50', |
|
| 49 |
+ 'includeBlankOption' => true, |
|
| 50 |
+ ), |
|
| 51 |
+ ), |
|
| 52 |
+ 'backgroundSize' => array( |
|
| 53 |
+ 'label' => array('Bildanpassung', ''),
|
|
| 54 |
+ 'inputType' => 'select', |
|
| 55 |
+ 'options' => array( |
|
| 56 |
+ '' => 'Beschnitten', |
|
| 57 |
+ 'contain' => 'Proportional', |
|
| 58 |
+ '100% 100%' => 'Verzerrt', |
|
| 59 |
+ 'auto auto' => 'Originalgröße', |
|
| 60 |
+ ), |
|
| 61 |
+ 'eval' => array('tl_class' => 'w50'),
|
|
| 62 |
+ ), |
|
| 63 |
+ 'backgroundPosition' => array( |
|
| 64 |
+ 'label' => array('Position', 'Nicht mit Parallax-Effekt kombinierbar'),
|
|
| 65 |
+ 'inputType' => 'select', |
|
| 66 |
+ 'options' => array( |
|
| 67 |
+ '' => '-', |
|
| 68 |
+ '0 0' => 'Links | Oben', |
|
| 69 |
+ '50% 0' => 'Mitte | Oben', |
|
| 70 |
+ '100% 0' => 'Rechts | Oben', |
|
| 71 |
+ '0 50%' => 'Links | Mitte', |
|
| 72 |
+ '50% 50%' => 'Mitte | Mitte', |
|
| 73 |
+ '100% 50%' => 'Rechts | Mitte', |
|
| 74 |
+ '0 100%' => 'Links | Unten', |
|
| 75 |
+ '50% 100%' => 'Mitte | Unten', |
|
| 76 |
+ '100% 100%' => 'Rechts | Unten', |
|
| 77 |
+ ), |
|
| 78 |
+ 'eval' => array('tl_class' => 'w50'),
|
|
| 79 |
+ ), |
|
| 80 |
+ 'padding' => array( |
|
| 81 |
+ 'label' => array('Innenabstand', 'Es wird Oben und Unten ein Innenabstand angewendet.'),
|
|
| 82 |
+ 'inputType' => 'select', |
|
| 83 |
+ 'options' => array( |
|
| 84 |
+ '' => '-', |
|
| 85 |
+ '-padding' => 'Default', |
|
| 86 |
+ '-medium-padding' => 'Medium', |
|
| 87 |
+ '-large-padding' => 'Large', |
|
| 88 |
+ '-padding-top' => 'Small Top', |
|
| 89 |
+ '-medium-padding-top' => 'Medium Top', |
|
| 90 |
+ '-large-padding-top' => 'Large Top', |
|
| 91 |
+ '-padding-bottom' => 'Small Bottom', |
|
| 92 |
+ '-medium-padding-bottom' => 'Medium Bottom', |
|
| 93 |
+ '-large-padding-bottom' => 'Large Bottom', |
|
| 94 |
+ ), |
|
| 95 |
+ 'eval' => array( |
|
| 96 |
+ 'tl_class' => 'w50', |
|
| 97 |
+ ), |
|
| 98 |
+ ), |
|
| 99 |
+ 'valignCenter' => array( |
|
| 100 |
+ 'label' => array('Mind. Viewport Höhe', 'Der Inhaltsbereich hat mindestens die Höhe des Viewports. Der Inhalt wird zentriert dargestellt.'),
|
|
| 101 |
+ 'inputType' => 'checkbox', |
|
| 102 |
+ 'eval' => array( |
|
| 103 |
+ 'tl_class' => 'w50 m12 clr', |
|
| 104 |
+ ), |
|
| 105 |
+ ), |
|
| 106 |
+ 'valign' => array( |
|
| 107 |
+ 'label' => array('Vertikale Ausrichtung', 'Vertikale Ausrichtung (nur in Verbindung mit "Mind. Viewport Höhe").'),
|
|
| 108 |
+ 'inputType' => 'select', |
|
| 109 |
+ 'options' => array( |
|
| 110 |
+ '' => 'Mitte', |
|
| 111 |
+ '-valignTop' => 'Oben', |
|
| 112 |
+ '-valignBottom' => 'Unten', |
|
| 113 |
+ ), |
|
| 114 |
+ 'eval' => array('tl_class' => 'w50'),
|
|
| 115 |
+ ), |
|
| 116 |
+ 'spacing' => array( |
|
| 117 |
+ 'label' => array('Abstand'),
|
|
| 118 |
+ 'inputType' => 'group', |
|
| 119 |
+ ), |
|
| 120 |
+ 'es_spacing' => array ( |
|
| 121 |
+ 'inputType' => 'standardField' |
|
| 122 |
+ ), |
|
| 123 |
+ 'es_padding' => array ( |
|
| 124 |
+ 'inputType' => 'standardField' |
|
| 125 |
+ ), |
|
| 126 |
+ ), |
|
| 127 |
+); |
|
| 0 | 128 |
\ No newline at end of file |