summaryrefslogtreecommitdiff
path: root/app/Template/config/upload_db.php
blob: d7aaac862fe9a268225d98d0b46af8000e45c38b (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">
    <p>
        <?= t('You can upload the Gzip compressed Sqlite database previously downloaded.') ?>
    </p>
</div>

<form action="<?= $this->url->href('ConfigController', 'saveUploadedDb') ?>" 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>