mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-05 02:38:40 +00:00
update settings
This commit is contained in:
parent
7cf8506c30
commit
7ccb7478c3
|
|
@ -11,7 +11,7 @@
|
|||
"create_collection": false,
|
||||
"name": "Default Profile Image",
|
||||
"virtualPath": "/Modules/Profile",
|
||||
"path": "/Modules/Media/Files/Modules/Profile",
|
||||
"path": "/Modules/Profile",
|
||||
"files": [
|
||||
"/Modules/Profile/Admin/Install/Media/default_profile.png"
|
||||
],
|
||||
|
|
|
|||
18
Admin/Settings/Theme/Backend/settings.tpl.php
Normal file
18
Admin/Settings/Theme/Backend/settings.tpl.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* Karaka
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Template
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://karaka.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
echo $this->getData('nav')->render();
|
||||
?>
|
||||
|
||||
Settings
|
||||
|
|
@ -190,10 +190,10 @@ final class BackendController extends Controller
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function viewProfileAdminSettings(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface
|
||||
public function viewModuleSettings(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface
|
||||
{
|
||||
$view = new View($this->app->l11nManager, $request, $response);
|
||||
$view->setTemplate('/Modules/Profile/Theme/Backend/modules-settings');
|
||||
$view->setTemplate('/Modules/' . static::NAME . '/Admin/Settings/Theme/Backend/settings');
|
||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1000300000, $request, $response));
|
||||
|
||||
return $view;
|
||||
|
|
|
|||
|
|
@ -195,13 +195,13 @@ echo $this->getData('nav')->render();
|
|||
<tr><td>
|
||||
<div class="ipt-wrap">
|
||||
<div class="ipt-first"><select id="iDefaultLocalizations" name="localization_load">
|
||||
<option selected disabled><?= $this->getHtml('Customized'); ?>
|
||||
<option value="-1" selected disabled><?= $this->getHtml('Customized'); ?>
|
||||
<?php foreach ($l11nDefinitions as $def) : ?>
|
||||
<option value="<?= $this->printHtml(\explode('.', $def)[0]); ?>"><?= $this->printHtml(\explode('.', $def)[0]); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="ipt-second"><input type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}profile/settings/localization?load=1'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
|
||||
<div class="ipt-second"><input type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}profile/settings/localization'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
|
||||
</div>
|
||||
<tr><td colspan="2"><label for="iCountries"><?= $this->getHtml('Country'); ?></label>
|
||||
<tr><td colspan="2">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user