Template helpers refactoring
This commit is contained in:
@@ -21,19 +21,19 @@
|
||||
<ul>
|
||||
<li>
|
||||
<?= t('Database driver:') ?>
|
||||
<strong><?= Helper\escape(DB_DRIVER) ?></strong>
|
||||
<strong><?= $this->e(DB_DRIVER) ?></strong>
|
||||
</li>
|
||||
<?php if (DB_DRIVER === 'sqlite'): ?>
|
||||
<li>
|
||||
<?= t('Database size:') ?>
|
||||
<strong><?= Helper\format_bytes($db_size) ?></strong>
|
||||
<strong><?= $this->formatBytes($db_size) ?></strong>
|
||||
</li>
|
||||
<li>
|
||||
<?= Helper\a(t('Download the database'), 'config', 'downloadDb', array(), true) ?>
|
||||
<?= $this->a(t('Download the database'), 'config', 'downloadDb', array(), true) ?>
|
||||
<?= t('(Gzip compressed Sqlite file)') ?>
|
||||
</li>
|
||||
<li>
|
||||
<?= Helper\a(t('Optimize the database'), 'config', 'optimizeDb', array(), true) ?>
|
||||
<?= $this->a(t('Optimize the database'), 'config', 'optimizeDb', array(), true) ?>
|
||||
<?= t('(VACUUM command)') ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
|
||||
Reference in New Issue
Block a user