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-12-20 15:24:52 +01:00
|
|
|
<div class="col1 offset8 translateButtonCopyContent">
|
2022-09-30 11:08:06 +02:00
|
|
|
<?php echo template::button('translateButtonCopyContent', [
|
|
|
|
'href' => helper::baseUrl() . 'translate/copy',
|
|
|
|
'value' => template::ico('docs'),
|
|
|
|
'disabled' => $module::$siteCopy,
|
2022-10-14 19:18:48 +02:00
|
|
|
'help' => 'Copie de contenus localisés'
|
2022-09-30 11:08:06 +02:00
|
|
|
]); ?>
|
2022-12-18 11:34:06 +01:00
|
|
|
</div>
|
2022-12-20 15:24:52 +01:00
|
|
|
<div class="col1 translateButtonAddContent">
|
2022-12-18 11:34:06 +01:00
|
|
|
<?php echo template::button('translateButtonAddContent', [
|
|
|
|
'href' => helper::baseUrl() . 'translate/add',
|
|
|
|
'value' => template::ico('plus'),
|
|
|
|
'class' => 'buttonGreen',
|
|
|
|
'help' => 'Nouveau contenu localisé'
|
|
|
|
]); ?>
|
2022-09-30 11:08:06 +02:00
|
|
|
</div>
|
2022-12-20 15:24:52 +01:00
|
|
|
<div class="col1 offset9 translateButtonUpdateContent">
|
|
|
|
<?php echo template::button('translateButtonUpdateContent', [
|
|
|
|
'href' => helper::baseUrl() . 'translate/update',
|
|
|
|
'value' => template::ico('update'),
|
|
|
|
'help' => 'Mise à jour des langues de l\'interface'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="tab">
|
2022-12-18 11:34:06 +01:00
|
|
|
<?php echo template::button('translateContentButton', [
|
2022-11-24 09:03:29 +01:00
|
|
|
'value' => 'Site',
|
2022-09-29 08:45:59 +02:00
|
|
|
'class' => 'buttonTab'
|
|
|
|
]); ?>
|
2022-10-14 19:18:48 +02:00
|
|
|
<?php echo template::button('translateUiButton', [
|
2022-11-24 09:03:29 +01:00
|
|
|
'value' => 'Interface',
|
2022-09-29 08:45:59 +02:00
|
|
|
'class' => 'buttonTab'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="uiContainer" class="tabContent">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2022-10-14 19:18:48 +02:00
|
|
|
<?php if ($module::$languagesUiInstalled) : ?>
|
2022-10-20 20:29:00 +02:00
|
|
|
<?php echo template::table([3, 1, 1, 6, 1], $module::$languagesUiInstalled, ['Langues', '', '', '', '']); ?>
|
2022-10-14 19:18:48 +02:00
|
|
|
<?php endif; ?>
|
2022-09-19 19:08:59 +02:00
|
|
|
</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) : ?>
|
2022-10-26 15:53:26 +02:00
|
|
|
<?php echo template::table([1, 3, 6, 1, 1], $module::$languagesInstalled, ['Langues', '', '', '', '']); ?>
|
2022-09-29 08:45:59 +02:00
|
|
|
<?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(); ?>
|