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

47 lines
1.3 KiB
PHP
Raw Normal View History

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">
<?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>
<div class="tab">
<?php echo template::button('translateFormUIButton', [
'value' => 'UI',
'class' => 'buttonTab'
]); ?>
<?php echo template::button('translateFormContentButton', [
'value' => 'Contenu',
'class' => 'buttonTab'
]); ?>
</div>
<?php include ('core/module/translate/view/ui/ui.php') ?>
<?php include ('core/module/translate/view/content/content.php') ?>
<?php echo template::formClose(); ?>