From 5ff0cfd3d18171d668f734cf088910343d4f9348 Mon Sep 17 00:00:00 2001 From: Fred <23246457+fredtempez@users.noreply.github.com> Date: Thu, 15 Nov 2018 11:32:59 +0100 Subject: [PATCH] V8.4.4 : correction update footer positions --- core/core.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index 6f367cbd..cb65bdd9 100644 --- a/core/core.php +++ b/core/core.php @@ -317,9 +317,9 @@ class common { 'text' => '', 'textAlign' => 'center', 'textColor' => 'rgba(33, 34, 35, 1)', - 'copyrightPosition' => '3', - 'textPosition' => '2', - 'socialsPosition' => '1' + 'copyrightPosition' => 'center', + 'textPosition' => 'center', + 'socialsPosition' => 'center' ], 'header' => [ 'backgroundColor' => 'rgba(255, 255, 255, 1)', @@ -908,6 +908,15 @@ class common { $this->setData(['core', 'dataVersion', 840]); $this->SaveData(); } + // Version 8.4.4 + if($this->getData(['core', 'dataVersion']) < 844) { + $this->setData(['theme','footer','socialsPosition','center']); + $this->setData(['theme','footer','textPosition','center']); + $this->setData(['theme','footer','copyrightPosition','center']); + $this->setData(['core', 'dataVersion', 844]); + $this->SaveData(); + } + }