diff --git a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php index bdff65b..0fc78e9 100644 --- a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php +++ b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php @@ -10,25 +10,25 @@ ] } ]' formaction=""> -getId(), ENT_COMPAT, 'utf-8'); ?>", "delay": 500, "resets": true}, - {"key": 3, "type": "dom.datalist.clear", "id": "= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>-datalist"}, - {"key": 4, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>}", "method": "GET", "request_type": "json"}, - {"key": 5, "type": "dom.datalist.append", "id": "= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>-datalist", "value": "id", "text": "name"} + {"key": 2, "type": "utils.timer", "id": "= $this->printHtml($this->getId()); ?>", "delay": 500, "resets": true}, + {"key": 3, "type": "dom.datalist.clear", "id": "= $this->printHtml($this->getId()); ?>-datalist"}, + {"key": 4, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#= $this->printHtml($this->getId()); ?>}", "method": "GET", "request_type": "json"}, + {"key": 5, "type": "dom.datalist.append", "id": "= $this->printHtml($this->getId()); ?>-datalist", "value": "id", "text": "name"} ] }, { "key": 2, "listener": "keydown", "action" : [ {"key": 1, "type": "validate.keypress", "pressed": "13"}, - {"key": 2, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>}", "method": "GET", "request_type": "json"}, - {"key": 3, "type": "dom.setvalue", "overwrite": false, "id": "= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>-idlist", "data-path": "", "data": ""}, - {"key": 4, "type": "dom.setvalue", "overwrite": false, "id": "= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>-taglist", "data-path": "", "data": ""} + {"key": 2, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#= $this->printHtml($this->getId()); ?>}", "method": "GET", "request_type": "json"}, + {"key": 3, "type": "dom.setvalue", "overwrite": false, "id": "= $this->printHtml($this->getId()); ?>-idlist", "data-path": "", "data": ""}, + {"key": 4, "type": "dom.setvalue", "overwrite": false, "id": "= $this->printHtml($this->getId()); ?>-taglist", "data-path": "", "data": ""} ] } ]' required> - - -
\ No newline at end of file + + + \ No newline at end of file diff --git a/Theme/Backend/profile-list.tpl.php b/Theme/Backend/profile-list.tpl.php index d4a49b3..fb6e33e 100644 --- a/Theme/Backend/profile-list.tpl.php +++ b/Theme/Backend/profile-list.tpl.php @@ -40,9 +40,9 @@ $accounts = $this->getData('accounts'); $account) : $count++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/profile/single?{?}&id=' . $account->getAccount()->getId()); ?>= $this->getHtml('Name') ?>
- | = htmlspecialchars($account->getAccount()->getName3(), ENT_COMPAT, 'utf-8'); ?>, = htmlspecialchars($account->getAccount()->getName1(), ENT_COMPAT, 'utf-8'); ?> + | = $this->printHtml($account->getAccount()->getName3()); ?>, = $this->printHtml($account->getAccount()->getName1()); ?> |
|---|---|---|
| = $this->getHtml('Occupation') ?> | Sailor @@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); | Gosling |
| = $this->getHtml('Email') ?> - | = htmlspecialchars($account->getAccount()->getEmail(), ENT_COMPAT, 'utf-8'); ?> + | = $this->printHtml($account->getAccount()->getEmail()); ?> |
| Address | @@ -71,13 +71,13 @@ echo $this->getData('nav')->render(); | +01 12345-4567 |
| = $this->getHtml('Registered') ?> - | = htmlspecialchars($account->getAccount()->getCreatedAt()->format('Y-m-d'), ENT_COMPAT, 'utf-8'); ?> + | = $this->printHtml($account->getAccount()->getCreatedAt()->format('Y-m-d')); ?> |
| = $this->getHtml('LastLogin') ?> - | = htmlspecialchars($account->getAccount()->getLastActive()->format('Y-m-d'), ENT_COMPAT, 'utf-8'); ?> + | = $this->printHtml($account->getAccount()->getLastActive()->format('Y-m-d')); ?> |
| = $this->getHtml('Status') ?> - | = htmlspecialchars($account->getAccount()->getStatus(), ENT_COMPAT, 'utf-8'); ?> + | = $this->printHtml($account->getAccount()->getStatus()); ?> |