<?php $id = ''; if (!empty($this->zoneconfig['conf']['id'])) $id = ' id="' . $this->siteId . '_' . $this->zoneconfig['conf']['id'] . '"'; $data_melisKey = $this->melisKey; ?> <div <?= $id; ?> data-melisKey='<?= $data_melisKey; ?>' class="page-content-container iframe-container"> <div class="widget widget-tabs widget-tabs-double-2 widget-tabs-responsive"> <div class="widget-head nav sites-tool-tabs"> <ul class="tabs-label nav-tabs"> <?php foreach($this->zoneconfig['interface'] AS $configKey => $configVal) { ?> <li role="presentation"> <a class="glyphicons <?= $configVal['conf']['icon'] ?> cs-fa" data-toggle="tab" href="#<?=$this->siteId.'_'.$configVal['conf']['id']?>" aria-expanded="true"> <i></i> <span><?=$this->translate($configVal['conf']['name']); ?></span> </a> </li> <?php } ?> </ul> </div> </div> <div class="widget-body tab-content container-level-a"> <?php foreach($this->zoneconfig['interface'] AS $configKey => $configVal) {?> <?php echo $this->$configKey ?> <?php } ?> </div> </div>
info at phpclasses dot org