2013-02-17 21:48:21 -05:00
|
|
|
<div class="page-header">
|
2013-04-12 21:08:55 -04:00
|
|
|
<h2><?= t('Preferences') ?></h2>
|
2013-02-17 21:48:21 -05:00
|
|
|
</div>
|
2013-03-26 21:54:26 -04:00
|
|
|
<section>
|
2013-03-24 10:33:20 -04:00
|
|
|
<form method="post" action="?action=config" autocomplete="off">
|
2013-02-17 21:48:21 -05:00
|
|
|
|
2013-04-12 21:08:55 -04:00
|
|
|
<?= Helper\form_label(t('Username'), 'username') ?>
|
2013-02-17 21:48:21 -05:00
|
|
|
<?= Helper\form_text('username', $values, $errors, array('required')) ?><br/>
|
|
|
|
|
2013-04-12 21:08:55 -04:00
|
|
|
<?= Helper\form_label(t('Password'), 'password') ?>
|
2013-03-26 21:54:26 -04:00
|
|
|
<?= Helper\form_password('password', $values, $errors) ?><br/>
|
2013-02-17 21:48:21 -05:00
|
|
|
|
2013-04-12 21:08:55 -04:00
|
|
|
<?= Helper\form_label(t('Confirmation'), 'confirmation') ?>
|
2013-02-17 21:48:21 -05:00
|
|
|
<?= Helper\form_password('confirmation', $values, $errors) ?><br/>
|
2013-04-12 21:08:55 -04:00
|
|
|
|
|
|
|
<?= Helper\form_label(t('Language'), 'language') ?>
|
|
|
|
<?= Helper\form_select('language', $languages, $values, $errors) ?><br/>
|
2013-02-17 21:48:21 -05:00
|
|
|
|
2013-05-26 13:09:34 -04:00
|
|
|
<?= Helper\form_label(t('Remove automatically read items'), 'autoflush') ?>
|
|
|
|
<?= Helper\form_select('autoflush', $autoflush_options, $values, $errors) ?><br/>
|
2013-05-23 13:44:45 +02:00
|
|
|
|
2013-07-06 10:50:37 -04:00
|
|
|
<?= Helper\form_label(t('Items per page'), 'items_per_page') ?>
|
|
|
|
<?= Helper\form_select('items_per_page', $paging_options, $values, $errors) ?><br/>
|
|
|
|
|
2013-07-16 21:58:11 -04:00
|
|
|
<?= Helper\form_label(t('Theme'), 'theme') ?>
|
|
|
|
<?= Helper\form_select('theme', $theme_options, $values, $errors) ?><br/>
|
|
|
|
|
2013-07-05 20:21:10 -04:00
|
|
|
<?= Helper\form_checkbox('nocontent', t('Do not fetch the content of articles'), 1, isset($values['nocontent']) ? $values['nocontent'] : false) ?><br />
|
2013-06-06 11:54:22 -04:00
|
|
|
|
2013-02-17 21:48:21 -05:00
|
|
|
<div class="form-actions">
|
2013-06-14 20:42:09 -04:00
|
|
|
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
2013-02-17 21:48:21 -05:00
|
|
|
</div>
|
2013-03-24 10:33:20 -04:00
|
|
|
</form>
|
2013-03-26 21:54:26 -04:00
|
|
|
</section>
|
2013-03-24 10:33:20 -04:00
|
|
|
|
|
|
|
<div class="page-section">
|
2013-04-12 21:08:55 -04:00
|
|
|
<h2><?= t('More informations') ?></h2>
|
2013-03-24 10:33:20 -04:00
|
|
|
</div>
|
2013-03-26 21:54:26 -04:00
|
|
|
<section>
|
2013-04-03 21:18:30 -04:00
|
|
|
<div class="alert alert-normal">
|
2013-04-12 21:08:55 -04:00
|
|
|
<h3><?= t('Database') ?></h3>
|
2013-04-03 21:18:30 -04:00
|
|
|
<ul>
|
2013-04-12 21:08:55 -04:00
|
|
|
<li><?= t('Database size:') ?> <?= Helper\format_bytes($db_size) ?></li>
|
|
|
|
<li><a href="?action=optimize-db"><?= t('Optimize the database') ?></a> <?= t('(VACUUM command)') ?></li>
|
|
|
|
<li><a href="?action=download-db"><?= t('Download the entire database') ?></a> <?= t('(Gzip compressed Sqlite file)') ?></li>
|
2013-04-03 21:18:30 -04:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="alert alert-normal">
|
2013-04-12 21:08:55 -04:00
|
|
|
<h3><?= t('Keyboard shortcuts') ?></h3>
|
2013-04-03 21:18:30 -04:00
|
|
|
<ul>
|
2013-07-02 21:50:53 -04:00
|
|
|
<li><?= t('Previous item') ?> = <strong>p</strong> <?= t('or') ?> <strong>j</strong></li>
|
|
|
|
<li><?= t('Next item') ?> = <strong>n</strong> <?= t('or') ?> <strong>k</strong></li>
|
2013-04-12 21:08:55 -04:00
|
|
|
<li><?= t('Mark as read or unread') ?> = <strong>m</strong></li>
|
|
|
|
<li><?= t('Open original link') ?> = <strong>v</strong></li>
|
|
|
|
<li><?= t('Open item') ?> = <strong>o</strong></li>
|
2013-06-14 23:12:08 -04:00
|
|
|
<li><?= t('Bookmark item') ?> = <strong>f</strong></li>
|
2013-07-05 22:37:19 -04:00
|
|
|
<li><?= t('Previous page') ?> = <strong>h</strong></li>
|
|
|
|
<li><?= t('Next page') ?> = <strong>l</strong></li>
|
2013-04-03 21:18:30 -04:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="alert alert-normal">
|
2013-04-12 21:08:55 -04:00
|
|
|
<h3><?= t('About') ?></h3>
|
2013-04-03 21:18:30 -04:00
|
|
|
<ul>
|
2013-04-12 21:08:55 -04:00
|
|
|
<li><?= t('Miniflux version:') ?> <strong><?= APP_VERSION ?></strong></li>
|
|
|
|
<li><?= t('Official website:') ?> <a href="http://miniflux.net" target="_blank">http://miniflux.net</a></li>
|
2013-04-03 21:18:30 -04:00
|
|
|
</ul>
|
|
|
|
</div>
|
2013-06-06 11:54:22 -04:00
|
|
|
</section>
|