integrate AuthComponent and implement CRUD for users
This commit is contained in:
parent
08f061d410
commit
4706fb5204
18 changed files with 509 additions and 16 deletions
12
views/html/users/login.tpl
Normal file
12
views/html/users/login.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<h1><?=_('Users')?></h1>
|
||||
<h2><?=_('Login')?></h2>
|
||||
|
||||
<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 />
|
||||
</fieldset>
|
||||
<input type="submit" name="login" value="<?=_('Login')?>" />
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue