oms-Admin/Theme/Backend/modules-settings.tpl.php
2024-04-24 03:20:46 +00:00

29 lines
539 B
PHP
Executable File

<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\Admin\Template\Backend
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
/**
* @var \phpOMS\Views\View $this
*/
$settings = $this->data['settings'] ?? [];
echo $this->data['nav']->render();
if ($this->hasData('settingsTpl')
&& \is_file($this->getData('settingsTpl'))
) :
include $this->data['settingsTpl'];
else :
include __DIR__ . '/settings.tpl.php';
endif; ?>