diff --git a/Theme/Backend/accounts-create.tpl.php b/Theme/Backend/accounts-create.tpl.php index 9a4c1b3..a9bec9a 100644 --- a/Theme/Backend/accounts-create.tpl.php +++ b/Theme/Backend/accounts-create.tpl.php @@ -17,36 +17,36 @@ echo $this->getData('nav')->render(); ?>
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Status'); ?> - | = $this->getText('Name'); ?> - | = $this->getText('Activity'); ?> - | = $this->getText('Created'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Status') ?> + | = $this->getHtml('Name') ?> + | = $this->getHtml('Activity') ?> + | = $this->getHtml('Created') ?> |
| = $footerView->render(); ?> + | |||||||||
| = htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?> | |||||||||
| = $value->getId(); ?> - | = $value->getStatus(); ?> - | = $value->getName1(); ?> - | = $value->getLastActive()->format('Y-m-d H:i:s'); ?> - | = $value->getCreatedAt()->format('Y-m-d H:i:s'); ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getStatus(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getName1(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getLastActive()->format('Y-m-d H:i:s'), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getCreatedAt()->format('Y-m-d H:i:s'), ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||||||||
| = $this->getHtml('Empty', 0, 0); ?> | |||||||||
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Name'); ?> - | = $this->getText('Parents'); ?> - | = $this->getText('Children'); ?> - | = $this->getText('Members'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Name') ?> + | = $this->getHtml('Parents') ?> + | = $this->getHtml('Children') ?> + | = $this->getHtml('Members') ?> |
| = $footerView->render(); ?> + | |||||||||
| = htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?> | |||||||||
| = $value->getId(); ?> - | = $value->getName(); ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getName(), ENT_COMPAT, 'utf-8'); ?> | - | |||||
| = $this->getText('Empty', 0, 0); ?> + | |||||||||
| = $this->getHtml('Empty', 0, 0); ?> | |||||||||
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Name'); ?> - | = $this->getText('Version'); ?> - | = $this->getText('Status'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Name') ?> + | = $this->getHtml('Version') ?> + | = $this->getHtml('Status') ?> |
| = $footerView->render(); ?> + | = htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?> | ||||||
| = $module['name']['internal']; ?> - | = $module['name']['external']; ?> - | = $module['version']; ?> + | = htmlspecialchars($module['name']['internal'], ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($module['name']['external'], ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($module['version'], ENT_COMPAT, 'utf-8'); ?> | getText('Active')); + echo strtolower($this->getHtml('Active')); elseif (in_array($module['name']['internal'], $installed)) - echo strtolower($this->getText('Inactive')); + echo strtolower($this->getHtml('Inactive')); else - echo strtolower($this->getText('Available')); ?> + echo strtolower($this->getHtml('Available')); ?> - | |
| = $this->getText('Empty', 0, 0); ?> + | |||||||
| = $this->getHtml('Empty', 0, 0); ?> | |||||||
| = $this->getText('Name') ?> - | = $modules[$id]['name']['external']; ?> + | = $this->getHtml('Name'); ?> + | = htmlspecialchars($modules[$id]['name']['external'], ENT_COMPAT, 'utf-8'); ?> |
| = $this->getText('Version') ?> - | = $modules[$id]['version'] ?> + | = $this->getHtml('Version'); ?> + | = htmlspecialchars($modules[$id]['version'] , ENT_COMPAT, 'utf-8'); ?> |
| = $this->getText('CreatedBy') ?> - | = $modules[$id]['creator']['name'] ?> + | = $this->getHtml('CreatedBy'); ?> + | = htmlspecialchars($modules[$id]['creator']['name'] , ENT_COMPAT, 'utf-8'); ?> |
| = $this->getText('Website') ?> - | = $modules[$id]['creator']['website'] ?> + | = $this->getHtml('Website'); ?> + | = htmlspecialchars($modules[$id]['creator']['website'] , ENT_COMPAT, 'utf-8'); ?> |
| = $this->getText('Description') ?> - | = $modules[$id]['description'] ?> + | = $this->getHtml('Description'); ?> + | = htmlspecialchars($modules[$id]['description'] , ENT_COMPAT, 'utf-8'); ?> |
| + data-reload="= \phpOMS\Uri\UriFactory::build('POST:/{/lang}/backend/admin/module/status?{?}&status=deactivate&module=' . $id); ?>">= $this->getHtml('Deactivate'); ?> - - + + - - + + | |||