<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('headline', $this); } ?> <div class="toolbox-headline <?php echo $this->select('headlineAdditionalClasses')->getData(); ?> "> <?php if (!$this->input('anchorName')->isEmpty()) { ?> <a id="<?php echo \Pimcore\File::getValidFilename($this->input('anchorName')->getData()); ?> "></a><?php } ?> <?php echo $this->template('toolbox/headline.php'); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('download', $this); } ?> <div class="toolbox-download <?php echo $this->select('downloadAdditionalClasses')->getData(); ?> "> <?php echo $this->template('toolbox/download.php'); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('separator', $this); } ?> <div class="toolbox-separator <?php echo $this->select('separatorContainerAdditionalClasses')->getData(); ?> "> <?php echo $this->template('toolbox/separator.php'); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('anchor', $this); } ?> <?php if (!$this->input('anchorName')->isEmpty()) { ?> <?php $anchorName = ltrim($this->input('anchorName')->getData(), '#'); ?> <a id="<?php echo $anchorName; ?> " data-anchortitle="<?php echo $this->input('anchorTitle')->getData(); ?> "></a> <?php }
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('accordion', $this); } ?> <div class="toolbox-accordion <?php echo $this->select('accordionAdditionalClasses')->getData(); ?> "> <?php echo $this->template('toolbox/accordion.php'); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('linklist', $this); } ?> <div class="toolbox-linklist <?php echo $this->select('linklistAdditionalClasses')->getData(); ?> "> <?php echo $this->template('toolbox/linklist.php'); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('columns', $this); } $equalHeight = $this->checkbox('equalHeight')->isChecked() && !$this->editmode; ?> <div class="toolbox-columns <?php echo $this->select('columnsAdditionalClasses')->getData(); echo $equalHeight ? ' equal-height' : ''; ?> "> <?php echo $this->template('toolbox/columns.php'); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('parallaxContainer', $this); } ?> <div class="toolbox-parallax-container <?php echo $this->select('parallaxContainerAdditionalClasses')->getData(); ?> "> <?php echo $this->template('toolbox/parallaxContainer.php'); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('image', $this); } ?> <div class="toolbox-image <?php echo $this->select('imageAdditionalClasses')->getData(); ?> "> <?php echo $this->template('toolbox/image.php'); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('teaser', $this); } ?> <div class="toolbox-teaser <?php echo $this->select('teaserContainerAdditionalClasses')->getData(); ?> "> <?php echo $this->template('toolbox/teaser.php'); ?> </div>
<?php $galleryId = 'gallery-' . uniqid(); ?> <?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('gallery', $this); } ?> <div class="toolbox-gallery <?php echo $this->select('galleryAdditionalClasses')->getData(); ?> "> <?php echo $this->template('toolbox/gallery.php', array('galleryId' => $galleryId)); ?> </div>
<?php if ($this->editmode) { ?> <?php echo \Toolbox\Tools\ElementBuilder::buildElementConfig('video', $this); } $autoplay = $this->checkbox('autoplay')->isChecked() === '1' && !$this->editmode; ?> <div class="toolbox-video <?php echo $this->select('videoContainerAdditionalClasses')->getData(); echo $autoplay ? ' autoplay' : ''; ?> " data-type="<?php echo $this->video('video')->getVideoType(); ?> "> <?php echo $this->template('toolbox/video.php', ['autoplay' => $autoplay]); ?> </div>