diff --git a/Admin/Routes/Console.php b/Admin/Routes/Console.php index ad2f6a9..9448746 100644 --- a/Admin/Routes/Console.php +++ b/Admin/Routes/Console.php @@ -1,4 +1,4 @@ -set( $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', 'title' => 'Module', 'message' => 'Invalid module or status', - 'response' => [] + 'response' => [], ]); $response->getHeader()->setStatusCode(RequestStatusCode::R_403); diff --git a/Theme/Backend/Components/GroupTagSelector/GroupTagSelectorPopupView.php b/Theme/Backend/Components/GroupTagSelector/GroupTagSelectorPopupView.php index 0d7fb60..a1d4e5f 100644 --- a/Theme/Backend/Components/GroupTagSelector/GroupTagSelectorPopupView.php +++ b/Theme/Backend/Components/GroupTagSelector/GroupTagSelectorPopupView.php @@ -1,62 +1,62 @@ -setTemplate('/Modules/Admin/Theme/Backend/Components/GroupTagSelector/group-selector-popup'); - } - - public function setId(string $id) : void - { - $this->id = $id; - } - - public function getId() : string - { - return $this->id; - } - - /** - * {@inheritdoc} - */ - public function render(...$data) : string - { - $this->id = $data[0] ?? $this->id; - return parent::render(); - } -} +setTemplate('/Modules/Admin/Theme/Backend/Components/GroupTagSelector/group-selector-popup'); + } + + public function setId(string $id) : void + { + $this->id = $id; + } + + public function getId() : string + { + return $this->id; + } + + /** + * {@inheritdoc} + */ + public function render(...$data) : string + { + $this->id = $data[0] ?? $this->id; + return parent::render(); + } +} diff --git a/Theme/Backend/Components/GroupTagSelector/GroupTagSelectorView.php b/Theme/Backend/Components/GroupTagSelector/GroupTagSelectorView.php index 5b5307e..ba212f3 100644 --- a/Theme/Backend/Components/GroupTagSelector/GroupTagSelectorView.php +++ b/Theme/Backend/Components/GroupTagSelector/GroupTagSelectorView.php @@ -1,69 +1,69 @@ -setTemplate('/Modules/Admin/Theme/Backend/Components/GroupTagSelector/group-selector'); - - $view = new GroupTagSelectorPopupView($app, $request, $response); - $this->addData('group-selector-popup', $view); - } - - public function getId() : string - { - return $this->id; - } - - public function isRequired() : bool - { - return $this->isRequired; - } - - /** - * {@inheritdoc} - */ - public function render(...$data) : string - { - $this->id = $data[0]; - $this->isRequired = $data[1] ?? false; - $this->getData('group-selector-popup')->setId($this->id); - - return parent::render(); - } -} +setTemplate('/Modules/Admin/Theme/Backend/Components/GroupTagSelector/group-selector'); + + $view = new GroupTagSelectorPopupView($app, $request, $response); + $this->addData('group-selector-popup', $view); + } + + public function getId() : string + { + return $this->id; + } + + public function isRequired() : bool + { + return $this->isRequired; + } + + /** + * {@inheritdoc} + */ + public function render(...$data) : string + { + $this->id = $data[0]; + $this->isRequired = $data[1] ?? false; + $this->getData('group-selector-popup')->setId($this->id); + + return parent::render(); + } +} diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 9a2cdd8..c9fed5a 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -1,4 +1,4 @@ -getData('nav')->render(); ?> diff --git a/Theme/Backend/accounts-single.tpl.php b/Theme/Backend/accounts-single.tpl.php index c682d7e..a9577f7 100644 --- a/Theme/Backend/accounts-single.tpl.php +++ b/Theme/Backend/accounts-single.tpl.php @@ -1,4 +1,4 @@ -
| = $this->printHtml($modules[$id]['name']['external']); ?> | ||
| = $this->getHtml('Version'); ?> - | = $this->printHtml($modules[$id]['version'] ); ?> + | = $this->printHtml($modules[$id]['version']); ?> |
| = $this->getHtml('CreatedBy'); ?> - | = $this->printHtml($modules[$id]['creator']['name'] ); ?> + | = $this->printHtml($modules[$id]['creator']['name']); ?> |
| = $this->getHtml('Website'); ?> - | = $this->printHtml($modules[$id]['creator']['website'] ); ?> + | = $this->printHtml($modules[$id]['creator']['website']); ?> |
| = $this->getHtml('Description'); ?> - | = $this->printHtml($modules[$id]['description'] ); ?> + | = $this->printHtml($modules[$id]['description']); ?> |
| diff --git a/Theme/Backend/settings-general.tpl.php b/Theme/Backend/settings-general.tpl.php index 94acef6..efd0371 100644 --- a/Theme/Backend/settings-general.tpl.php +++ b/Theme/Backend/settings-general.tpl.php @@ -1,4 +1,4 @@ - | ||