2020-11-11 19:48:07 +01:00
|
|
|
<?php echo template::formOpen('translateForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('translateFormBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2020-11-14 14:52:18 +01:00
|
|
|
'href' => helper::baseUrl(),
|
2020-11-11 19:48:07 +01:00
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset8">
|
|
|
|
<?php echo template::submit('translateFormSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2020-11-24 19:00:23 +01:00
|
|
|
<h4>Traduction automatique (Google Translate)</h4>
|
2020-11-11 19:48:07 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
2020-11-24 19:00:23 +01:00
|
|
|
<?php echo template::checkbox('translateScriptGoogle', true, 'Active le script de traduction automatique', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'scriptGoogle'])
|
2020-11-11 19:48:07 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-11-22 13:32:20 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2020-11-24 19:00:23 +01:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('translateAutoDetect', true, 'Détection automatique', [
|
2020-11-24 09:19:26 +01:00
|
|
|
'checked' => $this->getData(['config','translate', 'autoDetect']),
|
2020-11-24 19:00:23 +01:00
|
|
|
'help' => 'Détecte la langue du navigateur.'
|
2020-11-22 13:32:20 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-11-24 19:00:23 +01:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('translateFlagScriptFR', true, 'Français', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'scriptFR'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('translateFlagScriptDE', true, 'Allemand', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'scriptDE'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('translateFlagScriptEN', true, 'Anglais', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'scriptEN'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('translateFlagScriptES', true, 'Espagnol', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'scriptES'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('translateFlagScriptIT', true, 'Italien', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'scriptIT'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('translateFlagScriptNL', true, 'Néerlandais', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'scriptNL'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('translateFlagScriptPT', true, 'Portugais', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'scriptPT'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
2020-11-24 15:29:47 +01:00
|
|
|
<?php echo template::checkbox('translateAdmin', true, 'Mode connexion', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'admin']),
|
|
|
|
'help' => 'Traduction automatique du site et de l\'interface du CMS'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-11-24 19:00:23 +01:00
|
|
|
<div class="col6">
|
2020-11-22 13:32:20 +01:00
|
|
|
<?php echo template::checkbox('translateCredits', true, 'Afficher les crédits du script Google', [
|
2020-11-24 09:19:26 +01:00
|
|
|
'checked' => $this->getData(['config','translate', 'showCredits']),
|
2020-11-22 13:32:20 +01:00
|
|
|
'help' => 'Option vivement recommandée pour le respect du droit d\'auteur'
|
|
|
|
]); ?>
|
2020-11-11 19:48:07 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-24 19:00:23 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Traduction rédigée</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('translateSite', true, 'Active la traduction manuelle', [
|
|
|
|
'checked' => $this->getData(['config','translate', 'site'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<b>Sélectionnez les langues à activer :</b>
|
2020-11-24 13:44:31 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2020-11-24 19:00:23 +01:00
|
|
|
<?php echo template::checkbox('translateFlagSiteFR', true, 'Français', [
|
|
|
|
'checked' => true,
|
|
|
|
'disabled' => true
|
2020-11-24 13:44:31 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2020-11-24 19:00:23 +01:00
|
|
|
<?php echo template::checkbox('translateFlagSiteDE', true, 'Allemand', [
|
|
|
|
'checked' => $this->getData(['config', 'translate', 'siteDE'])
|
2020-11-24 13:44:31 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2020-11-24 19:00:23 +01:00
|
|
|
<?php echo template::checkbox('translateFlagSiteEN', true, 'Anglais', [
|
|
|
|
'checked' => $this->getData(['config', 'translate', 'siteEN'])
|
2020-11-24 13:44:31 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2020-11-24 19:00:23 +01:00
|
|
|
<?php echo template::checkbox('translateFlagSiteES', true, 'Espagnol', [
|
|
|
|
'checked' => $this->getData(['config', 'translate', 'siteES'])
|
|
|
|
]); ?>
|
2020-11-24 13:44:31 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2020-11-24 19:00:23 +01:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('translateFlagSiteIT', true, 'Italien', [
|
|
|
|
'checked' => $this->getData(['config', 'translate', 'siteIT'])
|
2020-11-24 13:44:31 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-11-24 19:00:23 +01:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('translateFlagSiteNL', true, 'Néerlandais', [
|
|
|
|
'checked' => $this->getData(['config', 'translate', 'siteNL'])
|
2020-11-24 13:44:31 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-11-24 19:00:23 +01:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('translateFlagSitePT', true, 'Portugais', [
|
|
|
|
'checked' => $this->getData(['config', 'translate', 'sitePT'])
|
2020-11-24 13:44:31 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-22 13:32:20 +01:00
|
|
|
</div>
|
2020-11-11 19:48:07 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|