Пример #1
0
<?php

$name = $this->name ? $this->name : 'default';
$type = $this->type ? $this->type : null;
echo $this->areablock('c' . $name, \Toolbox\Tools\Area::getAreaBlockConfiguration($type));
Пример #2
0
<?php

if ($this->editmode) {
    ?>

    <div class="container">
    <div class="row">
    <div class="col-xs-12">

<?php 
}
?>

<?php 
echo $this->areablock('content', \Toolbox\Tools\Area::getAreaBlockConfiguration(NULL, TRUE));
?>

<?php 
if ($this->editmode) {
    ?>

    </div>
    </div>
    </div>

<?php 
}