diff --git a/Theme/Backend/Components/GroupTagSelector/group-selector-popup.tpl.php b/Theme/Backend/Components/GroupTagSelector/group-selector-popup.tpl.php index 07c6580..2991eef 100755 --- a/Theme/Backend/Components/GroupTagSelector/group-selector-popup.tpl.php +++ b/Theme/Backend/Components/GroupTagSelector/group-selector-popup.tpl.php @@ -9,7 +9,7 @@ "key": 1, "listener": "keyup", "action": [ {"key": 1, "type": "utils.timer", "id": "iSearchGroup", "delay": 500, "resets": true}, {"key": 2, "type": "dom.table.clear", "id": "acc-table"}, - {"key": 3, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/group?search={#iSearchGroup}", "method": "GET", "request_type": "json"}, + {"key": 3, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/group?search={!#iSearchGroup}", "method": "GET", "request_type": "json"}, {"key": 4, "type": "dom.table.append", "id": "acc-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1} ] } diff --git a/Theme/Backend/Components/GroupTagSelector/group-selector.tpl.php b/Theme/Backend/Components/GroupTagSelector/group-selector.tpl.php index d695216..1fe1336 100755 --- a/Theme/Backend/Components/GroupTagSelector/group-selector.tpl.php +++ b/Theme/Backend/Components/GroupTagSelector/group-selector.tpl.php @@ -18,14 +18,14 @@ {"key": 1, "type": "validate.keypress", "pressed": "!13!37!38!39!40"}, {"key": 2, "type": "utils.timer", "id": "printHtml($this->getId()); ?>", "delay": 500, "resets": true}, {"key": 3, "type": "dom.datalist.clear", "id": "printHtml($this->getId()); ?>-datalist"}, - {"key": 4, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/group?search={#printHtml($this->getId()); ?>}", "method": "GET", "request_type": "json"}, + {"key": 4, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/group?search={!#printHtml($this->getId()); ?>}", "method": "GET", "request_type": "json"}, {"key": 5, "type": "dom.datalist.append", "id": "printHtml($this->getId()); ?>-datalist", "value": "id", "text": "name"} ] }, { "key": 2, "listener": "keydown", "action" : [ {"key": 1, "type": "validate.keypress", "pressed": "13|9"}, - {"key": 2, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/group?search={#printHtml($this->getId()); ?>}", "method": "GET", "request_type": "json"}, + {"key": 2, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/group?search={!#printHtml($this->getId()); ?>}", "method": "GET", "request_type": "json"}, {"key": 3, "type": "dom.setvalue", "overwrite": true, "selector": "#printHtml($this->getId()); ?>-idlist", "value": "{0/id}", "data": ""}, {"key": 4, "type": "dom.setvalue", "overwrite": true, "selector": "#printHtml($this->getId()); ?>-taglist", "value": "printHtml($this->getId()); ?>-taglist-{0/id}\" class=\"tag red\" data-id=\"{0/id}\"> {0/name}", "data": ""}, {"key": 5, "type": "dom.setvalue", "overwrite": true, "selector": "#printHtml($this->getId()); ?>", "value": "", "data": ""} diff --git a/Theme/Backend/accounts-single.tpl.php b/Theme/Backend/accounts-single.tpl.php index 918eba2..a08e70e 100755 --- a/Theme/Backend/accounts-single.tpl.php +++ b/Theme/Backend/accounts-single.tpl.php @@ -14,6 +14,7 @@ declare(strict_types=1); use phpOMS\Account\AccountStatus; use phpOMS\Account\AccountType; +use phpOMS\Account\PermissionOwner; use phpOMS\Account\PermissionType; use phpOMS\Uri\UriFactory; @@ -166,42 +167,44 @@ echo $this->getData('nav')->render(); ?>
getHtml('Permissions') ?>
- - - - - $value) : ++$c; $permission = $value->getPermission(); ?> - -
- - getHtml('ID', '0', '0'); ?> - getHtml('Unit'); ?> - getHtml('App'); ?> - getHtml('Module'); ?> - getHtml('Type'); ?> - getHtml('Ele'); ?> - getHtml('Comp'); ?> - getHtml('Perm'); ?> -
- - getId(); ?> - getUnit(); ?> - getApp(); ?> - getModule(); ?> - getType(); ?> - getElement(); ?> - getComponent(); ?> - - - - - - - - -
getHtml('Empty', '0', '0'); ?> - -
+
+ + + + + $value) : ++$c; $permission = $value->getPermission(); ?> + +
+ + getHtml('ID', '0', '0'); ?> + getHtml('Unit'); ?> + getHtml('App'); ?> + getHtml('Module'); ?> + getHtml('Type'); ?> + getHtml('Ele'); ?> + getHtml('Comp'); ?> + getHtml('Perm'); ?> +
+ + getId(); ?> + getUnit(); ?> + getApp(); ?> + getModule(); ?> + getType(); ?> + getElement(); ?> + getComponent(); ?> + + + + + + + + +
getHtml('Empty', '0', '0'); ?> + +
+
@@ -248,7 +251,7 @@ echo $this->getData('nav')->render(); ?>
- +
diff --git a/Theme/Backend/groups-single.tpl.php b/Theme/Backend/groups-single.tpl.php index 03bbce3..50d0526 100755 --- a/Theme/Backend/groups-single.tpl.php +++ b/Theme/Backend/groups-single.tpl.php @@ -12,6 +12,9 @@ */ declare(strict_types=1); +use phpOMS\Account\PermissionType; +use phpOMS\Account\GroupStatus; +use phpOMS\Account\PermissionOwner; use phpOMS\Uri\UriFactory; /** @@ -71,7 +74,7 @@ echo $this->getData('nav')->render(); ?> @@ -129,63 +132,64 @@ echo $this->getData('nav')->render(); ?>
getHtml('Permissions') ?>
- - - - - - $value) : ++$c; $permission = $value->getPermission(); ?> - -
- - getHtml('ID', '0', '0'); ?> - getHtml('Unit'); ?> - getHtml('App'); ?> - getHtml('Module'); ?> - getHtml('Type'); ?> - getHtml('Ele'); ?> - getHtml('Comp'); ?> - getHtml('Perm'); ?> -
- - getId(); ?> - getUnit(); ?> - getApp(); ?> - getModule(); ?> - getType(); ?> - getElement(); ?> - getComponent(); ?> - - - - - - - - -
getHtml('Empty', '0', '0'); ?> - -
-
+ + + + + + + + getHtml('Empty', '0', '0'); ?> + + +
@@ -210,30 +214,30 @@ echo $this->getData('nav')->render(); ?> - + - + - + - + - +
- +