From ae7a90be71e852cc88b486bfff5804ff59a84b03 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Thu, 18 Aug 2011 01:16:27 +0100 Subject: [PATCH] Renamed 'auth' model, controller and views to 'user' --- application/views/auth/add.php | 70 ------------------------------- application/views/auth/edit.php | 72 -------------------------------- application/views/auth/main.php | 24 ----------- application/views/auth/view.php | 8 ---- application/views/user/edit.php | 38 +++++++++++++++++ application/views/user/login.php | 23 ++++++++++ application/views/user/main.php | 53 +++++++++++++++++++++++ 7 files changed, 114 insertions(+), 174 deletions(-) delete mode 100644 application/views/auth/add.php delete mode 100644 application/views/auth/edit.php delete mode 100644 application/views/auth/main.php delete mode 100644 application/views/auth/view.php create mode 100644 application/views/user/edit.php create mode 100644 application/views/user/login.php create mode 100644 application/views/user/main.php diff --git a/application/views/auth/add.php b/application/views/auth/add.php deleted file mode 100644 index cde42eb4..00000000 --- a/application/views/auth/add.php +++ /dev/null @@ -1,70 +0,0 @@ -

Add Note

-
- -
- - - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - - - \ No newline at end of file diff --git a/application/views/auth/edit.php b/application/views/auth/edit.php deleted file mode 100644 index 2030a10a..00000000 --- a/application/views/auth/edit.php +++ /dev/null @@ -1,72 +0,0 @@ -result() as $row) { ?> -

Edit Note - title; ?>

-
- -
- - - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - - - - \ No newline at end of file diff --git a/application/views/auth/main.php b/application/views/auth/main.php deleted file mode 100644 index 85ec58ac..00000000 --- a/application/views/auth/main.php +++ /dev/null @@ -1,24 +0,0 @@ -

Note

-
- -num_rows() > 0) - { - echo ""; - } else { - echo "

You have no notes, why not create one!

"; - } - -?> - -

Create a Note

- -
\ No newline at end of file diff --git a/application/views/auth/view.php b/application/views/auth/view.php deleted file mode 100644 index eebd737f..00000000 --- a/application/views/auth/view.php +++ /dev/null @@ -1,8 +0,0 @@ -result() as $row) { ?> -

Note - title; ?>

-
-note); ?> - -

Options: Edit Delete

-
- \ No newline at end of file diff --git a/application/views/user/edit.php b/application/views/user/edit.php new file mode 100644 index 00000000..93b8695e --- /dev/null +++ b/application/views/user/edit.php @@ -0,0 +1,38 @@ +

Edit user

+
+ + +
uri->segment(3); ?>" name="users"> + + + + + + + + + + + + + + + + + + + + +
Username
E-mail
Password
Leave blank to keep existing password
For testing:
Type +
+ +
+ +
+ +
diff --git a/application/views/user/login.php b/application/views/user/login.php new file mode 100644 index 00000000..784378fe --- /dev/null +++ b/application/views/user/login.php @@ -0,0 +1,23 @@ +

Log in

+
+ + +
+ + + + + + + + + + + +
Username
Password
+ +
+ +
+ +
diff --git a/application/views/user/main.php b/application/views/user/main.php new file mode 100644 index 00000000..5d40ce6d --- /dev/null +++ b/application/views/user/main.php @@ -0,0 +1,53 @@ +

Users

+ + + + + + + + + +
+ + +session->flashdata('notice')) { ?> +
+ session->flashdata('notice'); ?> +
+ + + + + + + + + + result() as $row) { ?> + '; ?> + + + + + +
UserE-mailType
user_id; ?>">user_name; ?>user_email; ?>user_type; ?>
+