Deltacms/core/module/config/view/restore/restore.php

46 lines
1.3 KiB
PHP
Raw Normal View History

2022-03-06 13:35:21 +01:00
<?php
// Lexique
2022-09-11 09:42:42 +02:00
include('./core/module/config/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_config.php');
echo template::formOpen('configRestoreForm'); ?>
2022-01-31 09:10:49 +01:00
<div class="row">
<div class="col2">
<?php echo template::button('configRestoreBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'config',
'ico' => 'left',
2022-09-11 09:42:42 +02:00
'value' => $text['core_config_view']['restore'][0]
2022-01-31 09:10:49 +01:00
]); ?>
</div>
<div class="col2 offset8">
<?php echo template::submit('configRestoreSubmit',[
2022-09-11 09:42:42 +02:00
'value' => $text['core_config_view']['restore'][1],
2022-01-31 09:10:49 +01:00
'uniqueSubmission' => true,
]); ?>
</div>
</div>
<div class="row">
<div class="col12">
<div class="block">
2022-09-11 09:42:42 +02:00
<h4><?php echo $text['core_config_view']['restore'][2]; ?></h4>
2022-01-31 09:10:49 +01:00
<div class="row">
<div class="col10 offset1">
<div class="row">
<?php echo template::file('configRestoreImportFile', [
2022-09-11 09:42:42 +02:00
'label' => $text['core_config_view']['restore'][3],
2022-01-31 09:10:49 +01:00
'type' => 2,
2022-09-11 09:42:42 +02:00
'help' => $text['core_config_view']['restore'][4]
2022-01-31 09:10:49 +01:00
]); ?>
</div>
<div class="row">
2022-09-11 09:42:42 +02:00
<?php echo template::checkbox('configRestoreImportUser', true, $text['core_config_view']['restore'][5], [
2022-01-31 09:10:49 +01:00
'checked' => true
]); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>