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>
|
2022-08-29 22:04:57 +02:00
|
|
|
|
2022-09-19 14:56:30 +02:00
|
|
|
<div class="tab">
|
2022-09-19 19:08:59 +02:00
|
|
|
<?php echo template::button('translateUiButton', [
|
2022-09-24 18:06:32 +02:00
|
|
|
'value' => 'Langue de l\'interface',
|
2022-09-19 14:56:30 +02:00
|
|
|
'class' => 'buttonTab'
|
|
|
|
]); ?>
|
2022-09-19 19:08:59 +02:00
|
|
|
<?php echo template::button('translateContentButton', [
|
2022-09-24 18:06:32 +02:00
|
|
|
'value' => 'Langues du contenu',
|
2022-09-19 14:56:30 +02:00
|
|
|
'class' => 'buttonTab'
|
|
|
|
]); ?>
|
|
|
|
|
2022-08-29 22:04:57 +02:00
|
|
|
</div>
|
2022-09-19 14:56:30 +02:00
|
|
|
|
2022-09-19 19:08:59 +02:00
|
|
|
<div id="uiContainer" class="tabContent">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block" id="flagsWrapper">
|
|
|
|
<h4>
|
2022-09-21 16:02:06 +02:00
|
|
|
<?php echo template::topic('Langue de l\'administration'); ?>
|
2022-09-19 19:08:59 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4 offset4">
|
2022-09-21 15:09:13 +02:00
|
|
|
<?php echo template::select('translateUI', $module::$i18nFiles, [
|
2022-09-19 19:08:59 +02:00
|
|
|
'label' => 'Traductions installées',
|
2022-09-20 11:35:55 +02:00
|
|
|
'selected' => $this->getData(['config', 'i18n' , 'interface']),
|
2022-09-19 19:08:59 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="contentContainer" class="tabContent">
|
2022-09-26 14:54:15 +02:00
|
|
|
<?php if($module::$languagesInstalled): ?>
|
|
|
|
<?php echo template::table([10, 1, 1], $module::$languagesInstalled, ['Langue', '', '']); ?>
|
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucune news.'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
2022-09-19 19:08:59 +02:00
|
|
|
|
2021-06-17 11:34:22 +02:00
|
|
|
<?php echo template::formClose(); ?>
|