diff --git a/Theme/Backend/category-list.tpl.php b/Theme/Backend/category-list.tpl.php index cc9c0c8..51d9883 100644 --- a/Theme/Backend/category-list.tpl.php +++ b/Theme/Backend/category-list.tpl.php @@ -19,22 +19,22 @@ echo $this->getData('nav')->render(); ?>
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Title'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Title') ?> |
| = $value->getId(); ?> - | = $value->getTitle(); ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||
| = $this->getHtml('Empty', 0, 0); ?> | |||
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Title'); ?> - | = $this->getText('Risk'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Title') ?> + | = $this->getHtml('Risk') ?> |
| = $value->getId(); ?> - | = $value->getTitle(); ?> - | = $value->getRisk()->getName(); ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getRisk()->getName(), ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||||
| = $this->getHtml('Empty', 0, 0); ?> | |||||
| = $this->getText('Severity'); ?> - | = $this->getText('Name'); ?> - | = $this->getText('Department'); ?> - | = $this->getText('Category'); ?> - | = $this->getText('Process'); ?> - | = $this->getText('Project'); ?> - | = $this->getText('Unit'); ?> + | = $this->getHtml('Severity') ?> + | = $this->getHtml('Name') ?> + | = $this->getHtml('Department') ?> + | = $this->getHtml('Category') ?> + | = $this->getHtml('Process') ?> + | = $this->getHtml('Project') ?> + | = $this->getHtml('Unit') ?> |
| = $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('Risks'); ?> + | = $this->getHtml('Risks') ?> | 0 |
|---|---|---|
| = $this->getText('Causes'); ?> + | = $this->getHtml('Causes') ?> | 0 |
| = $this->getText('Solutions'); ?> + | = $this->getHtml('Solutions') ?> | 0 |
| = $this->getText('Department'); ?> + | = $this->getHtml('Department') ?> | 0 |
| = $this->getText('Category'); ?> + | = $this->getHtml('Category') ?> | 0 |
| = $this->getText('Process'); ?> + | = $this->getHtml('Process') ?> | 0 |
| = $this->getText('Project'); ?> + | = $this->getHtml('Project') ?> | 0 |
| = $this->getText('Total'); ?> + | = $this->getHtml('Total') ?> | 0 |
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Title'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Title') ?> |
| = $value->getId(); ?> - | = $value->getDepartment()->getName(); ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getDepartment()->getName(), ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||
| = $this->getHtml('Empty', 0, 0); ?> | |||
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Title'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Title') ?> |
| = $value->getId(); ?> - | = $value->getTitle(); ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||
| = $this->getHtml('Empty', 0, 0); ?> | |||
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Title'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Title') ?> |
| = $value->getId(); ?> - | = $value->getProject()->getName(); ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getProject()->getName(), ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||
| = $this->getHtml('Empty', 0, 0); ?> | |||
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Title'); ?> - | = $this->getText('Causes'); ?> - | = $this->getText('Solutions'); ?> - | = $this->getText('RiskObjects'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Title') ?> + | = $this->getHtml('Causes') ?> + | = $this->getHtml('Solutions') ?> + | = $this->getHtml('RiskObjects') ?> |
| = $value->getId(); ?> - | = $value->getName(); ?> - | = count($value->getCauses()) ?> - | = count($value->getSolutions()) ?> - | = count($value->getRiskObjects()) ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getName(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars(count($value->getCauses()) , ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars(count($value->getSolutions()) , ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars(count($value->getRiskObjects()) , ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||||||||
| = $this->getHtml('Empty', 0, 0); ?> | |||||||||
| = $this->getText('ID', 0, 0); ?> - | = $this->getText('Title'); ?> - | = $this->getText('Risk'); ?> - | = $this->getText('Cause'); ?> + | = $this->getHtml('ID', 0, 0); ?> + | = $this->getHtml('Title') ?> + | = $this->getHtml('Risk') ?> + | = $this->getHtml('Cause') ?> |
| = $value->getId(); ?> - | = $value->getTitle(); ?> - | = $value->getRisk()->getName(); ?> - | = $value->getCause()->getTitle(); ?> + | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getTitle(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getRisk()->getName(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getCause()->getTitle(), ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||||||
| = $this->getHtml('Empty', 0, 0); ?> | |||||||