diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-04-08 23:13:15 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:47:36 +0200 |
commit | 3f01ddce9dff69a49493541882de85854cbcebe5 (patch) | |
tree | 13c23f0a6893970ca71fbbfe763c3c696c8a0a4b /application/views/user | |
parent | b18f4e453ecdf3404a107f9fc72d7bd9249401d0 (diff) |
start working on users
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user')
l--------- | application/views/user/footer.php | 1 | ||||
l--------- | application/views/user/header.php | 1 | ||||
-rw-r--r-- | application/views/user/index.php | 1 | ||||
-rw-r--r-- | application/views/user/login.php | 18 | ||||
-rw-r--r-- | application/views/user/login_successful.php | 1 |
5 files changed, 22 insertions, 0 deletions
diff --git a/application/views/user/footer.php b/application/views/user/footer.php new file mode 120000 index 000000000..e3a4d3fca --- /dev/null +++ b/application/views/user/footer.php @@ -0,0 +1 @@ +../file/footer.php
\ No newline at end of file diff --git a/application/views/user/header.php b/application/views/user/header.php new file mode 120000 index 000000000..7b5e4d759 --- /dev/null +++ b/application/views/user/header.php @@ -0,0 +1 @@ +../file/header.php
\ No newline at end of file diff --git a/application/views/user/index.php b/application/views/user/index.php new file mode 100644 index 000000000..891ecc083 --- /dev/null +++ b/application/views/user/index.php @@ -0,0 +1 @@ +Momentan eingeloggt als "<?php echo $username; ?>".<br /> diff --git a/application/views/user/login.php b/application/views/user/login.php new file mode 100644 index 000000000..ca6f01b88 --- /dev/null +++ b/application/views/user/login.php @@ -0,0 +1,18 @@ +<?php +if (isset($login_error)) { + echo '<font style="color: rgb(238, 51, 51);">The entered credentials are invalid.</font>'; +} ?> + +<?php echo form_open('user/login'); ?> + <table> + <tr> + <td>Username:</td> + <td><input type="text" name="username" /></td> + </tr> + <tr> + <td>Password:</td> + <td><input type="password" name="password" /></td> + </tr> + </table> + <input type="submit" value="Login" name="process" /> +</form> diff --git a/application/views/user/login_successful.php b/application/views/user/login_successful.php new file mode 100644 index 000000000..d6ee74040 --- /dev/null +++ b/application/views/user/login_successful.php @@ -0,0 +1 @@ +Login successful. |