From 42062344a1c3e1507dcd10314ac6c664a3d08bc7 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sun, 31 May 2026 11:22:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D0=BA=D1=81=D1=82=D0=BE=D0=B2?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=BB=D0=BE=D0=B3=D0=BE=D1=82=D0=B8=D0=BF=20?= =?UTF-8?q?=D0=B2=20=D0=BF=D0=BE=D0=B4=D0=B2=D0=B0=D0=BB=D0=B5=20=D1=81?= =?UTF-8?q?=D0=B0=D0=B9=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/store/controller/common/footer.php | 14 ++++++++++++++ .../view/theme/dominik/template/common/footer.twig | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/public/store/controller/common/footer.php b/public/store/controller/common/footer.php index bca65a4..f2326b2 100644 --- a/public/store/controller/common/footer.php +++ b/public/store/controller/common/footer.php @@ -61,6 +61,20 @@ foreach(['name','email','telephone','address','open', 'comment'] as $item){ $data['config_' . $item] = $this->config->get('config_' . $item); } + $data['logo_text'] = $this->config->get('config_logo_text'); + + if ($this->request->server['HTTPS']) { + $server = $this->config->get('config_ssl'); + } else { + $server = $this->config->get('config_url'); + } + + if (is_file(DIR_IMAGE . $this->config->get('config_logo'))) { + $data['logo'] = $server . 'image/' . $this->config->get('config_logo'); + } else { + $data['logo'] = ''; + } + $this->load->model('localisation/zone'); foreach ($this->model_localisation_zone->getContacts() as $field => $value) { diff --git a/public/store/view/theme/dominik/template/common/footer.twig b/public/store/view/theme/dominik/template/common/footer.twig index 0f48f9a..a6f54f1 100644 --- a/public/store/view/theme/dominik/template/common/footer.twig +++ b/public/store/view/theme/dominik/template/common/footer.twig @@ -3,7 +3,7 @@
- +
{{ config_comment|nl2br }}