From ceda508a3e8602f7495834671f0c3540e035a4dc Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 5 Mar 2019 09:46:34 +0100 Subject: [PATCH] [9.0.01] Supprimer Google+ --- core/core.php | 7 +++++ core/module/config/view/index/index.php | 42 +++++++++++-------------- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/core/core.php b/core/core.php index b7caedfe..b86ee86b 100644 --- a/core/core.php +++ b/core/core.php @@ -1113,7 +1113,14 @@ class common { $this->setData(['theme', 'menu','fixed',false]); $this->setData(['core', 'dataVersion', 9000]); $this->SaveData(); + } + // Version 9.0.01 + if($this->getData(['core', 'dataVersion']) < 9000) { + $this->deleteData(['config', 'social', 'googleplusId']); + $this->setData(['core', 'dataVersion', 9001]); + $this->SaveData(); } + } } diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index 1f084ef5..d7e0edb3 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -87,38 +87,16 @@ 'value' => $this->getData(['config', 'social', 'facebookId']) ]); ?> -
- 'Saisissez votre ID Google+ : https://plus.google.com/[CETTE PARTIE].', - 'label' => 'Google+', - 'value' => $this->getData(['config', 'social', 'googleplusId']) - ]); ?> -
- -
-
+
'Saisissez votre ID Instagram : https://www.instagram.com/[CETTE PARTIE].', 'label' => 'Instagram', 'value' => $this->getData(['config', 'social', 'instagramId']) ]); ?>
-
- 'Saisissez votre ID Pinterest : https://pinterest.com/[CETTE PARTIE].', - 'label' => 'Pinterest', - 'value' => $this->getData(['config', 'social', 'pinterestId']) - ]); ?> -
-
- 'Saisissez votre ID Twitter : https://twitter.com/[CETTE PARTIE].', - 'label' => 'Twitter', - 'value' => $this->getData(['config', 'social', 'twitterId']) - ]); ?> -
+
'Saisissez votre ID Youtube : https://www.youtube.com/channel/[CETTE PARTIE].', @@ -126,6 +104,22 @@ 'value' => $this->getData(['config', 'social', 'youtubeId']) ]); ?>
+
+ 'Saisissez votre ID Twitter : https://twitter.com/[CETTE PARTIE].', + 'label' => 'Twitter', + 'value' => $this->getData(['config', 'social', 'twitterId']) + ]); ?> +
+
+
+
+ 'Saisissez votre ID Pinterest : https://pinterest.com/[CETTE PARTIE].', + 'label' => 'Pinterest', + 'value' => $this->getData(['config', 'social', 'pinterestId']) + ]); ?> +