From 6b23b83fb5d68536eb33fd78e2c99787977f2c1e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 24 Jul 2017 20:48:22 +0200 Subject: [PATCH] Add html escaping --- Theme/Backend/comment-create.tpl.php | 16 ++++++++-------- Theme/Backend/comment-list.tpl.php | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Theme/Backend/comment-create.tpl.php b/Theme/Backend/comment-create.tpl.php index 4920d71..c3fa317 100644 --- a/Theme/Backend/comment-create.tpl.php +++ b/Theme/Backend/comment-create.tpl.php @@ -29,9 +29,9 @@ echo $this->getData('nav')->render(); ?>
@@ -88,8 +88,8 @@ echo $this->getData('nav')->render(); ?>
@@ -107,12 +107,12 @@ echo $this->getData('nav')->render(); ?>
-
+
-
-
+
+
diff --git a/Theme/Backend/comment-list.tpl.php b/Theme/Backend/comment-list.tpl.php index bbcdf85..2d664b0 100644 --- a/Theme/Backend/comment-list.tpl.php +++ b/Theme/Backend/comment-list.tpl.php @@ -24,20 +24,20 @@ $footerView->setPage(1); echo $this->getData('nav')->render(); ?>
- + - - $value) : $count++; ?> -
getText('Documents'); ?>getHtml('Documents') ?>
getText('Name'); ?> - getText('Creator'); ?> - getText('Created'); ?> + getHtml('Name') ?> + getHtml('Creator') ?> + getHtml('Created') ?>
render(); ?> + render(), ENT_COMPAT, 'utf-8'); ?>
getText('Empty', 0, 0); ?> +
getHtml('Empty', 0, 0); ?>