mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-15 03:58:41 +00:00
php cs autofix
This commit is contained in:
parent
05097b3176
commit
bbbc520d98
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- name: Setup Composer
|
- name: Setup Composer
|
||||||
run: composer install
|
run: composer install
|
||||||
- name: Autoformat
|
- name: Autoformat
|
||||||
run: 'vendor/bin/php-cs-fixer fix ./ --rules=''{"array_syntax": {"syntax": "short"}, "blank_line_after_namespace": true, "cast_spaces": {"space": "single"}, "class_attributes_separation": { "elements": ["const", "method", "property"] }, "combine_consecutive_issets": true, "compact_nullable_typehint": true, "declare_strict_types": true, "elseif": true, "encoding": true, "explicit_indirect_variable": true, "explicit_string_variable": true, "function_to_constant": true, "implode_call": true, "increment_style": {"style": "pre"}, "is_null": {"use_yoda_style": false}, "line_ending": true, "logical_operators": true, "lowercase_cast": true, "lowercase_constants": true, "lowercase_keywords": true, "modernize_types_casting": true, "native_constant_invocation": true, "native_function_casing": true, "native_function_invocation": true, "new_with_braces": true, "no_alias_functions": true, "no_closing_tag": true, "no_empty_comment": true, "no_empty_phpdoc": true, "no_empty_statement": true, "no_homoglyph_names": true, "no_mixed_echo_print": {"use": "echo"}, "no_php4_constructor": true, "no_singleline_whitespace_before_semicolons": true, "no_spaces_inside_parenthesis": true, "no_trailing_whitespace": true, "no_unneeded_final_method": true, "no_unused_imports": true, "no_useless_return": true, "no_whitespace_before_comma_in_array": true, "no_whitespace_in_blank_line": true, "non_printable_character": true, "normalize_index_brace": true, "ordered_imports": {"sort_algorithm": "alpha"}, "ordered_interfaces": {"order": "alpha"}, "php_unit_construct": true, "php_unit_internal_class": true, "php_unit_ordered_covers": true, "php_unit_set_up_tear_down_visibility": true, "phpdoc_indent": true, "phpdoc_align": {"align": "vertical"}, "phpdoc_annotation_without_dot": true, "phpdoc_scalar": true, "phpdoc_return_self_reference": {"this": "self"}, "phpdoc_trim": true, "phpdoc_trim_consecutive_blank_line_separation": true, "random_api_migration": true, "self_accessor": true, "return_type_declaration": {"space_before": "one"}, "semicolon_after_instruction": true, "set_type_to_cast": true, "short_scalar_cast": true, "single_blank_line_at_eof": true, "single_line_after_imports": true, "standardize_increment": true, "trailing_comma_in_multiline_array": true, "trim_array_spaces": true, "visibility_required": true, "void_return": true}'' --allow-risky=yes'
|
run: 'vendor/bin/php-cs-fixer fix ./ --rules=''{"array_syntax": {"syntax": "short"}, "blank_line_after_namespace": true, "binary_operator_spaces": {"operators": {"=": "align", ".=": "align", "+=": "align", "-=": "align", "*=": "align", "/=": "align", "|=": "align", "&=": "align", "=>": "align", "??=": "align"}}, "cast_spaces": {"space": "single"}, "class_attributes_separation": { "elements": ["const", "method", "property"] }, "combine_consecutive_issets": true, "compact_nullable_typehint": true, "declare_strict_types": true, "elseif": true, "encoding": true, "explicit_indirect_variable": true, "explicit_string_variable": true, "function_to_constant": true, "implode_call": true, "increment_style": {"style": "pre"}, "is_null": {"use_yoda_style": false}, "line_ending": true, "logical_operators": true, "lowercase_cast": true, "lowercase_constants": true, "lowercase_keywords": true, "modernize_types_casting": true, "native_constant_invocation": true, "native_function_casing": true, "native_function_invocation": true, "new_with_braces": true, "no_alias_functions": true, "no_closing_tag": true, "no_empty_comment": true, "no_empty_phpdoc": true, "no_empty_statement": true, "no_homoglyph_names": true, "no_mixed_echo_print": {"use": "echo"}, "no_php4_constructor": true, "no_singleline_whitespace_before_semicolons": true, "no_spaces_inside_parenthesis": true, "no_trailing_whitespace": true, "no_unneeded_final_method": true, "no_unused_imports": true, "no_useless_return": true, "no_whitespace_before_comma_in_array": true, "no_whitespace_in_blank_line": true, "non_printable_character": true, "normalize_index_brace": true, "ordered_imports": {"sort_algorithm": "alpha"}, "ordered_interfaces": {"order": "alpha"}, "php_unit_construct": true, "php_unit_internal_class": true, "php_unit_ordered_covers": true, "php_unit_set_up_tear_down_visibility": true, "phpdoc_indent": true, "phpdoc_align": {"align": "vertical"}, "phpdoc_annotation_without_dot": true, "phpdoc_scalar": true, "phpdoc_return_self_reference": {"this": "self"}, "phpdoc_trim": true, "phpdoc_trim_consecutive_blank_line_separation": true, "random_api_migration": true, "self_accessor": true, "return_type_declaration": {"space_before": "one"}, "semicolon_after_instruction": true, "set_type_to_cast": true, "short_scalar_cast": true, "single_blank_line_at_eof": true, "single_line_after_imports": true, "standardize_increment": true, "trailing_comma_in_multiline_array": true, "trim_array_spaces": true, "visibility_required": true, "void_return": true}'' --allow-risky=yes'
|
||||||
- name: Check for modified files
|
- name: Check for modified files
|
||||||
id: git-check
|
id: git-check
|
||||||
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
|
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ final class Installer extends InstallerAbstract
|
||||||
parent::install($dbPool, $info, $cfgHandler);
|
parent::install($dbPool, $info, $cfgHandler);
|
||||||
|
|
||||||
$sqlite = new SQLiteConnection([
|
$sqlite = new SQLiteConnection([
|
||||||
'db' => 'sqlite',
|
'db' => 'sqlite',
|
||||||
'database' => __DIR__ . '/../../../phpOMS/Localization/Defaults/localization.sqlite',
|
'database' => __DIR__ . '/../../../phpOMS/Localization/Defaults/localization.sqlite',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ use phpOMS\Router\RouteVerb;
|
||||||
return [
|
return [
|
||||||
'^.*/login(\?.*|$)' => [
|
'^.*/login(\?.*|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiLogin',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiLogin',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
@ -17,8 +17,8 @@ return [
|
||||||
|
|
||||||
'^.*/logout(\?.*|$)' => [
|
'^.*/logout(\?.*|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiLogout',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiLogout',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
@ -26,8 +26,8 @@ return [
|
||||||
|
|
||||||
'^.*/forgott(\?.*|$)' => [
|
'^.*/forgott(\?.*|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiForgott',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiForgott',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
@ -35,290 +35,290 @@ return [
|
||||||
|
|
||||||
'^.*/admin/settings(\?.*|$)' => [
|
'^.*/admin/settings(\?.*|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiSettingsSet',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiSettingsSet',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::MODIFY,
|
'type' => PermissionType::MODIFY,
|
||||||
'state' => PermissionState::SETTINGS,
|
'state' => PermissionState::SETTINGS,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiSettingsGet',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiSettingsGet',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::SETTINGS,
|
'state' => PermissionState::SETTINGS,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/admin/group$' => [
|
'^.*/admin/group$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupCreate',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupCreate',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
'state' => PermissionState::GROUP,
|
'state' => PermissionState::GROUP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupUpdate',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupUpdate',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::MODIFY,
|
'type' => PermissionType::MODIFY,
|
||||||
'state' => PermissionState::GROUP,
|
'state' => PermissionState::GROUP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupDelete',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupDelete',
|
||||||
'verb' => RouteVerb::DELETE,
|
'verb' => RouteVerb::DELETE,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::DELETE,
|
'type' => PermissionType::DELETE,
|
||||||
'state' => PermissionState::GROUP,
|
'state' => PermissionState::GROUP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupGet',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupGet',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::GROUP,
|
'state' => PermissionState::GROUP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/admin/find/account(\?.*|$)' => [
|
'^.*/admin/find/account(\?.*|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountFind',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountFind',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::SEARCH,
|
'state' => PermissionState::SEARCH,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/find/group.*$' => [
|
'^.*/admin/find/group.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupFind',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupFind',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::SEARCH,
|
'state' => PermissionState::SEARCH,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/find/accgrp.*$' => [
|
'^.*/admin/find/accgrp.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountGroupFind',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountGroupFind',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::SEARCH,
|
'state' => PermissionState::SEARCH,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/admin/account(\?.*|$)' => [
|
'^.*/admin/account(\?.*|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountCreate',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountCreate',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
'state' => PermissionState::ACCOUNT,
|
'state' => PermissionState::ACCOUNT,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountUpdate',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountUpdate',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::MODIFY,
|
'type' => PermissionType::MODIFY,
|
||||||
'state' => PermissionState::ACCOUNT,
|
'state' => PermissionState::ACCOUNT,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountDelete',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountDelete',
|
||||||
'verb' => RouteVerb::DELETE,
|
'verb' => RouteVerb::DELETE,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::DELETE,
|
'type' => PermissionType::DELETE,
|
||||||
'state' => PermissionState::ACCOUNT,
|
'state' => PermissionState::ACCOUNT,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountGet',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountGet',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::ACCOUNT,
|
'state' => PermissionState::ACCOUNT,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/admin/module/status.*$' => [
|
'^.*/admin/module/status.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiModuleStatusUpdate',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiModuleStatusUpdate',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::MODIFY,
|
'type' => PermissionType::MODIFY,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/admin/group/account.*$' => [
|
'^.*/admin/group/account.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAddAccountToGroup',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAddAccountToGroup',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::MODIFY,
|
'type' => PermissionType::MODIFY,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/account/group.*$' => [
|
'^.*/admin/account/group.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAddGroupToAccount',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAddGroupToAccount',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::MODIFY,
|
'type' => PermissionType::MODIFY,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/admin/group/permission.*$' => [
|
'^.*/admin/group/permission.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupPermissionGet',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupPermissionGet',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::PERMISSION,
|
'type' => PermissionType::PERMISSION,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAddGroupPermission',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAddGroupPermission',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::PERMISSION,
|
'type' => PermissionType::PERMISSION,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupPermissionUpdate',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupPermissionUpdate',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::PERMISSION,
|
'type' => PermissionType::PERMISSION,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupPermissionDelete',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiGroupPermissionDelete',
|
||||||
'verb' => RouteVerb::DELETE,
|
'verb' => RouteVerb::DELETE,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::PERMISSION,
|
'type' => PermissionType::PERMISSION,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/account/permission.*$' => [
|
'^.*/admin/account/permission.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountPermissionGet',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountPermissionGet',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::PERMISSION,
|
'type' => PermissionType::PERMISSION,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAddAccountPermission',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAddAccountPermission',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::PERMISSION,
|
'type' => PermissionType::PERMISSION,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountPermissionUpdate',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountPermissionUpdate',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::PERMISSION,
|
'type' => PermissionType::PERMISSION,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountPermissionDelete',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiAccountPermissionDelete',
|
||||||
'verb' => RouteVerb::DELETE,
|
'verb' => RouteVerb::DELETE,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::PERMISSION,
|
'type' => PermissionType::PERMISSION,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/module/reinit.*$' => [
|
'^.*/admin/module/reinit.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiReInit',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiReInit',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
'state' => PermissionState::ROUTE,
|
'state' => PermissionState::ROUTE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/admin/update/url.*$' => [
|
'^.*/admin/update/url.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiUpdateFile',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiUpdateFile',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
'state' => PermissionState::APP,
|
'state' => PermissionState::APP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/update/check.*$' => [
|
'^.*/admin/update/check.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiCheckForUpdates',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiCheckForUpdates',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
'state' => PermissionState::APP,
|
'state' => PermissionState::APP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/update/component.*$' => [
|
'^.*/admin/update/component.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\ApiController:apiCheckForUpdates',
|
'dest' => '\Modules\Admin\Controller\ApiController:apiCheckForUpdates',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
'state' => PermissionState::APP,
|
'state' => PermissionState::APP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ use phpOMS\Router\RouteVerb;
|
||||||
return [
|
return [
|
||||||
'^.*/forgott.*$' => [
|
'^.*/forgott.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewForgott',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewForgott',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
@ -17,100 +17,100 @@ return [
|
||||||
|
|
||||||
'^.*/admin/settings/general.*$' => [
|
'^.*/admin/settings/general.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewSettingsGeneral',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewSettingsGeneral',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::SETTINGS,
|
'state' => PermissionState::SETTINGS,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/account/list.*$' => [
|
'^.*/admin/account/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewAccountList',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewAccountList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::ACCOUNT,
|
'state' => PermissionState::ACCOUNT,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/account/settings.*$' => [
|
'^.*/admin/account/settings.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewAccountSettings',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewAccountSettings',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::ACCOUNT,
|
'state' => PermissionState::ACCOUNT,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/account/create.*$' => [
|
'^.*/admin/account/create.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewAccountCreate',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewAccountCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
'state' => PermissionState::ACCOUNT,
|
'state' => PermissionState::ACCOUNT,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/group/list.*$' => [
|
'^.*/admin/group/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewGroupList',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewGroupList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::GROUP,
|
'state' => PermissionState::GROUP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/group/settings.*$' => [
|
'^.*/admin/group/settings.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewGroupSettings',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewGroupSettings',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::MODIFY,
|
'type' => PermissionType::MODIFY,
|
||||||
'state' => PermissionState::GROUP,
|
'state' => PermissionState::GROUP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/group/create.*$' => [
|
'^.*/admin/group/create.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewGroupCreate',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewGroupCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
'state' => PermissionState::GROUP,
|
'state' => PermissionState::GROUP,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/module/list.*$' => [
|
'^.*/admin/module/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewModuleList',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewModuleList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/admin/module/settings\?.*$' => [
|
'^.*/admin/module/settings\?.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Admin\Controller\BackendController:viewModuleProfile',
|
'dest' => '\Modules\Admin\Controller\BackendController:viewModuleProfile',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
'state' => PermissionState::MODULE,
|
'state' => PermissionState::MODULE,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -919,9 +919,9 @@ final class ApiController extends Controller
|
||||||
|
|
||||||
if (empty($module) || empty($status)) {
|
if (empty($module) || empty($status)) {
|
||||||
$response->set($request->getUri()->__toString(), [
|
$response->set($request->getUri()->__toString(), [
|
||||||
'status' => 'warning',
|
'status' => 'warning',
|
||||||
'title' => 'Module',
|
'title' => 'Module',
|
||||||
'message' => 'Invalid module or status',
|
'message' => 'Invalid module or status',
|
||||||
'response' => [],
|
'response' => [],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -215,7 +215,7 @@ final class AccountMapper extends DataMapperAbstract
|
||||||
$query->update('account')
|
$query->update('account')
|
||||||
->set([
|
->set([
|
||||||
'account_password_temp' => '',
|
'account_password_temp' => '',
|
||||||
'account_lactive' => new \DateTime('now'),
|
'account_lactive' => new \DateTime('now'),
|
||||||
])
|
])
|
||||||
->where('account_login', '=', $login)
|
->where('account_login', '=', $login)
|
||||||
->execute();
|
->execute();
|
||||||
|
|
|
||||||
|
|
@ -82,10 +82,10 @@ final class GroupMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $hasMany = [
|
protected static array $hasMany = [
|
||||||
'accounts' => [
|
'accounts' => [
|
||||||
'mapper' => AccountMapper::class,
|
'mapper' => AccountMapper::class,
|
||||||
'table' => 'account_group',
|
'table' => 'account_group',
|
||||||
'external' => 'account_group_group',
|
'external' => 'account_group_group',
|
||||||
'self' => 'account_group_account',
|
'self' => 'account_group_account',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -99,24 +99,24 @@ final class LocalizationMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'country' => [
|
'country' => [
|
||||||
'mapper' => CountryMapper::class,
|
'mapper' => CountryMapper::class,
|
||||||
'self' => 'l11n_country',
|
'self' => 'l11n_country',
|
||||||
'by' => 'code2',
|
'by' => 'code2',
|
||||||
'column' => 'code2',
|
'column' => 'code2',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
],
|
],
|
||||||
'lang' => [
|
'lang' => [
|
||||||
'mapper' => LanguageMapper::class,
|
'mapper' => LanguageMapper::class,
|
||||||
'self' => 'l11n_language',
|
'self' => 'l11n_language',
|
||||||
'by' => 'code2',
|
'by' => 'code2',
|
||||||
'column' => 'code2',
|
'column' => 'code2',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
],
|
],
|
||||||
'currency' => [
|
'currency' => [
|
||||||
'mapper' => CurrencyMapper::class,
|
'mapper' => CurrencyMapper::class,
|
||||||
'self' => 'l11n_currency',
|
'self' => 'l11n_currency',
|
||||||
'by' => 'code',
|
'by' => 'code',
|
||||||
'column' => 'code',
|
'column' => 'code',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -14,167 +14,167 @@ declare(strict_types=1);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'Admin' => [
|
'Admin' => [
|
||||||
':s1' => 'Aktiv',
|
':s1' => 'Aktiv',
|
||||||
':s2' => 'Inaktiv',
|
':s2' => 'Inaktiv',
|
||||||
':s3' => 'Timeout',
|
':s3' => 'Timeout',
|
||||||
':s4' => 'Gebannt',
|
':s4' => 'Gebannt',
|
||||||
'Account' => 'Account',
|
'Account' => 'Account',
|
||||||
'Account/Group' => 'Account/Groupe',
|
'Account/Group' => 'Account/Groupe',
|
||||||
'Accounts' => 'Konten',
|
'Accounts' => 'Konten',
|
||||||
'Active' => 'Aktiv',
|
'Active' => 'Aktiv',
|
||||||
'Activate' => 'Aktivieren',
|
'Activate' => 'Aktivieren',
|
||||||
'Activity' => 'Aktivität',
|
'Activity' => 'Aktivität',
|
||||||
'AuditLog' => 'Audit Log',
|
'AuditLog' => 'Audit Log',
|
||||||
'Available' => 'Verfügbar',
|
'Available' => 'Verfügbar',
|
||||||
'All' => 'Alle',
|
'All' => 'Alle',
|
||||||
'Amount' => 'Menge',
|
'Amount' => 'Menge',
|
||||||
'App' => 'App',
|
'App' => 'App',
|
||||||
'Area' => 'Gebiet',
|
'Area' => 'Gebiet',
|
||||||
'Banned' => 'Gabannt',
|
'Banned' => 'Gabannt',
|
||||||
'Cache' => 'Cache',
|
'Cache' => 'Cache',
|
||||||
'Children' => 'Kinder',
|
'Children' => 'Kinder',
|
||||||
'Close' => 'Schließen',
|
'Close' => 'Schließen',
|
||||||
'Comp' => 'Komp.',
|
'Comp' => 'Komp.',
|
||||||
'Component' => 'Komponent',
|
'Component' => 'Komponent',
|
||||||
'Country' => 'Land',
|
'Country' => 'Land',
|
||||||
'Create' => 'Erstellen',
|
'Create' => 'Erstellen',
|
||||||
'CreateProfile' => 'Erstelle Profil',
|
'CreateProfile' => 'Erstelle Profil',
|
||||||
'Created' => 'Erstellt',
|
'Created' => 'Erstellt',
|
||||||
'CreatedBy' => 'Erstellt von',
|
'CreatedBy' => 'Erstellt von',
|
||||||
'Currency' => 'Currency',
|
'Currency' => 'Currency',
|
||||||
'Currencyformat' => 'Währungsformat',
|
'Currencyformat' => 'Währungsformat',
|
||||||
'Customized' => 'Customized',
|
'Customized' => 'Customized',
|
||||||
'DecimalPoint' => 'Decimal Point',
|
'DecimalPoint' => 'Decimal Point',
|
||||||
'Defaults' => 'Defaults',
|
'Defaults' => 'Defaults',
|
||||||
'Description' => 'Description',
|
'Description' => 'Description',
|
||||||
'Delete' => 'Delete',
|
'Delete' => 'Delete',
|
||||||
'Deactivate' => 'Deactivate',
|
'Deactivate' => 'Deactivate',
|
||||||
'Ele' => 'Ele.',
|
'Ele' => 'Ele.',
|
||||||
'Element' => 'Element',
|
'Element' => 'Element',
|
||||||
'Email' => 'Email',
|
'Email' => 'Email',
|
||||||
'EmailAdmin' => 'Email Admin',
|
'EmailAdmin' => 'Email Admin',
|
||||||
'Fast' => 'Fast',
|
'Fast' => 'Fast',
|
||||||
'Features' => 'Features',
|
'Features' => 'Features',
|
||||||
'File' => 'File',
|
'File' => 'File',
|
||||||
'General' => 'General',
|
'General' => 'General',
|
||||||
'Glass' => 'Glass',
|
'Glass' => 'Glass',
|
||||||
'Group' => 'Group',
|
'Group' => 'Group',
|
||||||
'Groups' => 'Groups',
|
'Groups' => 'Groups',
|
||||||
'Heavy' => 'Heavy',
|
'Heavy' => 'Heavy',
|
||||||
'Inactive' => 'Inactive',
|
'Inactive' => 'Inactive',
|
||||||
'Install' => 'Install',
|
'Install' => 'Install',
|
||||||
'Installed' => 'Installed',
|
'Installed' => 'Installed',
|
||||||
'LAddress' => 'Local Address',
|
'LAddress' => 'Local Address',
|
||||||
'Language' => 'Language',
|
'Language' => 'Language',
|
||||||
'Large' => 'Large',
|
'Large' => 'Large',
|
||||||
'Length' => 'Length',
|
'Length' => 'Length',
|
||||||
'Light' => 'Light',
|
'Light' => 'Light',
|
||||||
'Load' => 'Load',
|
'Load' => 'Load',
|
||||||
'Localization' => 'Localization',
|
'Localization' => 'Localization',
|
||||||
'Long' => 'Long',
|
'Long' => 'Long',
|
||||||
'Log' => 'Log',
|
'Log' => 'Log',
|
||||||
'LoginRetries' => 'Login Retries',
|
'LoginRetries' => 'Login Retries',
|
||||||
'LogPath' => 'Log Path',
|
'LogPath' => 'Log Path',
|
||||||
'Logging' => 'Logging',
|
'Logging' => 'Logging',
|
||||||
'Loginname' => 'Login Name',
|
'Loginname' => 'Login Name',
|
||||||
'Lowercase' => 'Lowercase',
|
'Lowercase' => 'Lowercase',
|
||||||
'Maintenance' => 'Maintenance',
|
'Maintenance' => 'Maintenance',
|
||||||
'Medium' => 'Medium',
|
'Medium' => 'Medium',
|
||||||
'Member' => 'Member',
|
'Member' => 'Member',
|
||||||
'Members' => 'Members',
|
'Members' => 'Members',
|
||||||
'Memcache' => 'Memcache',
|
'Memcache' => 'Memcache',
|
||||||
'MemoryLimit' => 'Memory Limit',
|
'MemoryLimit' => 'Memory Limit',
|
||||||
'Message' => 'Message',
|
'Message' => 'Message',
|
||||||
'Module' => 'Module',
|
'Module' => 'Module',
|
||||||
'Modules' => 'Modules',
|
'Modules' => 'Modules',
|
||||||
'Name' => 'Name',
|
'Name' => 'Name',
|
||||||
'Name1' => 'Name 1',
|
'Name1' => 'Name 1',
|
||||||
'Name2' => 'Name 2',
|
'Name2' => 'Name 2',
|
||||||
'Name3' => 'Name 3',
|
'Name3' => 'Name 3',
|
||||||
'None' => 'None',
|
'None' => 'None',
|
||||||
'Numberformat' => 'Numberformat',
|
'Numberformat' => 'Numberformat',
|
||||||
'Numeric' => 'Numeric',
|
'Numeric' => 'Numeric',
|
||||||
'Organization' => 'Organization',
|
'Organization' => 'Organization',
|
||||||
'OrganizationName' => 'Organization Name',
|
'OrganizationName' => 'Organization Name',
|
||||||
'Page' => 'Page',
|
'Page' => 'Page',
|
||||||
'Parent' => 'Parent',
|
'Parent' => 'Parent',
|
||||||
'Parents' => 'Parents',
|
'Parents' => 'Parents',
|
||||||
'Password' => 'Password',
|
'Password' => 'Password',
|
||||||
'PasswordChangeInterval' => 'Password Change Interval (days)',
|
'PasswordChangeInterval' => 'Password Change Interval (days)',
|
||||||
'PasswordHistory' => 'Password History',
|
'PasswordHistory' => 'Password History',
|
||||||
'PasswordRegex' => 'Password Regex',
|
'PasswordRegex' => 'Password Regex',
|
||||||
'Perm' => 'Perm.',
|
'Perm' => 'Perm.',
|
||||||
'Permission' => 'Permission',
|
'Permission' => 'Permission',
|
||||||
'Permissions' => 'Permissions',
|
'Permissions' => 'Permissions',
|
||||||
'Person' => 'Person',
|
'Person' => 'Person',
|
||||||
'Precision' => 'Genauigkeit',
|
'Precision' => 'Genauigkeit',
|
||||||
'Profile' => 'Profile',
|
'Profile' => 'Profile',
|
||||||
'Read' => 'Read',
|
'Read' => 'Read',
|
||||||
'RAddress' => 'Remote Address',
|
'RAddress' => 'Remote Address',
|
||||||
'ReCache' => 'Re-Cache',
|
'ReCache' => 'Re-Cache',
|
||||||
'Release' => 'Release',
|
'Release' => 'Release',
|
||||||
'Reset' => 'Reset',
|
'Reset' => 'Reset',
|
||||||
'Running' => 'Running',
|
'Running' => 'Running',
|
||||||
'Short' => 'Short',
|
'Short' => 'Short',
|
||||||
'Sea' => 'Sea',
|
'Sea' => 'Sea',
|
||||||
'Security' => 'Security',
|
'Security' => 'Security',
|
||||||
'Settings' => 'Settings',
|
'Settings' => 'Settings',
|
||||||
'SettingsGeneral' => 'Settings - General',
|
'SettingsGeneral' => 'Settings - General',
|
||||||
'Single' => 'Single',
|
'Single' => 'Single',
|
||||||
'Slow' => 'Slow',
|
'Slow' => 'Slow',
|
||||||
'Small' => 'Small',
|
'Small' => 'Small',
|
||||||
'Speed' => 'Speed',
|
'Speed' => 'Speed',
|
||||||
'Specialchar' => 'Special character',
|
'Specialchar' => 'Special character',
|
||||||
'Status' => 'Status',
|
'Status' => 'Status',
|
||||||
'Total' => 'Total',
|
'Total' => 'Total',
|
||||||
'Type' => 'Type',
|
'Type' => 'Type',
|
||||||
'Tablespoon' => 'Tablespoon',
|
'Tablespoon' => 'Tablespoon',
|
||||||
'Teaspoon' => 'Teaspoon',
|
'Teaspoon' => 'Teaspoon',
|
||||||
'Temperature' => 'Temperature',
|
'Temperature' => 'Temperature',
|
||||||
'Theme' => 'Theme',
|
'Theme' => 'Theme',
|
||||||
'ThousandsSeparator' => 'Thousands Separator',
|
'ThousandsSeparator' => 'Thousands Separator',
|
||||||
'Time' => 'Time',
|
'Time' => 'Time',
|
||||||
'TimeoutPeriod' => 'Timeout Period (minutes)',
|
'TimeoutPeriod' => 'Timeout Period (minutes)',
|
||||||
'Timestamp' => 'Timestamp',
|
'Timestamp' => 'Timestamp',
|
||||||
'Timeformat' => 'Timeformat',
|
'Timeformat' => 'Timeformat',
|
||||||
'Timeout' => 'Timeout',
|
'Timeout' => 'Timeout',
|
||||||
'Timezone' => 'Timezone',
|
'Timezone' => 'Timezone',
|
||||||
'Unit' => 'Unit',
|
'Unit' => 'Unit',
|
||||||
'Uninstall' => 'Uninstall',
|
'Uninstall' => 'Uninstall',
|
||||||
'Update' => 'Update',
|
'Update' => 'Update',
|
||||||
'Uppercase' => 'Uppercase',
|
'Uppercase' => 'Uppercase',
|
||||||
'Username' => 'Username',
|
'Username' => 'Username',
|
||||||
'Version' => 'Version',
|
'Version' => 'Version',
|
||||||
'VeryFast' => 'Very Fast',
|
'VeryFast' => 'Very Fast',
|
||||||
'VeryHeavy' => 'Very Heavy',
|
'VeryHeavy' => 'Very Heavy',
|
||||||
'VeryLarge' => 'Very Large',
|
'VeryLarge' => 'Very Large',
|
||||||
'VeryLight' => 'Very Light',
|
'VeryLight' => 'Very Light',
|
||||||
'VeryLong' => 'Very Long',
|
'VeryLong' => 'Very Long',
|
||||||
'VerySlow' => 'Very Slow',
|
'VerySlow' => 'Very Slow',
|
||||||
'VeryShort' => 'Very Short',
|
'VeryShort' => 'Very Short',
|
||||||
'VerySmall' => 'Very Small',
|
'VerySmall' => 'Very Small',
|
||||||
'Volume' => 'Volume',
|
'Volume' => 'Volume',
|
||||||
'Warnings' => 'Warnings',
|
'Warnings' => 'Warnings',
|
||||||
'Website' => 'Website',
|
'Website' => 'Website',
|
||||||
'Weight' => 'Weight',
|
'Weight' => 'Weight',
|
||||||
'i:loc' => 'IP address or URL for remote access.',
|
'i:loc' => 'IP address or URL for remote access.',
|
||||||
'i:mail' => 'Email address.',
|
'i:mail' => 'Email address.',
|
||||||
'i:oname' => 'Organization name.',
|
'i:oname' => 'Organization name.',
|
||||||
'i:rem' => 'IP address or URL for remote access.',
|
'i:rem' => 'IP address or URL for remote access.',
|
||||||
'i:rc' => 'Forcing re-cache for every user.',
|
'i:rc' => 'Forcing re-cache for every user.',
|
||||||
'i:timef' => 'Time format.',
|
'i:timef' => 'Time format.',
|
||||||
'Status0' => 'None',
|
'Status0' => 'None',
|
||||||
'Status1' => 'Active',
|
'Status1' => 'Active',
|
||||||
'Status2' => 'Inactive',
|
'Status2' => 'Inactive',
|
||||||
'Status3' => 'Timehout',
|
'Status3' => 'Timehout',
|
||||||
'Status4' => 'Banned',
|
'Status4' => 'Banned',
|
||||||
'GroupStatus1' => 'Active',
|
'GroupStatus1' => 'Active',
|
||||||
'GroupStatus2' => 'Inactive',
|
'GroupStatus2' => 'Inactive',
|
||||||
'GroupStatus4' => 'Hidden',
|
'GroupStatus4' => 'Hidden',
|
||||||
'i:PasswordRegex' => 'Password requirement for users',
|
'i:PasswordRegex' => 'Password requirement for users',
|
||||||
'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)',
|
'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)',
|
||||||
'i:TimeoutPeriod' => 'Timeout period after too many logins',
|
'i:TimeoutPeriod' => 'Timeout period after too many logins',
|
||||||
'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)',
|
'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)',
|
||||||
'i:PasswordHistory' => 'New password has to be different from the last N passwords',
|
'i:PasswordHistory' => 'New password has to be different from the last N passwords',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -14,167 +14,167 @@ declare(strict_types=1);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'Admin' => [
|
'Admin' => [
|
||||||
':s1' => 'Active',
|
':s1' => 'Active',
|
||||||
':s2' => 'Inactive',
|
':s2' => 'Inactive',
|
||||||
':s3' => 'Timeout',
|
':s3' => 'Timeout',
|
||||||
':s4' => 'Banned',
|
':s4' => 'Banned',
|
||||||
'Account' => 'Account',
|
'Account' => 'Account',
|
||||||
'Account/Group' => 'Account/Group',
|
'Account/Group' => 'Account/Group',
|
||||||
'Accounts' => 'Accounts',
|
'Accounts' => 'Accounts',
|
||||||
'Active' => 'Active',
|
'Active' => 'Active',
|
||||||
'Activate' => 'Activate',
|
'Activate' => 'Activate',
|
||||||
'Activity' => 'Activity',
|
'Activity' => 'Activity',
|
||||||
'AuditLog' => 'Audit Log',
|
'AuditLog' => 'Audit Log',
|
||||||
'Available' => 'Available',
|
'Available' => 'Available',
|
||||||
'All' => 'All',
|
'All' => 'All',
|
||||||
'Amount' => 'Amount',
|
'Amount' => 'Amount',
|
||||||
'App' => 'App',
|
'App' => 'App',
|
||||||
'Area' => 'Area',
|
'Area' => 'Area',
|
||||||
'Banned' => 'Banned',
|
'Banned' => 'Banned',
|
||||||
'Cache' => 'Cache',
|
'Cache' => 'Cache',
|
||||||
'Children' => 'Children',
|
'Children' => 'Children',
|
||||||
'Close' => 'Close',
|
'Close' => 'Close',
|
||||||
'Comp' => 'Comp.',
|
'Comp' => 'Comp.',
|
||||||
'Component' => 'Component',
|
'Component' => 'Component',
|
||||||
'Country' => 'Country',
|
'Country' => 'Country',
|
||||||
'Create' => 'Create',
|
'Create' => 'Create',
|
||||||
'CreateProfile' => 'Create Profile',
|
'CreateProfile' => 'Create Profile',
|
||||||
'Created' => 'Created',
|
'Created' => 'Created',
|
||||||
'CreatedBy' => 'Created By',
|
'CreatedBy' => 'Created By',
|
||||||
'Currency' => 'Currency',
|
'Currency' => 'Currency',
|
||||||
'Currencyformat' => 'Currency Format',
|
'Currencyformat' => 'Currency Format',
|
||||||
'Customized' => 'Customized',
|
'Customized' => 'Customized',
|
||||||
'DecimalPoint' => 'Decimal Point',
|
'DecimalPoint' => 'Decimal Point',
|
||||||
'Defaults' => 'Defaults',
|
'Defaults' => 'Defaults',
|
||||||
'Description' => 'Description',
|
'Description' => 'Description',
|
||||||
'Delete' => 'Delete',
|
'Delete' => 'Delete',
|
||||||
'Deactivate' => 'Deactivate',
|
'Deactivate' => 'Deactivate',
|
||||||
'Ele' => 'Ele.',
|
'Ele' => 'Ele.',
|
||||||
'Element' => 'Element',
|
'Element' => 'Element',
|
||||||
'Email' => 'Email',
|
'Email' => 'Email',
|
||||||
'EmailAdmin' => 'Email Admin',
|
'EmailAdmin' => 'Email Admin',
|
||||||
'Fast' => 'Fast',
|
'Fast' => 'Fast',
|
||||||
'Features' => 'Features',
|
'Features' => 'Features',
|
||||||
'File' => 'File',
|
'File' => 'File',
|
||||||
'General' => 'General',
|
'General' => 'General',
|
||||||
'Glass' => 'Glass',
|
'Glass' => 'Glass',
|
||||||
'Group' => 'Group',
|
'Group' => 'Group',
|
||||||
'Groups' => 'Groups',
|
'Groups' => 'Groups',
|
||||||
'Heavy' => 'Heavy',
|
'Heavy' => 'Heavy',
|
||||||
'Inactive' => 'Inactive',
|
'Inactive' => 'Inactive',
|
||||||
'Install' => 'Install',
|
'Install' => 'Install',
|
||||||
'Installed' => 'Installed',
|
'Installed' => 'Installed',
|
||||||
'LAddress' => 'Local Address',
|
'LAddress' => 'Local Address',
|
||||||
'Language' => 'Language',
|
'Language' => 'Language',
|
||||||
'Large' => 'Large',
|
'Large' => 'Large',
|
||||||
'Length' => 'Length',
|
'Length' => 'Length',
|
||||||
'Light' => 'Light',
|
'Light' => 'Light',
|
||||||
'Load' => 'Load',
|
'Load' => 'Load',
|
||||||
'Localization' => 'Localization',
|
'Localization' => 'Localization',
|
||||||
'Long' => 'Long',
|
'Long' => 'Long',
|
||||||
'Log' => 'Log',
|
'Log' => 'Log',
|
||||||
'LoginRetries' => 'Login Retries',
|
'LoginRetries' => 'Login Retries',
|
||||||
'LogPath' => 'Log Path',
|
'LogPath' => 'Log Path',
|
||||||
'Logging' => 'Logging',
|
'Logging' => 'Logging',
|
||||||
'Loginname' => 'Login Name',
|
'Loginname' => 'Login Name',
|
||||||
'Lowercase' => 'Lowercase',
|
'Lowercase' => 'Lowercase',
|
||||||
'Maintenance' => 'Maintenance',
|
'Maintenance' => 'Maintenance',
|
||||||
'Medium' => 'Medium',
|
'Medium' => 'Medium',
|
||||||
'Member' => 'Member',
|
'Member' => 'Member',
|
||||||
'Members' => 'Members',
|
'Members' => 'Members',
|
||||||
'Memcache' => 'Memcache',
|
'Memcache' => 'Memcache',
|
||||||
'MemoryLimit' => 'Memory Limit',
|
'MemoryLimit' => 'Memory Limit',
|
||||||
'Message' => 'Message',
|
'Message' => 'Message',
|
||||||
'Module' => 'Module',
|
'Module' => 'Module',
|
||||||
'Modules' => 'Modules',
|
'Modules' => 'Modules',
|
||||||
'Name' => 'Name',
|
'Name' => 'Name',
|
||||||
'Name1' => 'Name 1',
|
'Name1' => 'Name 1',
|
||||||
'Name2' => 'Name 2',
|
'Name2' => 'Name 2',
|
||||||
'Name3' => 'Name 3',
|
'Name3' => 'Name 3',
|
||||||
'None' => 'None',
|
'None' => 'None',
|
||||||
'Numberformat' => 'Numberformat',
|
'Numberformat' => 'Numberformat',
|
||||||
'Numeric' => 'Numeric',
|
'Numeric' => 'Numeric',
|
||||||
'Organization' => 'Organization',
|
'Organization' => 'Organization',
|
||||||
'OrganizationName' => 'Organization Name',
|
'OrganizationName' => 'Organization Name',
|
||||||
'Page' => 'Page',
|
'Page' => 'Page',
|
||||||
'Parent' => 'Parent',
|
'Parent' => 'Parent',
|
||||||
'Parents' => 'Parents',
|
'Parents' => 'Parents',
|
||||||
'Password' => 'Password',
|
'Password' => 'Password',
|
||||||
'PasswordChangeInterval' => 'Password Change Interval (days)',
|
'PasswordChangeInterval' => 'Password Change Interval (days)',
|
||||||
'PasswordHistory' => 'Password History',
|
'PasswordHistory' => 'Password History',
|
||||||
'PasswordRegex' => 'Password Regex',
|
'PasswordRegex' => 'Password Regex',
|
||||||
'Perm' => 'Perm.',
|
'Perm' => 'Perm.',
|
||||||
'Permission' => 'Permission',
|
'Permission' => 'Permission',
|
||||||
'Permissions' => 'Permissions',
|
'Permissions' => 'Permissions',
|
||||||
'Person' => 'Person',
|
'Person' => 'Person',
|
||||||
'Precision' => 'Precision',
|
'Precision' => 'Precision',
|
||||||
'Profile' => 'Profile',
|
'Profile' => 'Profile',
|
||||||
'Read' => 'Read',
|
'Read' => 'Read',
|
||||||
'RAddress' => 'Remote Address',
|
'RAddress' => 'Remote Address',
|
||||||
'ReCache' => 'Re-Cache',
|
'ReCache' => 'Re-Cache',
|
||||||
'Release' => 'Release',
|
'Release' => 'Release',
|
||||||
'Reset' => 'Reset',
|
'Reset' => 'Reset',
|
||||||
'Running' => 'Running',
|
'Running' => 'Running',
|
||||||
'Short' => 'Short',
|
'Short' => 'Short',
|
||||||
'Sea' => 'Sea',
|
'Sea' => 'Sea',
|
||||||
'Security' => 'Security',
|
'Security' => 'Security',
|
||||||
'Settings' => 'Settings',
|
'Settings' => 'Settings',
|
||||||
'SettingsGeneral' => 'Settings - General',
|
'SettingsGeneral' => 'Settings - General',
|
||||||
'Single' => 'Single',
|
'Single' => 'Single',
|
||||||
'Slow' => 'Slow',
|
'Slow' => 'Slow',
|
||||||
'Small' => 'Small',
|
'Small' => 'Small',
|
||||||
'Speed' => 'Speed',
|
'Speed' => 'Speed',
|
||||||
'Specialchar' => 'Special character',
|
'Specialchar' => 'Special character',
|
||||||
'Status' => 'Status',
|
'Status' => 'Status',
|
||||||
'Total' => 'Total',
|
'Total' => 'Total',
|
||||||
'Type' => 'Type',
|
'Type' => 'Type',
|
||||||
'Tablespoon' => 'Tablespoon',
|
'Tablespoon' => 'Tablespoon',
|
||||||
'Teaspoon' => 'Teaspoon',
|
'Teaspoon' => 'Teaspoon',
|
||||||
'Temperature' => 'Temperature',
|
'Temperature' => 'Temperature',
|
||||||
'Theme' => 'Theme',
|
'Theme' => 'Theme',
|
||||||
'ThousandsSeparator' => 'Thousands Separator',
|
'ThousandsSeparator' => 'Thousands Separator',
|
||||||
'Time' => 'Time',
|
'Time' => 'Time',
|
||||||
'TimeoutPeriod' => 'Timeout Period (minutes)',
|
'TimeoutPeriod' => 'Timeout Period (minutes)',
|
||||||
'Timestamp' => 'Timestamp',
|
'Timestamp' => 'Timestamp',
|
||||||
'Timeformat' => 'Timeformat',
|
'Timeformat' => 'Timeformat',
|
||||||
'Timeout' => 'Timeout',
|
'Timeout' => 'Timeout',
|
||||||
'Timezone' => 'Timezone',
|
'Timezone' => 'Timezone',
|
||||||
'Unit' => 'Unit',
|
'Unit' => 'Unit',
|
||||||
'Uninstall' => 'Uninstall',
|
'Uninstall' => 'Uninstall',
|
||||||
'Update' => 'Update',
|
'Update' => 'Update',
|
||||||
'Uppercase' => 'Uppercase',
|
'Uppercase' => 'Uppercase',
|
||||||
'Username' => 'Username',
|
'Username' => 'Username',
|
||||||
'Version' => 'Version',
|
'Version' => 'Version',
|
||||||
'VeryFast' => 'Very Fast',
|
'VeryFast' => 'Very Fast',
|
||||||
'VeryHeavy' => 'Very Heavy',
|
'VeryHeavy' => 'Very Heavy',
|
||||||
'VeryLarge' => 'Very Large',
|
'VeryLarge' => 'Very Large',
|
||||||
'VeryLight' => 'Very Light',
|
'VeryLight' => 'Very Light',
|
||||||
'VeryLong' => 'Very Long',
|
'VeryLong' => 'Very Long',
|
||||||
'VerySlow' => 'Very Slow',
|
'VerySlow' => 'Very Slow',
|
||||||
'VeryShort' => 'Very Short',
|
'VeryShort' => 'Very Short',
|
||||||
'VerySmall' => 'Very Small',
|
'VerySmall' => 'Very Small',
|
||||||
'Volume' => 'Volume',
|
'Volume' => 'Volume',
|
||||||
'Warnings' => 'Warnings',
|
'Warnings' => 'Warnings',
|
||||||
'Website' => 'Website',
|
'Website' => 'Website',
|
||||||
'Weight' => 'Weight',
|
'Weight' => 'Weight',
|
||||||
'i:loc' => 'IP address or URL for remote access.',
|
'i:loc' => 'IP address or URL for remote access.',
|
||||||
'i:mail' => 'Email address.',
|
'i:mail' => 'Email address.',
|
||||||
'i:oname' => 'Organization name.',
|
'i:oname' => 'Organization name.',
|
||||||
'i:rem' => 'IP address or URL for remote access.',
|
'i:rem' => 'IP address or URL for remote access.',
|
||||||
'i:rc' => 'Forcing re-cache for every user.',
|
'i:rc' => 'Forcing re-cache for every user.',
|
||||||
'i:timef' => 'Time format.',
|
'i:timef' => 'Time format.',
|
||||||
'Status0' => 'None',
|
'Status0' => 'None',
|
||||||
'Status1' => 'Active',
|
'Status1' => 'Active',
|
||||||
'Status2' => 'Inactive',
|
'Status2' => 'Inactive',
|
||||||
'Status3' => 'Timehout',
|
'Status3' => 'Timehout',
|
||||||
'Status4' => 'Banned',
|
'Status4' => 'Banned',
|
||||||
'GroupStatus1' => 'Active',
|
'GroupStatus1' => 'Active',
|
||||||
'GroupStatus2' => 'Inactive',
|
'GroupStatus2' => 'Inactive',
|
||||||
'GroupStatus4' => 'Hidden',
|
'GroupStatus4' => 'Hidden',
|
||||||
'i:PasswordRegex' => 'Password requirement for users',
|
'i:PasswordRegex' => 'Password requirement for users',
|
||||||
'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)',
|
'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)',
|
||||||
'i:TimeoutPeriod' => 'Timeout period after too many logins',
|
'i:TimeoutPeriod' => 'Timeout period after too many logins',
|
||||||
'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)',
|
'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)',
|
||||||
'i:PasswordHistory' => 'New password has to be different from the last N passwords',
|
'i:PasswordHistory' => 'New password has to be different from the last N passwords',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -39,13 +39,13 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><?= $this->getHtml('Activity'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td><?= $this->getHtml('Activity'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<td><?= $this->getHtml('Created'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td><?= $this->getHtml('Created'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $c = 0; foreach ($accounts as $key => $value) : ++$c;
|
<?php $c = 0; foreach ($accounts as $key => $value) : ++$c;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $value->getId());
|
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $value->getId());
|
||||||
$color = 'darkred';
|
$color = 'darkred';
|
||||||
if ($value->getStatus() === AccountStatus::ACTIVE) { $color = 'green'; }
|
if ($value->getStatus() === AccountStatus::ACTIVE) { $color = 'green'; }
|
||||||
elseif ($value->getStatus() === AccountStatus::INACTIVE) { $color = 'darkblue'; }
|
elseif ($value->getStatus() === AccountStatus::INACTIVE) { $color = 'darkblue'; }
|
||||||
elseif ($value->getStatus() === AccountStatus::TIMEOUT) { $color = 'purple'; }
|
elseif ($value->getStatus() === AccountStatus::TIMEOUT) { $color = 'purple'; }
|
||||||
elseif ($value->getStatus() === AccountStatus::BANNED) { $color = 'red'; } ?>
|
elseif ($value->getStatus() === AccountStatus::BANNED) { $color = 'red'; } ?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Status'); ?>"><a href="<?= $url; ?>"><span class="tag <?= $color; ?>"><?= $this->getHtml('Status'. $value->getStatus()); ?></span></a>
|
<td data-label="<?= $this->getHtml('Status'); ?>"><a href="<?= $url; ?>"><span class="tag <?= $color; ?>"><?= $this->getHtml('Status'. $value->getStatus()); ?></span></a>
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td class="wf-100"><?= $this->getHtml('Name'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td class="wf-100"><?= $this->getHtml('Name'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $c = 0; $groups = $account->getGroups(); foreach ($groups as $key => $value) : ++$c;
|
<?php $c = 0; $groups = $account->getGroups(); foreach ($groups as $key => $value) : ++$c;
|
||||||
$url = UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
|
$url = UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td><a href="#"><i class="fa fa-times"></i></a>
|
<td><a href="#"><i class="fa fa-times"></i></a>
|
||||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
||||||
|
|
@ -308,7 +308,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td ><?= $this->getHtml('Date', 'Auditor'); ?>
|
<td ><?= $this->getHtml('Date', 'Auditor'); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
||||||
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td><?= $audit->getId(); ?>
|
<td><?= $audit->getId(); ?>
|
||||||
<td><?= $this->printHtml($audit->getModule()); ?>
|
<td><?= $this->printHtml($audit->getModule()); ?>
|
||||||
|
|
|
||||||
|
|
@ -37,12 +37,12 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td class="wf-100"><?= $this->getHtml('Name'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td class="wf-100"><?= $this->getHtml('Name'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<td><?= $this->getHtml('Members'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td><?= $this->getHtml('Members'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $c = 0; foreach ($groups as $key => $value) : ++$c;
|
<?php $c = 0; foreach ($groups as $key => $value) : ++$c;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId());
|
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId());
|
||||||
$color = 'darkred';
|
$color = 'darkred';
|
||||||
if ($value->getStatus() === \phpOMS\Account\GroupStatus::ACTIVE) { $color = 'green'; }
|
if ($value->getStatus() === \phpOMS\Account\GroupStatus::ACTIVE) { $color = 'green'; }
|
||||||
elseif ($value->getStatus() === \phpOMS\Account\GroupStatus::INACTIVE) { $color = 'darkblue'; }
|
elseif ($value->getStatus() === \phpOMS\Account\GroupStatus::INACTIVE) { $color = 'darkblue'; }
|
||||||
elseif ($value->getStatus() === \phpOMS\Account\GroupStatus::HIDDEN) { $color = 'purple'; } ?>
|
elseif ($value->getStatus() === \phpOMS\Account\GroupStatus::HIDDEN) { $color = 'purple'; } ?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Status'); ?>"><a href="<?= $url; ?>"><span class="tag <?= $color; ?>"><?= $this->getHtml('Status'. $value->getStatus()); ?></span></a>
|
<td data-label="<?= $this->getHtml('Status'); ?>"><a href="<?= $url; ?>"><span class="tag <?= $color; ?>"><?= $this->getHtml('Status'. $value->getStatus()); ?></span></a>
|
||||||
|
|
|
||||||
|
|
@ -284,7 +284,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td ><?= $this->getHtml('Date', 'Auditor'); ?>
|
<td ><?= $this->getHtml('Date', 'Auditor'); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
||||||
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td><?= $audit->getId(); ?>
|
<td><?= $audit->getId(); ?>
|
||||||
<td><?= $this->printHtml($audit->getModule()); ?>
|
<td><?= $this->printHtml($audit->getModule()); ?>
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,11 @@ $isntalled = $this->getData('isntalled') ?? [];
|
||||||
<td><?= $this->getHtml('Version'); ?>
|
<td><?= $this->getHtml('Version'); ?>
|
||||||
<td><?= $this->getHtml('Status'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td><?= $this->getHtml('Status'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($modules as $key => $module) : ++$count;
|
<?php $count = 0; foreach ($modules as $key => $module) : ++$count;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/module/settings?{?}&id=' . $module['name']['internal']);
|
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/module/settings?{?}&id=' . $module['name']['internal']);
|
||||||
if (isset($active[$module['name']['internal']])) { $status = ModuleStatus::ACTIVE; }
|
if (isset($active[$module['name']['internal']])) { $status = ModuleStatus::ACTIVE; }
|
||||||
elseif (isset($installed[$module['name']['internal']])) { $status = ModuleStatus::INACTIVE; }
|
elseif (isset($installed[$module['name']['internal']])) { $status = ModuleStatus::INACTIVE; }
|
||||||
else { $status = ModuleStatus::AVAILABLE; }
|
else { $status = ModuleStatus::AVAILABLE; }
|
||||||
?>
|
?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($module['name']['id']); ?></a>
|
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($module['name']['id']); ?></a>
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,7 @@ if ($nav !== null) {
|
||||||
<td ><?= $this->getHtml('Date', 'Auditor'); ?>
|
<td ><?= $this->getHtml('Date', 'Auditor'); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
||||||
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td><?= $audit->getId(); ?>
|
<td><?= $audit->getId(); ?>
|
||||||
<td><?= $this->printHtml($audit->getModule()); ?>
|
<td><?= $this->printHtml($audit->getModule()); ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user