Giuseppe Criscione a18df4a0f8 Format php files
2024-04-27 13:06:15 +02:00

7 lines
369 B
PHP

<div class="tabs">
<?php foreach ($tabs as $tab) : ?>
<?php if ($panel->user()->permissions()->has('options.' . $tab)) : ?>
<a class="tabs-tab<?= ($tab === $current) ? ' active' : '' ?>" href="<?= $panel->uri('/options/' . $tab . '/') ?>"><?= $this->translate('panel.options.' . $tab) ?></a>
<?php endif ?>
<?php endforeach ?>
</div>