forked from ZwiiCMS-Team/ZwiiCMS
33 lines
1.3 KiB
PHP
33 lines
1.3 KiB
PHP
<?php echo template::formOpen('translateUIForm'); ?>
|
|
<div class="row">
|
|
<div class="col1">
|
|
<?php echo template::button('translateUIFormBack', [
|
|
'class' => 'buttonGrey',
|
|
'href' => helper::baseUrl() . 'translate',
|
|
'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">
|
|
<div class="row">
|
|
<?php foreach ($module::$languagesUiInstalled as $key => $value) : ?>
|
|
<div class="col6">
|
|
<?php echo sprintf('%g -', array_search($key, array_keys($module::$languagesUiInstalled))); ?>
|
|
<?php echo $key; ?>
|
|
</div>
|
|
<div class="col6">
|
|
<?php echo template::text('translateString' . array_search($key ,array_keys($module::$languagesUiInstalled)), [
|
|
'label' => '',
|
|
'value' => $value
|
|
]); ?>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php echo template::formClose(); ?>
|