Helpers refactoring
This commit is contained in:
@@ -25,14 +25,14 @@
|
||||
<?php if (DB_DRIVER === 'sqlite'): ?>
|
||||
<li>
|
||||
<?= t('Database size:') ?>
|
||||
<strong><?= $this->formatBytes($db_size) ?></strong>
|
||||
<strong><?= $this->text->bytes($db_size) ?></strong>
|
||||
</li>
|
||||
<li>
|
||||
<?= $this->a(t('Download the database'), 'config', 'downloadDb', array(), true) ?>
|
||||
<?= $this->url->link(t('Download the database'), 'config', 'downloadDb', array(), true) ?>
|
||||
<?= t('(Gzip compressed Sqlite file)') ?>
|
||||
</li>
|
||||
<li>
|
||||
<?= $this->a(t('Optimize the database'), 'config', 'optimizeDb', array(), true) ?>
|
||||
<?= $this->url->link(t('Optimize the database'), 'config', 'optimizeDb', array(), true) ?>
|
||||
<?= t('(VACUUM command)') ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
|
||||
Reference in New Issue
Block a user