kb / app /Template /config /upload_db.php
Xv Zan
ULFS
e4f4821
raw
history blame
530 Bytes
<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>