templates/buetow_2019/rsce_wrapper_start.html5 line 3

Open in your IDE?
  1. <!-- rsce_wrapper_start.html5 -->
  2. <?php
  3.     $hextorgba = \Contao\System::getContainer()->get('rwd.contao_custom_articles_bundle.hex_to_rgba');
  4.     if($this->background_color[1]  && $this->background_color[1] != '') {
  5.         $rgba $hextorgba->convertColors($this->background_color[0], $this->background_color[1]);
  6.         $this->background_color 'background:' $rgba ';';
  7.     }
  8.     else {
  9.         $rgb $hextorgba->convertColors($this->background_color[0]);
  10.         $this->background_color 'background:' $rgb ';';
  11.     }
  12.     if($this->font_color) {
  13.         $this->font_color ' color:#' $this->font_color ';';
  14.     }
  15.     if($this->minheight['value']) {
  16.         $this->height ' min-height:' $this->minheight['value'] . $this->minheight['unit'] . ';';
  17.     }
  18. ?>
  19. <div class="wrapper block <?= $this->class?>" style="<?= $this->background_color?><?= $this->font_color?><?= $this->opacity?><?= $this->height ?>">
  20.     <div class="inside row">