diff --git a/Admin/Installer.php b/Admin/Installer.php
index 0447494..9d49e6c 100644
--- a/Admin/Installer.php
+++ b/Admin/Installer.php
@@ -67,7 +67,7 @@ class Installer extends InstallerAbstract
`group_permission_group` int(11) NOT NULL,
`group_permission_unit` int(11) DEFAULT NULL,
`group_permission_app` varchar(255) DEFAULT NULL,
- `group_permission_module` int(11) DEFAULT NULL,
+ `group_permission_module` varchar(255) DEFAULT NULL,
`group_permission_from` int(11) DEFAULT NULL,
`group_permission_type` int(11) DEFAULT NULL,
`group_permission_element` int(11) DEFAULT NULL,
diff --git a/Theme/Backend/accounts-single.tpl.php b/Theme/Backend/accounts-single.tpl.php
index 23ec4b3..122c6a9 100644
--- a/Theme/Backend/accounts-single.tpl.php
+++ b/Theme/Backend/accounts-single.tpl.php
@@ -11,6 +11,10 @@
* @link http://website.orange-management.de
*/
+use phpOMS\Account\AccountStatus;
+use phpOMS\Account\AccountType;
+use phpOMS\Account\PermissionType;
+
/**
* @var \phpOMS\Views\View $this
*/
@@ -31,15 +35,15 @@ echo $this->getData('nav')->render(); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -155,11 +159,11 @@ echo $this->getData('nav')->render(); ?>
| = $value->getElement(); ?>
| = $value->getComponent(); ?>
|
- = (\phpOMS\Account\PermissionType::CREATE | $permission) === $permission ? 'C' : ''; ?>
- = (\phpOMS\Account\PermissionType::READ | $permission) === $permission ? 'R' : ''; ?>
- = (\phpOMS\Account\PermissionType::MODIFY | $permission) === $permission ? 'U' : ''; ?>
- = (\phpOMS\Account\PermissionType::DELETE | $permission) === $permission ? 'D' : ''; ?>
- = (\phpOMS\Account\PermissionType::PERMISSION | $permission) === $permission ? 'P' : ''; ?>
+ = (PermissionType::CREATE | $permission) === $permission ? 'C' : ''; ?>
+ = (PermissionType::READ | $permission) === $permission ? 'R' : ''; ?>
+ = (PermissionType::MODIFY | $permission) === $permission ? 'U' : ''; ?>
+ = (PermissionType::DELETE | $permission) === $permission ? 'D' : ''; ?>
+ = (PermissionType::PERMISSION | $permission) === $permission ? 'P' : ''; ?>
|
| = $this->getHtml('Empty', 0, 0); ?>
@@ -187,28 +191,28 @@ echo $this->getData('nav')->render(); ?>
|
|
|
|
-
+
-
+
-
+
-
+
-
+
|
|
-
+
|