summaryrefslogtreecommitdiff
path: root/app/Template/config/upload_db.php
blob: b247cf751e85aa22f62d63580b4b2c41b769a08a (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 database') ?></h2>
</div>

<div class="alert">
    <p>
        <?= t('You could upload the previously downloaded Sqlite database (Gzip format).') ?>
    </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>