aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-21 18:38:46 +0200
committerThomas Lange <code@nerdmind.de>2021-06-21 18:38:46 +0200
commit3c1f5e3427e3e45a11b772dfe24da2cef63f91f0 (patch)
tree9a8ff8a4a7762aad934292caf0c8e66ab782d8f6 /admin
parentbf57f3dcba5864b63882c273d25403c28637eeab (diff)
downloadblog-3c1f5e3427e3e45a11b772dfe24da2cef63f91f0.tar.gz
blog-3c1f5e3427e3e45a11b772dfe24da2cef63f91f0.tar.xz
blog-3c1f5e3427e3e45a11b772dfe24da2cef63f91f0.zip
Use function parseEntityContent
Diffstat (limited to 'admin')
-rw-r--r--admin/page/delete.php2
-rw-r--r--admin/post/delete.php2
-rw-r--r--admin/user/delete.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/admin/page/delete.php b/admin/page/delete.php
index 69ad242..e1c95f0 100644
--- a/admin/page/delete.php
+++ b/admin/page/delete.php
@@ -31,7 +31,7 @@ try {
# Build document
#===============================================================================
$FormTemplate = Template\Factory::build('page/form');
- $FormTemplate->set('HTML', $Page->getHTML());
+ $FormTemplate->set('HTML', parseEntityContent($Page));
$FormTemplate->set('FORM', [
'TYPE' => 'DELETE',
'INFO' => $messages ?? [],
diff --git a/admin/post/delete.php b/admin/post/delete.php
index 7d4ab10..94b60fc 100644
--- a/admin/post/delete.php
+++ b/admin/post/delete.php
@@ -31,7 +31,7 @@ try {
# Build document
#===============================================================================
$FormTemplate = Template\Factory::build('post/form');
- $FormTemplate->set('HTML', $Post->getHTML());
+ $FormTemplate->set('HTML', parseEntityContent($Post));
$FormTemplate->set('FORM', [
'TYPE' => 'DELETE',
'INFO' => $messages ?? [],
diff --git a/admin/user/delete.php b/admin/user/delete.php
index 5bc2aa5..6f0af6f 100644
--- a/admin/user/delete.php
+++ b/admin/user/delete.php
@@ -31,7 +31,7 @@ try {
# Build document
#===============================================================================
$FormTemplate = Template\Factory::build('user/form');
- $FormTemplate->set('HTML', $User->getHTML());
+ $FormTemplate->set('HTML', parseEntityContent($User));
$FormTemplate->set('FORM', [
'TYPE' => 'DELETE',
'INFO' => $messages ?? [],