aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-08-09 21:08:50 +0200
committerThomas Lange <code@nerdmind.de>2021-08-09 21:08:50 +0200
commit133c0bd78f9ea6e1da0d79bdb3efe18773890578 (patch)
treed4dc99688a44bebcdcfffd75621343dbdeae398f
parent9dc4d628fe301699aabc14b17c8f93e2e1bcaf03 (diff)
downloadblog-133c0bd78f9ea6e1da0d79bdb3efe18773890578.tar.gz
blog-133c0bd78f9ea6e1da0d79bdb3efe18773890578.tar.xz
blog-133c0bd78f9ea6e1da0d79bdb3efe18773890578.zip
Fix some inconsistent variable names
-rw-r--r--admin/category/update.php6
-rw-r--r--admin/page/update.php6
-rw-r--r--admin/post/update.php6
-rw-r--r--admin/user/update.php6
4 files changed, 12 insertions, 12 deletions
diff --git a/admin/category/update.php b/admin/category/update.php
index 4791d79..f5d08f4 100644
--- a/admin/category/update.php
+++ b/admin/category/update.php
@@ -75,10 +75,10 @@ $FormTemplate->set('FORM', [
'TOKEN' => Application::getSecurityToken()
]);
-$InsertTemplate = Template\Factory::build('category/update');
-$InsertTemplate->set('HTML', $FormTemplate);
+$UpdateTemplate = Template\Factory::build('category/update');
+$UpdateTemplate->set('HTML', $FormTemplate);
$MainTemplate = Template\Factory::build('main');
$MainTemplate->set('NAME', $Language->text('title_category_update'));
-$MainTemplate->set('HTML', $InsertTemplate);
+$MainTemplate->set('HTML', $UpdateTemplate);
echo $MainTemplate;
diff --git a/admin/page/update.php b/admin/page/update.php
index 5ec5f73..29abccd 100644
--- a/admin/page/update.php
+++ b/admin/page/update.php
@@ -71,10 +71,10 @@ $FormTemplate->set('FORM', [
'TOKEN' => Application::getSecurityToken()
]);
-$PageUpdateTemplate = Template\Factory::build('page/update');
-$PageUpdateTemplate->set('HTML', $FormTemplate);
+$UpdateTemplate = Template\Factory::build('page/update');
+$UpdateTemplate->set('HTML', $FormTemplate);
$MainTemplate = Template\Factory::build('main');
$MainTemplate->set('NAME', $Language->text('title_page_update'));
-$MainTemplate->set('HTML', $PageUpdateTemplate);
+$MainTemplate->set('HTML', $UpdateTemplate);
echo $MainTemplate;
diff --git a/admin/post/update.php b/admin/post/update.php
index b35c379..788d51f 100644
--- a/admin/post/update.php
+++ b/admin/post/update.php
@@ -86,10 +86,10 @@ $FormTemplate->set('FORM', [
'TOKEN' => Application::getSecurityToken()
]);
-$PostUpdateTemplate = Template\Factory::build('post/update');
-$PostUpdateTemplate->set('HTML', $FormTemplate);
+$UpdateTemplate = Template\Factory::build('post/update');
+$UpdateTemplate->set('HTML', $FormTemplate);
$MainTemplate = Template\Factory::build('main');
$MainTemplate->set('NAME', $Language->text('title_post_update'));
-$MainTemplate->set('HTML', $PostUpdateTemplate);
+$MainTemplate->set('HTML', $UpdateTemplate);
echo $MainTemplate;
diff --git a/admin/user/update.php b/admin/user/update.php
index 78685d7..b4a8cf0 100644
--- a/admin/user/update.php
+++ b/admin/user/update.php
@@ -60,10 +60,10 @@ $FormTemplate->set('FORM', [
'TOKEN' => Application::getSecurityToken()
]);
-$InsertTemplate = Template\Factory::build('user/update');
-$InsertTemplate->set('HTML', $FormTemplate);
+$UpdateTemplate = Template\Factory::build('user/update');
+$UpdateTemplate->set('HTML', $FormTemplate);
$MainTemplate = Template\Factory::build('main');
$MainTemplate->set('NAME', $Language->text('title_user_update'));
-$MainTemplate->set('HTML', $InsertTemplate);
+$MainTemplate->set('HTML', $UpdateTemplate);
echo $MainTemplate;