diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php
index 533e572..cbf7bd5 100644
--- a/Theme/Backend/department-list.tpl.php
+++ b/Theme/Backend/department-list.tpl.php
@@ -41,10 +41,10 @@ echo $this->getData('nav')->render(); ?>
getData('list:elements') as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/department/profile?{?}&id=' . $value->getId()); ?>
- | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?>
- | = htmlspecialchars($value->getName(), ENT_COMPAT, 'utf-8'); ?>
- | = htmlspecialchars($value->getParent()->getName(), ENT_COMPAT, 'utf-8'); ?>
- | = htmlspecialchars($value->getUnit()->getName(), ENT_COMPAT, 'utf-8'); ?>
+ | = $this->printHtml($value->getId()); ?>
+ | = $this->printHtml($value->getName()); ?>
+ | = $this->printHtml($value->getParent()->getName()); ?>
+ | = $this->printHtml($value->getUnit()->getName()); ?>
|
diff --git a/Theme/Backend/department-profile.tpl.php b/Theme/Backend/department-profile.tpl.php
index fd7231a..9412b3e 100644
--- a/Theme/Backend/department-profile.tpl.php
+++ b/Theme/Backend/department-profile.tpl.php
@@ -27,9 +27,9 @@ echo $this->getData('nav')->render(); ?>
diff --git a/Theme/Backend/position-create.tpl.php b/Theme/Backend/position-create.tpl.php
index d8df677..afd10b2 100644
--- a/Theme/Backend/position-create.tpl.php
+++ b/Theme/Backend/position-create.tpl.php
@@ -32,8 +32,8 @@ echo $this->getData('nav')->render(); ?>
|
|
|
|
|
|
|
|
|
diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php
index e72474f..52cb63a 100644
--- a/Theme/Backend/position-list.tpl.php
+++ b/Theme/Backend/position-list.tpl.php
@@ -43,10 +43,10 @@ echo $this->getData('nav')->render(); ?>
$value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/position/profile?{?}&id=' . $value->getId()); ?>
|
- | = htmlspecialchars($value->getId(), ENT_COMPAT, 'utf-8'); ?>
- | = htmlspecialchars($value->getName(), ENT_COMPAT, 'utf-8'); ?>
- | = htmlspecialchars($value->getParent()->getName(), ENT_COMPAT, 'utf-8'); ?>
- | = htmlspecialchars($value->getDepartment()->getName(), ENT_COMPAT, 'utf-8'); ?>
+ | = $this->printHtml($value->getId()); ?>
+ | = $this->printHtml($value->getName()); ?>
+ | = $this->printHtml($value->getParent()->getName()); ?>
+ | = $this->printHtml($value->getDepartment()->getName()); ?>
|
| = $this->getHtml('Empty', 0, 0); ?>
diff --git a/Theme/Backend/position-profile.tpl.php b/Theme/Backend/position-profile.tpl.php
index f3b61c9..3e586d0 100644
--- a/Theme/Backend/position-profile.tpl.php
+++ b/Theme/Backend/position-profile.tpl.php
@@ -27,9 +27,9 @@ echo $this->getData('nav')->render(); ?>
diff --git a/Theme/Backend/unit-create.tpl.php b/Theme/Backend/unit-create.tpl.php
index ba8ce1e..4934686 100644
--- a/Theme/Backend/unit-create.tpl.php
+++ b/Theme/Backend/unit-create.tpl.php
@@ -30,8 +30,8 @@ echo $this->getData('nav')->render(); ?>
|
|
|
|
|
|
|
|
|
|
diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php
index d63a8c7..7160e5b 100644
--- a/Theme/Backend/unit-list.tpl.php
+++ b/Theme/Backend/unit-list.tpl.php
@@ -40,9 +40,9 @@ echo $this->getData('nav')->render(); ?>
getData('list:elements') as $key => $value) :
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/unit/profile?{?}&id=' . $value->getId()); ?>
|
- | = htmlspecialchars($value->getId()); ?>
- | = htmlspecialchars($value->getName(), ENT_COMPAT, 'utf-8'); ?>
- | = htmlspecialchars($value->getParent()->getName(), ENT_COMPAT, 'utf-8'); ?>
+ | = $this->printHtml($value->getId()); ?>
+ | = $this->printHtml($value->getName()); ?>
+ | = $this->printHtml($value->getParent()->getName()); ?>
diff --git a/Theme/Backend/unit-profile.tpl.php b/Theme/Backend/unit-profile.tpl.php
index 476d1eb..f94055a 100644
--- a/Theme/Backend/unit-profile.tpl.php
+++ b/Theme/Backend/unit-profile.tpl.php
@@ -27,16 +27,16 @@ echo $this->getData('nav')->render(); ?>
|