oms-Admin/Theme/Backend/modules-settings.tpl.php
Dennis Eichhorn c5e4032a74
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
Test fixes
2024-05-16 02:14:54 +00:00

29 lines
536 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;