diff options
Diffstat (limited to 'admin')
-rw-r--r-- | admin/category/update.php | 6 | ||||
-rw-r--r-- | admin/page/update.php | 6 | ||||
-rw-r--r-- | admin/post/update.php | 6 | ||||
-rw-r--r-- | admin/user/update.php | 6 |
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; |