2022-12-28 16:20:55 +01:00
|
|
|
<?php echo template::formOpen('translateUIForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('translateUIFormBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2023-07-23 21:41:24 +02:00
|
|
|
'href' => helper::baseUrl() . 'language',
|
2022-12-28 16:20:55 +01:00
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset9">
|
|
|
|
<?php echo template::submit('translateUIFormSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Paramètres'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('translateEditVersion', [
|
|
|
|
'label' => 'Version n°',
|
2023-03-01 15:50:41 +01:00
|
|
|
'value' => $this->getData(['language', $this->getUrl(2), 'version'])
|
2022-12-28 16:20:55 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::date('translateEditDate', [
|
|
|
|
'label' => 'Date de publication',
|
2023-02-17 10:59:25 +01:00
|
|
|
'type' => 'datetime-local',
|
2023-03-01 15:50:41 +01:00
|
|
|
'value' => $this->getData(['language', $this->getUrl(2), 'date'])
|
2022-12-28 16:20:55 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<div class="row">
|
|
|
|
<?php foreach ($module::$dialogues as $key => $value) : ?>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo sprintf('%g -', $key); ?>
|
|
|
|
<?php echo $value['source']; ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('translateString' . $key, [
|
|
|
|
'label' => '',
|
|
|
|
'value' => $value['target']
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</div>
|
|
|
|
<?php echo $module::$pages; ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|