Категории услуг и удаление latest из блога

This commit is contained in:
Konstantin
2026-05-30 10:13:44 +03:00
parent e45a057ffa
commit 95ac0ef898
37 changed files with 1959 additions and 827 deletions
+1 -37
View File
@@ -41,12 +41,6 @@ class ControllerBlogSetting extends Controller {
$data['entry_image_related'] = $this->language->get('entry_image_related');
$data['entry_width'] = $this->language->get('entry_width');
$data['entry_height'] = $this->language->get('entry_height');
$data['entry_name'] = $this->language->get('entry_name');
$data['entry_html_h1'] = $this->language->get('entry_html_h1');
$data['entry_meta_title'] = $this->language->get('entry_meta_title');
$data['entry_meta_description'] = $this->language->get('entry_meta_description');
$data['entry_meta_keyword'] = $this->language->get('entry_meta_keyword');
$data['help_comment'] = $this->language->get('help_comment');
$data['help_article_limit'] = $this->language->get('help_article_limit');
$data['help_article_description_length'] = $this->language->get('help_article_description_length');
@@ -222,36 +216,6 @@ class ControllerBlogSetting extends Controller {
$data['configblog_image_related_height'] = $this->config->get('configblog_image_related_height');
}
if (isset($this->request->post['configblog_name'])) {
$data['configblog_name'] = $this->request->post['configblog_name'];
} else {
$data['configblog_name'] = $this->config->get('configblog_name');
}
if (isset($this->request->post['configblog_html_h1'])) {
$data['configblog_html_h1'] = $this->request->post['configblog_html_h1'];
} else {
$data['configblog_html_h1'] = $this->config->get('configblog_html_h1');
}
if (isset($this->request->post['configblog_meta_title'])) {
$data['configblog_meta_title'] = $this->request->post['configblog_meta_title'];
} else {
$data['configblog_meta_title'] = $this->config->get('configblog_meta_title');
}
if (isset($this->request->post['configblog_meta_description'])) {
$data['configblog_meta_description'] = $this->request->post['configblog_meta_description'];
} else {
$data['configblog_meta_description'] = $this->config->get('configblog_meta_description');
}
if (isset($this->request->post['configblog_meta_keyword'])) {
$data['configblog_meta_keyword'] = $this->request->post['configblog_meta_keyword'];
} else {
$data['configblog_meta_keyword'] = $this->config->get('configblog_meta_keyword');
}
$data['header'] = $this->load->controller('common/header');
$data['column_left'] = $this->load->controller('common/column_left');
$data['footer'] = $this->load->controller('common/footer');
@@ -294,4 +258,4 @@ class ControllerBlogSetting extends Controller {
return !$this->error;
}
}
}