2020-11-11 19:48:07 +01:00
|
|
|
<?php echo template::formOpen('translateForm'); ?>
|
2022-09-29 08:45:59 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('translateFormBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl(),
|
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1">
|
|
|
|
<?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'
|
2022-09-28 14:18:05 +02:00
|
|
|
]);*/ ?>
|
2020-11-11 19:48:07 +01:00
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
<div class="col1 offset6">
|
|
|
|
<?php echo template::button('translateButton', [
|
|
|
|
'href' => helper::baseUrl() . 'translate/copy',
|
|
|
|
'value' => template::ico('docs'),
|
|
|
|
'disabled' => $module::$siteCopy,
|
|
|
|
'help' => 'Copie de sites inter-langues'
|
2022-09-19 14:56:30 +02:00
|
|
|
]); ?>
|
2022-09-29 08:45:59 +02:00
|
|
|
</div>
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('translateButton', [
|
|
|
|
'href' => helper::baseUrl() . 'translate/add',
|
|
|
|
'value' => template::ico('plus'),
|
|
|
|
'class' => 'buttonGreen',
|
|
|
|
'help' => 'Ajouter une langue de contenu'
|
2022-09-19 14:56:30 +02:00
|
|
|
]); ?>
|
2022-08-29 22:04:57 +02:00
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::submit('translateFormSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="tab">
|
|
|
|
<?php echo template::button('translateUiButton', [
|
|
|
|
'value' => 'Langue de l\'interface',
|
|
|
|
'class' => 'buttonTab'
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::button('translateContentButton', [
|
|
|
|
'value' => 'Langues du contenu',
|
|
|
|
'class' => 'buttonTab'
|
|
|
|
]); ?>
|
2022-09-19 14:56:30 +02:00
|
|
|
|
2022-09-29 08:45:59 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="uiContainer" class="tabContent">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo template::topic('Langue de l\'administration'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4 offset4">
|
|
|
|
<?php echo template::select('translateUI', $module::$i18nFiles, [
|
|
|
|
'label' => 'Traductions installées',
|
|
|
|
'selected' => $this->getData(['config', 'i18n', 'interface']),
|
|
|
|
]); ?>
|
2022-09-19 19:08:59 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
</div>
|
|
|
|
<div id="contentContainer" class="tabContent">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php if ($module::$languagesInstalled) : ?>
|
|
|
|
<?php echo template::table([1, 3, 2, 4, 1, 1], $module::$languagesInstalled, ['Langue', '', '', '', '', '']); ?>
|
|
|
|
<?php endif; ?>
|
2022-09-26 16:30:40 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
</div>
|
2022-09-19 19:08:59 +02:00
|
|
|
|
2022-09-29 08:45:59 +02:00
|
|
|
<?php echo template::formClose(); ?>
|