ZwiiCMS/core/module/translate/view/ui/ui.php

35 lines
1.2 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">
<h4>
<?php echo helper::translate('Interface'); ?>
</h4>
<div class="row">
<?php foreach ($module::$languagesUiInstalled as $key => $value) : ?>
<div class="col6">
<?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(); ?>