[10.0.96.dev] ajustements

This commit is contained in:
fredtempez 2019-11-14 17:46:55 +01:00
parent 4627d726f4
commit c46e8b74de
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@
"position": 1,
"group": 0,
"targetBlank": false,
"title": "Home",
"title": "Home Page",
"block": "12",
"barLeft": "",
"barRight": "",

View File

@ -18,12 +18,14 @@
<h4>Ajouter une langue&nbsp;<a href="./core/module/i18n/ressource/help.html" data-lity data-tippy-content="Aide en ligne"<?php echo template::ico('help'); ?></a></h4>
<div class="row">
<div class="col6">
<div class="row">
<?php
$available = array ('' => 'Sélectionner');
$available = array_merge ($available, array_diff(self::$i18nList,$this->i18nInstalled()));
echo template::select('i18nLanguageAdd', $available, [
'label' => 'Nouvelle langue'
]); ?>
</div>
<div class="row">
<?php echo template::checkbox('i18AutoTranslation', true, 'Traduction automatique par Google'); ?>
</div>