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

32 lines
1.1 KiB
PHP
Raw Normal View History

<?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 $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(); ?>