diff options
Diffstat (limited to 'admin')
-rw-r--r-- | admin/category/update.php | 1 | ||||
-rw-r--r-- | admin/page/update.php | 1 | ||||
-rw-r--r-- | admin/post/update.php | 1 | ||||
-rw-r--r-- | admin/user/update.php | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/admin/category/update.php b/admin/category/update.php index f5d08f4..c3d9812 100644 --- a/admin/category/update.php +++ b/admin/category/update.php @@ -76,6 +76,7 @@ $FormTemplate->set('FORM', [ ]); $UpdateTemplate = Template\Factory::build('category/update'); +$UpdateTemplate->set('CATEGORY', generateItemTemplateData($Category)); $UpdateTemplate->set('HTML', $FormTemplate); $MainTemplate = Template\Factory::build('main'); diff --git a/admin/page/update.php b/admin/page/update.php index 29abccd..8f6cb0e 100644 --- a/admin/page/update.php +++ b/admin/page/update.php @@ -72,6 +72,7 @@ $FormTemplate->set('FORM', [ ]); $UpdateTemplate = Template\Factory::build('page/update'); +$UpdateTemplate->set('PAGE', generateItemTemplateData($Page)); $UpdateTemplate->set('HTML', $FormTemplate); $MainTemplate = Template\Factory::build('main'); diff --git a/admin/post/update.php b/admin/post/update.php index 788d51f..5241d38 100644 --- a/admin/post/update.php +++ b/admin/post/update.php @@ -87,6 +87,7 @@ $FormTemplate->set('FORM', [ ]); $UpdateTemplate = Template\Factory::build('post/update'); +$UpdateTemplate->set('POST', generateItemTemplateData($Post)); $UpdateTemplate->set('HTML', $FormTemplate); $MainTemplate = Template\Factory::build('main'); diff --git a/admin/user/update.php b/admin/user/update.php index b4a8cf0..edd2bc1 100644 --- a/admin/user/update.php +++ b/admin/user/update.php @@ -61,6 +61,7 @@ $FormTemplate->set('FORM', [ ]); $UpdateTemplate = Template\Factory::build('user/update'); +$UpdateTemplate->set('USER', generateItemTemplateData($User)); $UpdateTemplate->set('HTML', $FormTemplate); $MainTemplate = Template\Factory::build('main'); |