summaryrefslogtreecommitdiff
path: root/app/Template/config/upload_db.php
blob: 4d02c9a83bfa66435973b1ae29a9fffd7fd0cf07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="page-header">
    <h2><?= t('Upload the Sqlite database') ?></h2>
</div>

<div class="alert">
    <ul>
        <li><?= t('You can upload Gzip compressed Sqlite database you previously downloaded') ?></li>
    </ul>
</div>

<form action="<?= $this->url->href('ConfigController', 'uploadDbSave') ?>" method="post" enctype="multipart/form-data">
    <?= $this->form->csrf() ?>

    <?= $this->form->label(t('Database file'), 'file') ?>
    <?= $this->form->file('file') ?>

    <?= $this->modal->submitButtons(array('submitLabel' => t('Upload'))) ?>
</form>