forked from ZwiiCMS-Team/ZwiiCMS
Option du français
This commit is contained in:
parent
6c4aa26608
commit
bafd6addbf
@ -71,7 +71,7 @@ class translate extends common {
|
||||
'showCredits' => $this->getInput('translateCredits', helper::FILTER_BOOLEAN) ? $this->getInput('translateCredits', helper::FILTER_BOOLEAN) : false,
|
||||
'autoDetect' => $this->getInput('translateAutoDetect', helper::FILTER_BOOLEAN),
|
||||
'admin' => $this->getInput('translateAdmin', helper::FILTER_BOOLEAN),
|
||||
'fr' => 'site',
|
||||
'fr' => $this->getInput('translateFR'),
|
||||
'de' => $this->getInput('translateDE'),
|
||||
'en' => $this->getInput('translateEN'),
|
||||
'es' => $this->getInput('translateES'),
|
||||
|
@ -49,6 +49,14 @@
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Drapeaux des langues supportées</h4>
|
||||
<div class="row">
|
||||
<div class="col4 offset4">
|
||||
<?php echo template::select('translateFR', ['non'=>'Masqué','site'=>'Affiché'], [
|
||||
'label' => 'Français',
|
||||
'selected' => $this->getData(['config', 'translate' , 'fr'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<div class="col8 offset2">
|
||||
|
Loading…
Reference in New Issue
Block a user