miniflux-legacy/app/templates/profile.php
Frederic Guillot 82df35a59b Change the database structure to have a single database
This is a major change for the next release of Miniflux.

- There is now only one database that can supports multiple users
- There is no automated schema migration for this release
- A migration procedure is available in the ChangeLog file
2016-12-26 09:51:38 -05:00

40 lines
1.7 KiB
PHP

<div class="page-header">
<h2><?php echo $title ?></h2>
<nav>
<ul>
<li><a href="?action=config"><?php echo t('general') ?></a></li>
<li class="active"><a href="?action=profile"><?php echo t('profile') ?></a></li>
<?php if (Miniflux\Helper\is_admin()): ?>
<li><a href="?action=users"><?php echo t('users') ?></a></li>
<?php endif ?>
<li><a href="?action=services"><?php echo t('external services') ?></a></li>
<li><a href="?action=api"><?php echo t('api') ?></a></li>
<li><a href="?action=help"><?php echo t('help') ?></a></li>
<li><a href="?action=about"><?php echo t('about') ?></a></li>
</ul>
</nav>
</div>
<section>
<form method="post" action="?action=profile" autocomplete="off" id="config-form">
<h3><?php echo t('Authentication') ?></h3>
<div class="options">
<?php echo Miniflux\Helper\form_hidden('csrf', $values) ?>
<?php echo Miniflux\Helper\form_hidden('id', $values) ?>
<?php echo Miniflux\Helper\form_label(t('Username'), 'username') ?>
<?php echo Miniflux\Helper\form_text('username', $values, $errors, array('required')) ?><br/>
<?php echo Miniflux\Helper\form_label(t('Password'), 'password') ?>
<?php echo Miniflux\Helper\form_password('password', $values, $errors) ?><br/>
<?php echo Miniflux\Helper\form_label(t('Confirmation'), 'confirmation') ?>
<?php echo Miniflux\Helper\form_password('confirmation', $values, $errors) ?><br/>
</div>
<div class="form-actions">
<input type="submit" value="<?php echo t('Save') ?>" class="btn btn-blue"/>
</div>
</form>
</section>