diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-04-09 13:47:31 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:48:18 +0200 |
commit | ec1a30e1bc2c33db485140c51591126078425512 (patch) | |
tree | d79ad1a344b08e1368b7a8b9bee30b8439c1013c /application/views/user/register.php | |
parent | 5940316125c1672b72eb08186e6c43f5a91e71ef (diff) |
add register function
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user/register.php')
-rw-r--r-- | application/views/user/register.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/application/views/user/register.php b/application/views/user/register.php new file mode 100644 index 000000000..78af46e96 --- /dev/null +++ b/application/views/user/register.php @@ -0,0 +1,26 @@ +<?php if (!empty($error)) { + echo "<p>"; + echo implode("<br />\n", $error); + echo "</p>"; +} ?> +<?php echo form_open('user/register/'.$key); ?> + <table> + <tr> + <td>Username</td> + <td> <input type="text" name="username" value="<?=$values["username"]; ?>" /></td> + </tr><tr> + <td>Email</td> + <td> <input type="text" name="email" value="<?=$values["email"]; ?>" /></td> + </tr><tr> + <td>Password</td> + <td> <input type="password" name="password" /></td> + </tr><tr> + <td>Confirm password</td> + <td> <input type="password" name="password_confirm" /></td> + </tr><tr> + <td></td> + <td><input type="submit" value="Register" name="process" /></td> + </tr> + </table> +</form> + |