summaryrefslogtreecommitdiff
path: root/app/Template/config/upload_db.php
blob: efc8eb28bb652e9e1ebe7c3a4d1f3b87454b84c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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', [], true) ?>" method="post" enctype="multipart/form-data">
    <?= $this->form->label(t('Database file'), 'file') ?>
    <?= $this->form->file('file') ?>

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