Browse Source

[9.0.01] Supprimer Google+

pull/5/head
fredtempez 3 years ago
parent
commit
ceda508a3e
  1. 7
      core/core.php
  2. 36
      core/module/config/view/index/index.php

7
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();
}
}
}

36
core/module/config/view/index/index.php

@ -87,31 +87,23 @@
'value' => $this->getData(['config', 'social', 'facebookId'])
]); ?>
</div>
<div class="col6">
<?php echo template::text('configSocialGoogleplusId', [
'help' => 'Saisissez votre ID Google+ : https://plus.google.com/[CETTE PARTIE].',
'label' => 'Google+',
'value' => $this->getData(['config', 'social', 'googleplusId'])
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<div class="col6">
<?php echo template::text('configSocialInstagramId', [
'help' => 'Saisissez votre ID Instagram : https://www.instagram.com/[CETTE PARTIE].',
'label' => 'Instagram',
'value' => $this->getData(['config', 'social', 'instagramId'])
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::text('configSocialPinterestId', [
'help' => 'Saisissez votre ID Pinterest : https://pinterest.com/[CETTE PARTIE].',
'label' => 'Pinterest',
'value' => $this->getData(['config', 'social', 'pinterestId'])
<?php echo template::text('configSocialYoutubeId', [
'help' => 'Saisissez votre ID Youtube : https://www.youtube.com/channel/[CETTE PARTIE].',
'label' => 'Youtube',
'value' => $this->getData(['config', 'social', 'youtubeId'])
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::text('configSocialTwitterId', [
'help' => 'Saisissez votre ID Twitter : https://twitter.com/[CETTE PARTIE].',
@ -119,13 +111,15 @@
'value' => $this->getData(['config', 'social', 'twitterId'])
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
<?php echo template::text('configSocialYoutubeId', [
'help' => 'Saisissez votre ID Youtube : https://www.youtube.com/channel/[CETTE PARTIE].',
'label' => 'Youtube',
'value' => $this->getData(['config', 'social', 'youtubeId'])
<?php echo template::text('configSocialPinterestId', [
'help' => 'Saisissez votre ID Pinterest : https://pinterest.com/[CETTE PARTIE].',
'label' => 'Pinterest',
'value' => $this->getData(['config', 'social', 'pinterestId'])
]); ?>
</div>
</div>
</div>
</div>
<div class="block">

Loading…
Cancel
Save