integrate AuthComponent and implement CRUD for users

This commit is contained in:
coderkun 2014-01-22 16:31:25 +01:00
commit 4706fb5204
18 changed files with 509 additions and 16 deletions

14
views/html/users/edit.tpl Normal file
View 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"><?=_('EMail-Address')?>:</label>
<input type="email" name="email" placeholder="<?=_('EMail-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>