mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-17 20:58:43 +00:00
php cs fixer
This commit is contained in:
parent
70a1fb8dfc
commit
a4d6a19165
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Router\RouteVerb;
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
use Modules\Admin\Controller\ApiController;
|
use Modules\Admin\Controller\ApiController;
|
||||||
use Modules\Admin\Models\PermissionState;
|
use Modules\Admin\Models\PermissionState;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
use Modules\Admin\Controller\BackendController;
|
use Modules\Admin\Controller\BackendController;
|
||||||
use Modules\Admin\Models\PermissionState;
|
use Modules\Admin\Models\PermissionState;
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ final class ApiController extends Controller
|
||||||
$response->set(
|
$response->set(
|
||||||
$request->getUri()->__toString(),
|
$request->getUri()->__toString(),
|
||||||
[
|
[
|
||||||
'response' => $this->app->appSettings->get((int) $request->getData('id'))
|
'response' => $this->app->appSettings->get((int) $request->getData('id')),
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -559,7 +559,7 @@ final class ApiController extends Controller
|
||||||
'status' => 'warning',
|
'status' => 'warning',
|
||||||
'title' => 'Module',
|
'title' => 'Module',
|
||||||
'message' => 'Invalid module or status',
|
'message' => 'Invalid module or status',
|
||||||
'response' => []
|
'response' => [],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$response->getHeader()->setStatusCode(RequestStatusCode::R_403);
|
$response->getHeader()->setStatusCode(RequestStatusCode::R_403);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
use \phpOMS\Account\AccountStatus;
|
use \phpOMS\Account\AccountStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
*/
|
*/
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
@ -31,7 +31,7 @@ if ($nav !== null) {
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-4">
|
<div class="col-xs-12 col-md-4">
|
||||||
<section class="box wf-100">
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->printHtml($modules[$id]['name']['external'] ); ?></h1></header>
|
<header><h1><?= $this->printHtml($modules[$id]['name']['external']); ?></h1></header>
|
||||||
|
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<table class="list wf-100">
|
<table class="list wf-100">
|
||||||
|
|
@ -41,16 +41,16 @@ if ($nav !== null) {
|
||||||
<td><?= $this->printHtml($modules[$id]['name']['external']); ?>
|
<td><?= $this->printHtml($modules[$id]['name']['external']); ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('Version'); ?>
|
<td><?= $this->getHtml('Version'); ?>
|
||||||
<td><?= $this->printHtml($modules[$id]['version'] ); ?>
|
<td><?= $this->printHtml($modules[$id]['version']); ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('CreatedBy'); ?>
|
<td><?= $this->getHtml('CreatedBy'); ?>
|
||||||
<td><?= $this->printHtml($modules[$id]['creator']['name'] ); ?>
|
<td><?= $this->printHtml($modules[$id]['creator']['name']); ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('Website'); ?>
|
<td><?= $this->getHtml('Website'); ?>
|
||||||
<td><?= $this->printHtml($modules[$id]['creator']['website'] ); ?>
|
<td><?= $this->printHtml($modules[$id]['creator']['website']); ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('Description'); ?>
|
<td><?= $this->getHtml('Description'); ?>
|
||||||
<td><?= $this->printHtml($modules[$id]['description'] ); ?>
|
<td><?= $this->printHtml($modules[$id]['description']); ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<?php if (isset($active[$id])) : ?>
|
<?php if (isset($active[$id])) : ?>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user