forked from ZwiiCMS-Team/ZwiiCMS
Activation i18n ok
This commit is contained in:
parent
92cbc0b6d4
commit
af6e4beb32
@ -482,7 +482,18 @@ class config extends common {
|
||||
'autoDisconnect' => $this->getInput('connectAutoDisconnect',helper::FILTER_BOOLEAN),
|
||||
],
|
||||
'i18n' => [
|
||||
'enable' => $this->getData(['config', 'i18n', 'enable'])
|
||||
'enable' => $this->getInput('localei18n',helper::FILTER_BOOLEAN),
|
||||
'scriptGoogle' => $this->getData(['config', 'i18n', 'scriptGoogle']),
|
||||
'showCredits' => $this->getData(['config', 'i18n', 'showCredits']),
|
||||
'autoDetect' => $this->getData(['config', 'i18n', 'autoDetect']),
|
||||
'admin' => $this->getData(['config', 'i18n', 'admin']),
|
||||
'fr' => $this->getData(['config', 'i18n', 'fr']),
|
||||
'de' => $this->getData(['config', 'i18n', 'de']),
|
||||
'en' => $this->getData(['config', 'i18n', 'en']),
|
||||
'es' => $this->getData(['config', 'i18n', 'es']),
|
||||
'it' => $this->getData(['config', 'i18n', 'it']),
|
||||
'nl' => $this->getData(['config', 'i18n', 'nl']),
|
||||
'pt' => $this->getData(['config', 'i18n', 'pt'])
|
||||
]
|
||||
]
|
||||
]);
|
||||
|
@ -5,7 +5,7 @@
|
||||
<h4>Langues étrangères</h4>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<?php echo template::checkbox('localeI18n', true, 'Activer la gestion des langues étrangères', [
|
||||
<?php echo template::checkbox('localei18n', true, 'Activer la gestion des langues étrangères', [
|
||||
'checked' => $this->getData(['config', 'i18n', 'enable']),
|
||||
'help'=> 'Une nouvelle icône apparaîtra dans la barre d\'administration. Consultez l\'aide de la page concernée pour en apprendre plus.'
|
||||
]); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user