forked from ZwiiCMS-Team/ZwiiCMS
[9.0.01] Supprimer Google+
This commit is contained in:
parent
cf4bd854d8
commit
ceda508a3e
@ -1114,6 +1114,13 @@ class common {
|
||||
$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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -87,15 +87,6 @@
|
||||
'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">
|
||||
<?php echo template::text('configSocialInstagramId', [
|
||||
'help' => 'Saisissez votre ID Instagram : https://www.instagram.com/[CETTE PARTIE].',
|
||||
@ -103,15 +94,16 @@
|
||||
'value' => $this->getData(['config', 'social', 'instagramId'])
|
||||
]); ?>
|
||||
</div>
|
||||
<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'])
|
||||
]); ?>
|
||||
</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'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<?php echo template::text('configSocialTwitterId', [
|
||||
'help' => 'Saisissez votre ID Twitter : https://twitter.com/[CETTE PARTIE].',
|
||||
@ -119,11 +111,13 @@
|
||||
'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>
|
||||
|
Loading…
Reference in New Issue
Block a user