implement user registration and improve user handling
This commit is contained in:
parent
5dea059429
commit
f3602d7a9e
7 changed files with 260 additions and 28 deletions
|
|
@ -1,12 +1,15 @@
|
|||
<h1><?=_('Users')?></h1>
|
||||
<h2><?=_('Login')?></h2>
|
||||
|
||||
<h2><?=_('Login')?></h2>
|
||||
<?php if($failed) : ?>
|
||||
<p class="invalid"><?=_('Login failed')?>.</p>
|
||||
<?php endif ?>
|
||||
<form method="post" action="<?=$linker->link(array(), 2)?>">
|
||||
<fieldset>
|
||||
<label for="username"><?=_('Username')?></label>
|
||||
<input name="username" type="text" placeholder="<?=_('Username')?>" value="<?=$username?>" /><br />
|
||||
<label for="password"><?=_('Password')?></label>
|
||||
<input name="password" type="password" placeholder="<?=_('Password')?>" /><br />
|
||||
<label for="username"><?=_('Username')?>:</label>
|
||||
<input name="username" type="text" placeholder="<?=_('Username')?>" value="<?=$username?>" required="required" /><br />
|
||||
<label for="password"><?=_('Password')?>:</label>
|
||||
<input name="password" type="password" placeholder="<?=_('Password')?>" required="required" /><br />
|
||||
</fieldset>
|
||||
<input type="submit" name="login" value="<?=_('Login')?>" />
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue