diff --git a/Theme/Backend/qa-dashboard.tpl.php b/Theme/Backend/qa-dashboard.tpl.php index 93c8bbe..2c14f03 100644 --- a/Theme/Backend/qa-dashboard.tpl.php +++ b/Theme/Backend/qa-dashboard.tpl.php @@ -9,15 +9,15 @@ echo $this->getData('nav')->render(); ?>
- getAnswers()), ENT_COMPAT, 'utf-8'); ?> + printHtml(count($question->getAnswers())); ?>
getBadges(); foreach($badges as $badge) : ?> - getName(), ENT_COMPAT, 'utf-8'); ?> + printHtml($badge->getName()); ?>
diff --git a/Theme/Backend/qa-question.tpl.php b/Theme/Backend/qa-question.tpl.php index 034fdf5..609c918 100644 --- a/Theme/Backend/qa-question.tpl.php +++ b/Theme/Backend/qa-question.tpl.php @@ -8,9 +8,9 @@ echo $this->getData('nav')->render();
-

getName(), ENT_COMPAT, 'utf-8'); ?>

+

printHtml($question->getName()); ?>

- getQuestion(), ENT_COMPAT, 'utf-8'); ?> + printHtml($question->getQuestion()); ?>
@@ -21,7 +21,7 @@ echo $this->getData('nav')->render();
- getAnswer(), ENT_COMPAT, 'utf-8'); ?>getCreatedAt()->format('Y-m-d'), ENT_COMPAT, 'utf-8'); ?>getCreatedBy(), ENT_COMPAT, 'utf-8'); ?>getStatus(), ENT_COMPAT, 'utf-8'); ?>isAccepted(), ENT_COMPAT, 'utf-8'); ?> + printHtml($answer->getAnswer()); ?>printHtml($answer->getCreatedAt()->format('Y-m-d')); ?>printHtml($answer->getCreatedBy()); ?>printHtml($answer->getStatus()); ?>printHtml($answer->isAccepted()); ?>
diff --git a/Theme/Backend/qa-tag-list.tpl.php b/Theme/Backend/qa-tag-list.tpl.php index 34cf195..358dac5 100644 --- a/Theme/Backend/qa-tag-list.tpl.php +++ b/Theme/Backend/qa-tag-list.tpl.php @@ -35,8 +35,8 @@ echo $this->getData('nav')->render(); $value) : $c++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/account/settings?{?}&id=' . $value->getId()); ?> - getId(), ENT_COMPAT, 'utf-8'); ?> - getName(), ENT_COMPAT, 'utf-8'); ?> + printHtml($value->getId()); ?> + printHtml($value->getName()); ?> getHtml('Empty', 0, 0); ?>