diff --git a/Controller/ApiController.php b/Controller/ApiController.php
index c36f9d2..3bc663e 100755
--- a/Controller/ApiController.php
+++ b/Controller/ApiController.php
@@ -1366,6 +1366,7 @@ final class ApiController extends Controller
/**
* This update logic below is only temp. And will be replaced once the package management is implemented (not part of this application but part of the service provided by the organization website)
*/
+
/**
* Api check for updates
*
diff --git a/Models/ModuleStatusUpdateType.php b/Models/ModuleStatusUpdateType.php
index b7174dc..e33e284 100755
--- a/Models/ModuleStatusUpdateType.php
+++ b/Models/ModuleStatusUpdateType.php
@@ -27,9 +27,14 @@ use phpOMS\Stdlib\Base\Enum;
abstract class ModuleStatusUpdateType extends Enum
{
public const ACTIVATE = 1;
+
public const DEACTIVATE = 2;
+
public const INSTALL = 3;
+
public const UNINSTALL = 4;
+
public const DELETE = 5;
+
public const UPDATE = 6;
}
diff --git a/Models/PermissionState.php b/Models/PermissionState.php
index 9292e01..11c70b7 100755
--- a/Models/PermissionState.php
+++ b/Models/PermissionState.php
@@ -27,12 +27,20 @@ use phpOMS\Stdlib\Base\Enum;
abstract class PermissionState extends Enum
{
public const SETTINGS = 1;
+
public const ACCOUNT = 2;
+
public const GROUP = 3;
+
public const MODULE = 4;
+
public const LOG = 5;
+
public const ROUTE = 6;
+
public const APP = 7;
+
public const ACCOUNT_SETTINGS = 8;
+
public const SEARCH = 9;
}
diff --git a/Theme/Backend/Components/GroupTagSelector/group-selector-popup.tpl.php b/Theme/Backend/Components/GroupTagSelector/group-selector-popup.tpl.php
index 2991eef..36863eb 100755
--- a/Theme/Backend/Components/GroupTagSelector/group-selector-popup.tpl.php
+++ b/Theme/Backend/Components/GroupTagSelector/group-selector-popup.tpl.php
@@ -1,6 +1,6 @@
= $this->getHtml('Group', 'Admin') ?>
= $this->getHtml('Group', 'Admin'); ?>
| = $this->getHtml('ID', '0', '0'); ?> - | = $this->getHtml('Status') ?> - | = $this->getHtml('Name') ?> - | = $this->getHtml('Activity') ?> - | = $this->getHtml('Created') ?> + | = $this->getHtml('Status'); ?> + | = $this->getHtml('Name'); ?> + | = $this->getHtml('Activity'); ?> + | = $this->getHtml('Created'); ?> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| = $this->printHtml($value->getId()); ?> - | = $this->getHtml('Status'. $value->getStatus()); ?> - | = $this->printHtml( + | = $this->printHtml($value->getId()); ?> + | = $this->getHtml('Status'. $value->getStatus()); ?> + | = $this->printHtml( \sprintf('%3$s %2$s %1$s', $value->getName1(), $value->getName2(), $value->getName3()) ); ?> - | = $this->printHtml($value->getLastActive()->format('Y-m-d H:i:s')); ?> - | = $this->printHtml($value->getCreatedAt()->format('Y-m-d H:i:s')); ?> + | = $this->printHtml($value->getLastActive()->format('Y-m-d H:i:s')); ?> + | = $this->printHtml($value->getCreatedAt()->format('Y-m-d H:i:s')); ?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| = $this->getHtml('Empty', '0', '0'); ?>
diff --git a/Theme/Backend/accounts-single.tpl.php b/Theme/Backend/accounts-single.tpl.php
index 2132ae0..b7ee0d2 100755
--- a/Theme/Backend/accounts-single.tpl.php
+++ b/Theme/Backend/accounts-single.tpl.php
@@ -54,7 +54,7 @@ echo $this->getData('nav')->render(); ?>
- request->getUri()->getFragment() === 'c-tab-1' ? ' checked' : '' ?>>
+ request->getUri()->getFragment() === 'c-tab-1' ? ' checked' : ''; ?>>
@@ -140,13 +140,13 @@ echo $this->getData('nav')->render(); ?>
- = $this->getHtml('Groups') ?>
+ = $this->getHtml('Groups'); ?>
-
+
@@ -275,12 +275,12 @@ echo $this->getData('nav')->render(); ?>
- = $this->getHtml('Audits', 'Auditor') ?>
+ = $this->getHtml('Audits', 'Auditor'); ?>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||