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
14
views/html/users/edit.tpl
Normal file
14
views/html/users/edit.tpl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<h1><?=_('Users')?></h1>
|
||||
<h2><?=_('Edit user')?></h2>
|
||||
|
||||
<form method="post" action="<?=$linker->link('edit', 1)?>">
|
||||
<filedset>
|
||||
<label for="username"><?=_('Username')?>:</label>
|
||||
<input type="text" name="username" placeholder="<?=_('Username')?>" value="<?=$user['username']?>" /><br />
|
||||
<label for="email"><?=_('E‑Mail-Address')?>:</label>
|
||||
<input type="email" name="email" placeholder="<?=_('E‑Mail-Address')?>" value="<?=$user['email']?>" /><br />
|
||||
<label for="password"><?=_('Password')?>:</label>
|
||||
<input type="password" name="password" placeholder="<?=_('Password')?>" /><br />
|
||||
</fieldset>
|
||||
<input type="submit" name="create" value="<?=_('create')?>" />
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue