2020-11-11 19:48:07 +01:00
|
|
|
<?php echo template::formOpen('translateForm'); ?>
|
|
|
|
<div class="row">
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col1">
|
2020-11-11 19:48:07 +01:00
|
|
|
<?php echo template::button('translateFormBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2020-11-14 14:52:18 +01:00
|
|
|
'href' => helper::baseUrl(),
|
2022-02-18 12:43:48 +01:00
|
|
|
'value' => template::ico('left')
|
2020-11-11 19:48:07 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col1">
|
2021-11-04 19:12:27 +01:00
|
|
|
<?php echo template::button('translateHelp', [
|
2021-11-04 18:59:53 +01:00
|
|
|
'href' => 'https://doc.zwiicms.fr/prise-en-charge-des-langues-etrangeres',
|
|
|
|
'target' => '_blank',
|
2022-02-18 12:43:48 +01:00
|
|
|
'value' => template::ico('help'),
|
|
|
|
'class' => 'buttonHelp',
|
|
|
|
'help' => 'Consulter l\'aide en ligne'
|
2021-06-04 14:21:23 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col1 offset7">
|
2021-10-30 12:48:29 +02:00
|
|
|
<?php echo template::button('translateButton', [
|
2021-06-04 13:57:44 +02:00
|
|
|
'href' => helper::baseUrl() . 'translate/copy',
|
2022-02-18 12:43:48 +01:00
|
|
|
'value' => template::ico('docs'),
|
|
|
|
'disabled' => $module::$siteTranslate,
|
|
|
|
'help' => 'Copie de sites inter-langues'
|
2021-06-04 13:57:44 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2020-11-11 19:48:07 +01:00
|
|
|
<?php echo template::submit('translateFormSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-04 13:57:44 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block" id="flagsWrapper">
|
|
|
|
<h4>Mode de traduction et affichage des drapeaux</h4>
|
|
|
|
<div class="row">
|
2021-10-03 17:26:05 +02:00
|
|
|
<div class="col3">
|
2021-06-04 13:57:44 +02:00
|
|
|
<?php echo template::select('translateFR', ['none'=>'Drapeau masqué','site'=>'Drapeau affiché'], [
|
2021-10-03 17:26:05 +02:00
|
|
|
'label' => template::flag('', '30px'),
|
|
|
|
'selected' => $this->getData(['config', 'i18n' , 'fr']),
|
2021-06-04 13:57:44 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2021-10-03 17:26:05 +02:00
|
|
|
<div class="col3">
|
|
|
|
<div class="col12">
|
2021-06-04 13:57:44 +02:00
|
|
|
<?php echo template::select('translateDE', $module::$translateOptions['de'], [
|
2021-10-03 17:26:05 +02:00
|
|
|
'label' => template::flag('de', '30px'),
|
2021-06-04 13:57:44 +02:00
|
|
|
'class' => 'translateFlagSelect',
|
|
|
|
'selected' => $this->getData(['config', 'i18n' , 'de'])
|
2020-11-25 14:04:04 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2021-10-03 17:26:05 +02:00
|
|
|
<div class="col12">
|
2021-06-04 13:57:44 +02:00
|
|
|
<?php echo template::select('translateEN', $module::$translateOptions['en'], [
|
2021-10-03 17:26:05 +02:00
|
|
|
'label' => template::flag('en', '30px'),
|
2021-06-04 13:57:44 +02:00
|
|
|
'class' => 'translateFlagSelect',
|
|
|
|
'selected' => $this->getData(['config', 'i18n' , 'en'])
|
2020-11-25 14:04:04 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2021-10-03 17:26:05 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<div class="col12">
|
2021-06-04 13:57:44 +02:00
|
|
|
<?php echo template::select('translateES', $module::$translateOptions['es'], [
|
2021-10-03 17:26:05 +02:00
|
|
|
'label' => template::flag('es', '30px'),
|
2021-06-04 13:57:44 +02:00
|
|
|
'class' => 'translateFlagSelect',
|
|
|
|
'selected' => $this->getData(['config', 'i18n' , 'es'])
|
2021-05-20 21:52:09 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2021-10-03 17:26:05 +02:00
|
|
|
<div class="col12">
|
2021-06-04 13:57:44 +02:00
|
|
|
<?php echo template::select('translateIT', $module::$translateOptions['it'], [
|
2021-10-03 17:26:05 +02:00
|
|
|
'label' => template::flag('it', '30px'),
|
2021-06-04 13:57:44 +02:00
|
|
|
'class' => 'translateFlagSelect',
|
|
|
|
'selected' => $this->getData(['config', 'i18n' , 'it'])
|
2020-11-25 14:04:04 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2021-10-03 17:26:05 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<div class="col12">
|
2021-06-04 13:57:44 +02:00
|
|
|
<?php echo template::select('translateNL', $module::$translateOptions['nl'], [
|
2021-10-03 17:26:05 +02:00
|
|
|
'label' => template::flag('nl', '30px'),
|
2021-06-04 13:57:44 +02:00
|
|
|
'class' => 'translateFlagSelect',
|
|
|
|
'selected' => $this->getData(['config', 'i18n' , 'nl'])
|
2020-11-25 14:04:04 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2021-10-03 17:26:05 +02:00
|
|
|
<div class="col12">
|
2021-06-04 13:57:44 +02:00
|
|
|
<?php echo template::select('translatePT', $module::$translateOptions['pt'], [
|
2021-10-03 17:26:05 +02:00
|
|
|
'label' => template::flag('pt', '30px'),
|
2021-06-04 13:57:44 +02:00
|
|
|
'class' => 'translateFlagSelect',
|
|
|
|
'selected' => $this->getData(['config', 'i18n' , 'pt'])
|
2020-11-24 19:00:23 +01:00
|
|
|
]); ?>
|
2020-11-25 14:04:04 +01:00
|
|
|
</div>
|
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>
|
2021-06-17 11:34:22 +02:00
|
|
|
<?php echo template::formClose(); ?>
|