<?php
// rsce_my_element_config.php
return array(
'label' => array('Custom | Kopfbild (oder Slider) mit Text', ''),
'types' => array('content'),
'contentCategory' => 'texts',
'moduleCategory' => 'miscellaneous',
'standardFields' => array('headline', 'cssID'),
'wrapper' => array(
'type' => 'none',
),
'fields' => array(
'topline' => array(
'label' => array('Topline', 'Text oberhalb der Überschrift'),
'inputType' => 'text',
), 'subline' => array(
'label' => array('Subline', 'Text unterhalb der Überschrift'),
'inputType' => 'text',
),
'animation_type' => array(
'label' => array(
'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
),
'inputType' => 'select',
'options' => array(
/* Fading entrances */
'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
'no-animation' => 'Keine Animation',
'animate__fadeIn' => 'fadeIn',
'animate__fadeInDown' => 'fadeInDown',
'animate__fadeInDownBig' => 'fadeInDownBig',
'animate__fadeInLeft' => 'fadeInLeft',
'animate__fadeInLeftBig' => 'fadeInLeftBig',
'animate__fadeInRight' => 'fadeInRight',
'animate__fadeInRightBig' => 'fadeInRightBig',
'animate__fadeInUpBig' => 'fadeInUpBig',
'animate__fadeInTopLeft' => 'fadeInTopLeft',
'animate__fadeInTopRight' => 'fadeInTopRight',
'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
'animate__fadeInBottomRight' => 'fadeInBottomRight',
/* Attention seekers */
'animate__bounce' => 'bounce',
'animate__flash' => 'flash',
'animate__pulse' => 'pulse',
'animate__rubberBand' => 'rubberBand',
'animate__shakeX' => 'shakeX',
'animate__shakeY' => 'shakeY',
'animate__headShake' => 'headShake',
'animate__swing' => 'swing',
'animate__tada' => 'tada',
'animate__wobble' => 'wobble',
'animate__jello' => 'jello',
'animate__heartBeat' => 'heartBeat',
/* Back entrances */
'animate__backInDown' => 'backInDown',
'animate__backInLeft' => 'backInLeft',
'animate__backInRight' => 'backInRight',
'animate__backInUp' => 'backInUp',
/* Back exits */
'animate__backOutDown' => 'backOutDown',
'animate__backOutLeft' => 'backOutLeft',
'animate__backOutRight' => 'backOutRight',
'animate__backOutUp' => 'backOutUp',
/* Bouncing entrances */
'animate__bounceIn' => 'bounceIn',
'animate__bounceInDown' => 'bounceInDown',
'animate__bounceInLeft' => 'bounceInLeft',
'animate__bounceInRight' => 'bounceInRight',
'animate__bounceInUp' => 'bounceInUp',
/* Bouncing exits */
'animate__bounceOut' => 'bounceOut',
'animate__bounceOutDown' => 'bounceOutDown',
'animate__bounceOutLeft' => 'bounceOutLeft',
'animate__bounceOutRight' => 'bounceOutRight',
'animate__bounceOutUp' => 'bounceOutUp',
/* Fading exits */
'animate__fadeOut' => 'fadeOut',
'animate__fadeOutDown' => 'fadeOutDown',
'animate__fadeOutDownBig' => 'fadeOutDownBig',
'animate__fadeOutLeft' => 'fadeOutLeft',
'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
'animate__fadeOutRight' => 'fadeOutRight',
'animate__fadeOutRightBig' => 'fadeOutRightBig',
'animate__fadeOutUp' => 'fadeOutUp',
'animate__fadeOutUpBig' => 'fadeOutUpBig',
'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
'animate__fadeOutTopRight' => 'fadeOutTopRight',
'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
/* Flippers */
'animate__flip' => 'flip',
'animate__flipInX' => 'flipInX',
'animate__flipInY' => 'flipInY',
'animate__flipOutX' => 'flipOutX',
'animate__flipOutY' => 'flipOutY',
/* Lightspeed */
'animate__lightSpeedInRight' => 'lightSpeedInRight',
'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
/* Rotating entrances */
'animate__rotateIn' => 'rotateIn',
'animate__rotateInDownLeft' => 'rotateInDownLeft',
'animate__rotateInDownRight' => 'rotateInDownRight',
'animate__rotateInUpLeft' => 'rotateInUpLeft',
'animate__rotateInUpRight' => 'rotateInUpRight',
/* Rotating exits */
'animate__rotateOut' => 'rotateOut',
'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
'animate__rotateOutDownRight' => 'rotateOutDownRight',
'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
'animate__rotateOutUpRight' => 'rotateOutUpRight',
/* Specials */
'animate__hinge' => 'hinge',
'animate__jackInTheBox' => 'jackInTheBox',
'animate__rollIn' => 'rollIn',
'animate__rollOut' => 'rollOut',
/* Zooming entrances */
'animate__zoomIn' => 'zoomIn',
'animate__zoomInDown' => 'zoomInDown',
'animate__zoomInLeft' => 'zoomInLeft',
'animate__zoomInRight' => 'zoomInRight',
'animate__zoomInUp' => 'zoomInUp',
/* Zooming exits */
'animate__zoomOut' => 'zoomOut',
'animate__zoomOutDown' => 'zoomOutDown',
'animate__zoomOutLeft' => 'zoomOutLeft',
'animate__zoomOutRight' => 'zoomOutRight',
'animate__zoomOutUp' => 'zoomOutUp',
/* Sliding entrances */
'animate__slideInDown' => 'slideInDown',
'animate__slideInLeft' => 'slideInLeft',
'animate__slideInRight' => 'slideInRight',
'animate__slideInUp' => 'slideInUp',
/* Sliding exits */
'animate__slideOutDown' => 'slideOutDown',
'animate__slideOutLeft' => 'slideOutLeft',
'animate__slideOutRight' => 'slideOutRight',
'animate__slideOutUp' => 'slideOutUp',
),
'eval' => array('chosen' => 'true')
),
'settings_1' => array(
'label' => array('Einstellungen', ''),
'inputType' => 'group',
),
'image_height' => array(
'label' => array('Höhe des Bereichs in %', 'Standard sind "100", also 100% Viewport-Height'),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50'),
),
'image_maxheight' => array(
'label' => array('Maximale Höhe des Bereichs', 'Einheit (px, rem, vh usw.) bitte angeben'),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50'),
),
'diagonal_cut' => array(
'label' => array('Mit diagonalem Abschluss', ''),
'inputType' => 'checkbox',
'eval' => array('tl_class' => 'clr'),
),
'pull_content' => array(
'label' => array('Inhalt darunter "hochziehen"', ''),
'inputType' => 'checkbox',
),
'show_breadcrumb' => array(
'label' => array('Breadcrumb darunter anzeigen', ''),
'inputType' => 'checkbox',
),
'slide_effect' => array(
'label' => array(
'de' => array('Slide-Effekt', ''),
),
'inputType' => 'select',
'options' => array(
'slide' => 'Slide (Standard)',
'coverflow' => 'Coverflow',
'fade' => 'Fade',
'flip' => 'Flip',
'cube' => 'Cube',
),
'eval' => array('tl_class' => 'w50'),
),
'transition_time' => array(
'label' => array('Animationszeit in ms', 'Standard: 1500'),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50'),
),
'autoplay' => array(
'label' => array('Autoplay aktivieren', ''),
'inputType' => 'checkbox',
'eval' => array('tl_class' => 'w50'),
),
'autoplay_time' => array(
'label' => array('Autoplay-Zyklus', 'nach wie viel MS soll zum nächsten Slide gewechselt werden, Standard: 3000'),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50'),
'dependsOn' => array(
'field' => 'autoplay',
),
),
'settings_2' => array(
'label' => array('Boxed-Image (z. B. ein Logo)', ''),
'inputType' => 'group',
'eval' => array('tl_class' => 'clr'),
),
'boxed_image' => array(
'label' => array('Bild mittig unten liegend', 'Meistens ein Logo'),
'inputType' => 'fileTree',
'eval' => array(
'multiple' => false,
'fieldType' => 'radio',
'filesOnly' => true,
'extensions' => 'jpg,jpeg,png,svg',
),
),
'boxed_image_animation_type' => array(
'label' => array(
'de' => array('Art der Einblendeanimation (Der Bild-Box)', 'Siehe https://animate.style/ für Beispiele'),
),
'inputType' => 'select',
'options' => array(
/* Fading entrances */
'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
'no-animation' => 'Keine Animation',
'animate__fadeIn' => 'fadeIn',
'animate__fadeInDown' => 'fadeInDown',
'animate__fadeInDownBig' => 'fadeInDownBig',
'animate__fadeInLeft' => 'fadeInLeft',
'animate__fadeInLeftBig' => 'fadeInLeftBig',
'animate__fadeInRight' => 'fadeInRight',
'animate__fadeInRightBig' => 'fadeInRightBig',
'animate__fadeInUpBig' => 'fadeInUpBig',
'animate__fadeInTopLeft' => 'fadeInTopLeft',
'animate__fadeInTopRight' => 'fadeInTopRight',
'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
'animate__fadeInBottomRight' => 'fadeInBottomRight',
/* Attention seekers */
'animate__bounce' => 'bounce',
'animate__flash' => 'flash',
'animate__pulse' => 'pulse',
'animate__rubberBand' => 'rubberBand',
'animate__shakeX' => 'shakeX',
'animate__shakeY' => 'shakeY',
'animate__headShake' => 'headShake',
'animate__swing' => 'swing',
'animate__tada' => 'tada',
'animate__wobble' => 'wobble',
'animate__jello' => 'jello',
'animate__heartBeat' => 'heartBeat',
/* Back entrances */
'animate__backInDown' => 'backInDown',
'animate__backInLeft' => 'backInLeft',
'animate__backInRight' => 'backInRight',
'animate__backInUp' => 'backInUp',
/* Back exits */
'animate__backOutDown' => 'backOutDown',
'animate__backOutLeft' => 'backOutLeft',
'animate__backOutRight' => 'backOutRight',
'animate__backOutUp' => 'backOutUp',
/* Bouncing entrances */
'animate__bounceIn' => 'bounceIn',
'animate__bounceInDown' => 'bounceInDown',
'animate__bounceInLeft' => 'bounceInLeft',
'animate__bounceInRight' => 'bounceInRight',
'animate__bounceInUp' => 'bounceInUp',
/* Bouncing exits */
'animate__bounceOut' => 'bounceOut',
'animate__bounceOutDown' => 'bounceOutDown',
'animate__bounceOutLeft' => 'bounceOutLeft',
'animate__bounceOutRight' => 'bounceOutRight',
'animate__bounceOutUp' => 'bounceOutUp',
/* Fading exits */
'animate__fadeOut' => 'fadeOut',
'animate__fadeOutDown' => 'fadeOutDown',
'animate__fadeOutDownBig' => 'fadeOutDownBig',
'animate__fadeOutLeft' => 'fadeOutLeft',
'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
'animate__fadeOutRight' => 'fadeOutRight',
'animate__fadeOutRightBig' => 'fadeOutRightBig',
'animate__fadeOutUp' => 'fadeOutUp',
'animate__fadeOutUpBig' => 'fadeOutUpBig',
'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
'animate__fadeOutTopRight' => 'fadeOutTopRight',
'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
/* Flippers */
'animate__flip' => 'flip',
'animate__flipInX' => 'flipInX',
'animate__flipInY' => 'flipInY',
'animate__flipOutX' => 'flipOutX',
'animate__flipOutY' => 'flipOutY',
/* Lightspeed */
'animate__lightSpeedInRight' => 'lightSpeedInRight',
'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
/* Rotating entrances */
'animate__rotateIn' => 'rotateIn',
'animate__rotateInDownLeft' => 'rotateInDownLeft',
'animate__rotateInDownRight' => 'rotateInDownRight',
'animate__rotateInUpLeft' => 'rotateInUpLeft',
'animate__rotateInUpRight' => 'rotateInUpRight',
/* Rotating exits */
'animate__rotateOut' => 'rotateOut',
'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
'animate__rotateOutDownRight' => 'rotateOutDownRight',
'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
'animate__rotateOutUpRight' => 'rotateOutUpRight',
/* Specials */
'animate__hinge' => 'hinge',
'animate__jackInTheBox' => 'jackInTheBox',
'animate__rollIn' => 'rollIn',
'animate__rollOut' => 'rollOut',
/* Zooming entrances */
'animate__zoomIn' => 'zoomIn',
'animate__zoomInDown' => 'zoomInDown',
'animate__zoomInLeft' => 'zoomInLeft',
'animate__zoomInRight' => 'zoomInRight',
'animate__zoomInUp' => 'zoomInUp',
/* Zooming exits */
'animate__zoomOut' => 'zoomOut',
'animate__zoomOutDown' => 'zoomOutDown',
'animate__zoomOutLeft' => 'zoomOutLeft',
'animate__zoomOutRight' => 'zoomOutRight',
'animate__zoomOutUp' => 'zoomOutUp',
/* Sliding entrances */
'animate__slideInDown' => 'slideInDown',
'animate__slideInLeft' => 'slideInLeft',
'animate__slideInRight' => 'slideInRight',
'animate__slideInUp' => 'slideInUp',
/* Sliding exits */
'animate__slideOutDown' => 'slideOutDown',
'animate__slideOutLeft' => 'slideOutLeft',
'animate__slideOutRight' => 'slideOutRight',
'animate__slideOutUp' => 'slideOutUp',
),
'eval' => array('chosen' => 'true')
),
'slides' => array(
'label' => array('Slides', ''),
'elementLabel' => '%s. Slide',
'inputType' => 'list',
'minItems' => 1,
'maxItems' => 10,
'fields' => array(
'settings_3' => array(
'label' => array('Bild', ''),
'inputType' => 'group',
),
'image' => array(
'label' => array('Bild / Video', 'Video-Format: MP4'),
'inputType' => 'fileTree',
'eval' => array(
'multiple' => false,
'fieldType' => 'radio',
'filesOnly' => true,
'extensions' => 'jpg,jpeg,png,mp4,webm,ogv',
'tl_class' => 'w50'
),
),
'mobile_image' => array(
'label' => array('Video für mobile-Ansicht', 'Nur in Verbindung mit einem Video in der Desktop-Ansicht, Video-Format: MP4'),
'inputType' => 'fileTree',
'eval' => array(
'multiple' => false,
'fieldType' => 'radio',
'filesOnly' => true,
'extensions' => 'mp4',
'tl_class' => 'w50',
'mandatory' => false,
),
),
'size' => array(
'label' => array('Bildbreite und Bildhöhe', ''),
'inputType' => 'imageSize',
'options' => System::getImageSizes(),
'reference' => &$GLOBALS['TL_LANG']['MSC'],
'eval' => array(
'rgxp' => 'digit',
'tl_class' => 'clr w50',
'includeBlankOption' => true,
),
),
'settings_4' => array(
'label' => array('Text-Inhalt', ''),
'inputType' => 'group',
),
'animation_type' => array(
'label' => array(
'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
),
'inputType' => 'select',
'options' => array(
/* Fading entrances */
'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
'no-animation' => 'Keine Animation',
'animate__fadeIn' => 'fadeIn',
'animate__fadeInDown' => 'fadeInDown',
'animate__fadeInDownBig' => 'fadeInDownBig',
'animate__fadeInLeft' => 'fadeInLeft',
'animate__fadeInLeftBig' => 'fadeInLeftBig',
'animate__fadeInRight' => 'fadeInRight',
'animate__fadeInRightBig' => 'fadeInRightBig',
'animate__fadeInUpBig' => 'fadeInUpBig',
'animate__fadeInTopLeft' => 'fadeInTopLeft',
'animate__fadeInTopRight' => 'fadeInTopRight',
'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
'animate__fadeInBottomRight' => 'fadeInBottomRight',
/* Attention seekers */
'animate__bounce' => 'bounce',
'animate__flash' => 'flash',
'animate__pulse' => 'pulse',
'animate__rubberBand' => 'rubberBand',
'animate__shakeX' => 'shakeX',
'animate__shakeY' => 'shakeY',
'animate__headShake' => 'headShake',
'animate__swing' => 'swing',
'animate__tada' => 'tada',
'animate__wobble' => 'wobble',
'animate__jello' => 'jello',
'animate__heartBeat' => 'heartBeat',
/* Back entrances */
'animate__backInDown' => 'backInDown',
'animate__backInLeft' => 'backInLeft',
'animate__backInRight' => 'backInRight',
'animate__backInUp' => 'backInUp',
/* Back exits */
'animate__backOutDown' => 'backOutDown',
'animate__backOutLeft' => 'backOutLeft',
'animate__backOutRight' => 'backOutRight',
'animate__backOutUp' => 'backOutUp',
/* Bouncing entrances */
'animate__bounceIn' => 'bounceIn',
'animate__bounceInDown' => 'bounceInDown',
'animate__bounceInLeft' => 'bounceInLeft',
'animate__bounceInRight' => 'bounceInRight',
'animate__bounceInUp' => 'bounceInUp',
/* Bouncing exits */
'animate__bounceOut' => 'bounceOut',
'animate__bounceOutDown' => 'bounceOutDown',
'animate__bounceOutLeft' => 'bounceOutLeft',
'animate__bounceOutRight' => 'bounceOutRight',
'animate__bounceOutUp' => 'bounceOutUp',
/* Fading exits */
'animate__fadeOut' => 'fadeOut',
'animate__fadeOutDown' => 'fadeOutDown',
'animate__fadeOutDownBig' => 'fadeOutDownBig',
'animate__fadeOutLeft' => 'fadeOutLeft',
'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
'animate__fadeOutRight' => 'fadeOutRight',
'animate__fadeOutRightBig' => 'fadeOutRightBig',
'animate__fadeOutUp' => 'fadeOutUp',
'animate__fadeOutUpBig' => 'fadeOutUpBig',
'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
'animate__fadeOutTopRight' => 'fadeOutTopRight',
'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
/* Flippers */
'animate__flip' => 'flip',
'animate__flipInX' => 'flipInX',
'animate__flipInY' => 'flipInY',
'animate__flipOutX' => 'flipOutX',
'animate__flipOutY' => 'flipOutY',
/* Lightspeed */
'animate__lightSpeedInRight' => 'lightSpeedInRight',
'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
/* Rotating entrances */
'animate__rotateIn' => 'rotateIn',
'animate__rotateInDownLeft' => 'rotateInDownLeft',
'animate__rotateInDownRight' => 'rotateInDownRight',
'animate__rotateInUpLeft' => 'rotateInUpLeft',
'animate__rotateInUpRight' => 'rotateInUpRight',
/* Rotating exits */
'animate__rotateOut' => 'rotateOut',
'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
'animate__rotateOutDownRight' => 'rotateOutDownRight',
'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
'animate__rotateOutUpRight' => 'rotateOutUpRight',
/* Specials */
'animate__hinge' => 'hinge',
'animate__jackInTheBox' => 'jackInTheBox',
'animate__rollIn' => 'rollIn',
'animate__rollOut' => 'rollOut',
/* Zooming entrances */
'animate__zoomIn' => 'zoomIn',
'animate__zoomInDown' => 'zoomInDown',
'animate__zoomInLeft' => 'zoomInLeft',
'animate__zoomInRight' => 'zoomInRight',
'animate__zoomInUp' => 'zoomInUp',
/* Zooming exits */
'animate__zoomOut' => 'zoomOut',
'animate__zoomOutDown' => 'zoomOutDown',
'animate__zoomOutLeft' => 'zoomOutLeft',
'animate__zoomOutRight' => 'zoomOutRight',
'animate__zoomOutUp' => 'zoomOutUp',
/* Sliding entrances */
'animate__slideInDown' => 'slideInDown',
'animate__slideInLeft' => 'slideInLeft',
'animate__slideInRight' => 'slideInRight',
'animate__slideInUp' => 'slideInUp',
/* Sliding exits */
'animate__slideOutDown' => 'slideOutDown',
'animate__slideOutLeft' => 'slideOutLeft',
'animate__slideOutRight' => 'slideOutRight',
'animate__slideOutUp' => 'slideOutUp',
),
'eval' => array('chosen' => 'true')
),
'text_style' => array(
'label' => array(
'de' => array('Text-Darstellungstyp', ''),
),
'inputType' => 'select',
'options' => array(
'style-1' => 'Style 1: Überschrift in groß darstellen',
'style-2' => 'Style 2: Überschrift auf Hintergrund mit Diagonale legen',
),
'eval' => array('tl_class' => 'w50'),
),
'textbox_position' => array(
'label' => array(
'de' => array('Textbox-Position', ''),
),
'inputType' => 'select',
'options' => array(
'pos-centered' => 'Mittig',
'pos-centered-right' => 'Mittig rechts',
'pos-centered-left' => 'Mittig links',
'pos-bottom-right' => 'Unten rechts',
'pos-bottom-left' => 'Unten links',
'pos-bottom-center' => 'Unten mittig',
'pos-top-right' => 'Oben rechts',
'pos-top-left' => 'Oben links',
'pos-top-center' => 'Oben mittig'
),
'eval' => array('tl_class' => 'w50'),
'dependsOn' => array(
'field' => 'text_style',
'value' => 'style-1',
),
),
'alternate_background_color' => array(
'label' => array('Alternative Hintergrundfarbe für Inhalt', 'Standardmäßig transparent (Style 1) oder weiß (Style 2)'),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50'),
),
'text_color' => array(
'label' => array('Schriftfarbe als HEX-Wert falls abweichend', 'Standard-Farbe ist die Basis-Textfarbe'),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50'),
),
'text_align' => array(
'label' => array(
'de' => array('Text-Ausrichtung', ''),
),
'inputType' => 'select',
'options' => array(
'text-start' => 'Linksbündig',
'text-center' => 'Zentriert',
'text-end' => 'Rechtsbündig',
),
'eval' => array('tl_class' => 'w50'),
),
'maxWidth' => array(
'label' => array('Maximale Breite der Textbox', 'inkl. Maßeinheit, z. B. 400px'),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50'),
),
'dynamic_fontsize' => array(
'label' => array('Schriftgröße abhängig von Bildschirmbreite skalieren', ''),
'inputType' => 'checkbox',
'eval' => array('tl_class' => 'clr'),
),
'firstline_headline' => array(
'label' => array('Erste Zeile ist eine Hauptüberschrift (H1)', ''),
'inputType' => 'checkbox',
'eval' => array('tl_class' => 'clr'),
),
'text_firstline' => array(
'label' => array('Erste Zeile', ''),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50', 'allowHtml' => true),
),
'text_secondline' => array(
'label' => array('Zweite Zeile', ''),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50', 'allowHtml' => true),
),
'text_infotext' => array(
'label' => array('Langtext unterhalb der Überschriften', ''),
'inputType' => 'textarea',
'eval' => array('rte' => 'tinyMCE', 'tl_class' => 'clr'),
),
'buttons' => array(
'label' => array('Button', ''),
'elementLabel' => '%s. Button',
'inputType' => 'list',
'minItems' => 0,
'maxItems' => 10,
'fields' => array(
'animation_type' => array(
'label' => array(
'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
),
'inputType' => 'select',
'options' => array(
/* Fading entrances */
'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
'no-animation' => 'Keine Animation',
'animate__fadeIn' => 'fadeIn',
'animate__fadeInDown' => 'fadeInDown',
'animate__fadeInDownBig' => 'fadeInDownBig',
'animate__fadeInLeft' => 'fadeInLeft',
'animate__fadeInLeftBig' => 'fadeInLeftBig',
'animate__fadeInRight' => 'fadeInRight',
'animate__fadeInRightBig' => 'fadeInRightBig',
'animate__fadeInUpBig' => 'fadeInUpBig',
'animate__fadeInTopLeft' => 'fadeInTopLeft',
'animate__fadeInTopRight' => 'fadeInTopRight',
'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
'animate__fadeInBottomRight' => 'fadeInBottomRight',
/* Attention seekers */
'animate__bounce' => 'bounce',
'animate__flash' => 'flash',
'animate__pulse' => 'pulse',
'animate__rubberBand' => 'rubberBand',
'animate__shakeX' => 'shakeX',
'animate__shakeY' => 'shakeY',
'animate__headShake' => 'headShake',
'animate__swing' => 'swing',
'animate__tada' => 'tada',
'animate__wobble' => 'wobble',
'animate__jello' => 'jello',
'animate__heartBeat' => 'heartBeat',
/* Back entrances */
'animate__backInDown' => 'backInDown',
'animate__backInLeft' => 'backInLeft',
'animate__backInRight' => 'backInRight',
'animate__backInUp' => 'backInUp',
/* Back exits */
'animate__backOutDown' => 'backOutDown',
'animate__backOutLeft' => 'backOutLeft',
'animate__backOutRight' => 'backOutRight',
'animate__backOutUp' => 'backOutUp',
/* Bouncing entrances */
'animate__bounceIn' => 'bounceIn',
'animate__bounceInDown' => 'bounceInDown',
'animate__bounceInLeft' => 'bounceInLeft',
'animate__bounceInRight' => 'bounceInRight',
'animate__bounceInUp' => 'bounceInUp',
/* Bouncing exits */
'animate__bounceOut' => 'bounceOut',
'animate__bounceOutDown' => 'bounceOutDown',
'animate__bounceOutLeft' => 'bounceOutLeft',
'animate__bounceOutRight' => 'bounceOutRight',
'animate__bounceOutUp' => 'bounceOutUp',
/* Fading exits */
'animate__fadeOut' => 'fadeOut',
'animate__fadeOutDown' => 'fadeOutDown',
'animate__fadeOutDownBig' => 'fadeOutDownBig',
'animate__fadeOutLeft' => 'fadeOutLeft',
'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
'animate__fadeOutRight' => 'fadeOutRight',
'animate__fadeOutRightBig' => 'fadeOutRightBig',
'animate__fadeOutUp' => 'fadeOutUp',
'animate__fadeOutUpBig' => 'fadeOutUpBig',
'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
'animate__fadeOutTopRight' => 'fadeOutTopRight',
'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
/* Flippers */
'animate__flip' => 'flip',
'animate__flipInX' => 'flipInX',
'animate__flipInY' => 'flipInY',
'animate__flipOutX' => 'flipOutX',
'animate__flipOutY' => 'flipOutY',
/* Lightspeed */
'animate__lightSpeedInRight' => 'lightSpeedInRight',
'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
/* Rotating entrances */
'animate__rotateIn' => 'rotateIn',
'animate__rotateInDownLeft' => 'rotateInDownLeft',
'animate__rotateInDownRight' => 'rotateInDownRight',
'animate__rotateInUpLeft' => 'rotateInUpLeft',
'animate__rotateInUpRight' => 'rotateInUpRight',
/* Rotating exits */
'animate__rotateOut' => 'rotateOut',
'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
'animate__rotateOutDownRight' => 'rotateOutDownRight',
'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
'animate__rotateOutUpRight' => 'rotateOutUpRight',
/* Specials */
'animate__hinge' => 'hinge',
'animate__jackInTheBox' => 'jackInTheBox',
'animate__rollIn' => 'rollIn',
'animate__rollOut' => 'rollOut',
/* Zooming entrances */
'animate__zoomIn' => 'zoomIn',
'animate__zoomInDown' => 'zoomInDown',
'animate__zoomInLeft' => 'zoomInLeft',
'animate__zoomInRight' => 'zoomInRight',
'animate__zoomInUp' => 'zoomInUp',
/* Zooming exits */
'animate__zoomOut' => 'zoomOut',
'animate__zoomOutDown' => 'zoomOutDown',
'animate__zoomOutLeft' => 'zoomOutLeft',
'animate__zoomOutRight' => 'zoomOutRight',
'animate__zoomOutUp' => 'zoomOutUp',
/* Sliding entrances */
'animate__slideInDown' => 'slideInDown',
'animate__slideInLeft' => 'slideInLeft',
'animate__slideInRight' => 'slideInRight',
'animate__slideInUp' => 'slideInUp',
/* Sliding exits */
'animate__slideOutDown' => 'slideOutDown',
'animate__slideOutLeft' => 'slideOutLeft',
'animate__slideOutRight' => 'slideOutRight',
'animate__slideOutUp' => 'slideOutUp',
),
'eval' => array('chosen' => 'true')
),
'link_text' => array(
'label' => array(
'de' => array('Button-Beschriftung', 'Button befindet sich rechts unter dem Text'),
),
'inputType' => 'text',
),
'link_url' => array(
'label' => array('Verlinkung', 'z . B . mailto:info@gmx . de'),
'inputType' => 'url',
),
'link_betreff' => array(
'label' => array('Betreffzeile für "mailto:" - Buttons', '(optional, falls Link eine neue Email öffnen soll)'),
'inputType' => 'text',
),
'link_type' => array(
'label' => array(
'de' => array('Optik des Buttons', ''),
),
'inputType' => 'select',
'options' => array(
'btn-primary' => 'Hauptfarbe',
'btn-outline-primary' => 'Hauptfarbe(Outline)',
'btn-secondary' => 'Sekundär - Farbe',
'btn-outline-secondary' => 'Sekundär - Farbe(Outline)',
'btn-link with-arrow' => 'Link - Optik mit Pfeilen',
'btn-outline-black' => 'Transparenter Button mit schwarzer Schrift und Rahmen', 'btn-outline-white' => 'Transparenter Button mit weißer Schrift und Rahmen',
'btn-white' => 'Weißer Button mit schwarzer Schrift',
),
'eval' => array('tl_class' => 'w50'),
),
'link_size' => array(
'label' => array(
'de' => array('Größe des Buttons', ''),
),
'inputType' => 'select',
'options' => array(
'' => 'Standard',
'btn-sm' => 'Klein',
'btn-lg' => 'Groß',
),
'eval' => array('tl_class' => 'w50'),
),
),
),
),
),
),
);