diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 20:26:21 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 20:26:21 -0500 |
commit | 11b6381cc0f0583a11287202463d20a0ac1ebf00 (patch) | |
tree | c973b6686467272ae56914f5e143d09de476d084 /app/Template/config/about.php | |
parent | b84edaaf13ba854290099b0df452f61e9b595a17 (diff) |
Move and clean some templates to a subfolder
Diffstat (limited to 'app/Template/config/about.php')
-rw-r--r-- | app/Template/config/about.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app/Template/config/about.php b/app/Template/config/about.php new file mode 100644 index 00000000..3f34f802 --- /dev/null +++ b/app/Template/config/about.php @@ -0,0 +1,41 @@ +<div class="page-header"> + <h2><?= t('About') ?></h2> +</div> +<section class="listing"> + <ul> + <li> + <?= t('Official website:') ?> + <a href="http://kanboard.net/" target="_blank" rel="noreferer">http://kanboard.net/</a> + </li> + <li> + <?= t('Application version:') ?> + <strong><?= APP_VERSION ?></strong> + </li> + </ul> +</section> + +<div class="page-header"> + <h2><?= t('Database') ?></h2> +</div> +<section class="listing"> + <ul> + <li> + <?= t('Database driver:') ?> + <strong><?= Helper\escape(DB_DRIVER) ?></strong> + </li> + <?php if (DB_DRIVER === 'sqlite'): ?> + <li> + <?= t('Database size:') ?> + <strong><?= Helper\format_bytes($db_size) ?></strong> + </li> + <li> + <?= Helper\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) ?> + <?= t('(VACUUM command)') ?> + </li> + <?php endif ?> + </ul> +</section>
\ No newline at end of file |