diff --git a/application/controllers/User.php b/application/controllers/User.php index 752b9cab..129b6904 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -170,7 +170,7 @@ class User extends CI_Controller { } if($this->input->post('user_lastname', true)) { - $data['user_lastname'] = $this->input->post('user_lastname', tue); + $data['user_lastname'] = $this->input->post('user_lastname', true); } else { $data['user_lastname'] = $q->user_lastname; } diff --git a/application/views/user/edit.php b/application/views/user/edit.php index f2db4810..21f6d013 100644 --- a/application/views/user/edit.php +++ b/application/views/user/edit.php @@ -1,6 +1,10 @@
-
+

+ Edit Account + +

+ session->flashdata('message')) { ?>
@@ -8,149 +12,227 @@
-
-
- Edit User -
-
-
-

- - - load->helper('form'); ?> + +
+ x + +
+ + + load->helper('form'); ?> -
uri->segment(3); ?>" name="users" autocomplete="off"> -
- - - ".$username_error."
"; } ?> + uri->segment(3); ?>" name="users" autocomplete="off"> + +
+
+
+
+
+ Account Information +
+
+
+ + + ".$username_error."
"; } ?> +
+ +
+ + + ".$email_error."
"; } ?> +
+ +
+ + + ".$password_error."
"; } else { ?> +
Leave blank to keep existing password
+ +
+
+
-
- - session->userdata('user_type') == 99) { ?> - + config->item('auth_level'); while (list($key, $val) = each($levels)) { - ?> + ?> - - config->item('auth_level'); - echo $l[$user_type]; - }?> + + config->item('auth_level'); + echo $l[$user_type]; + }?> +
+
+ + -
- - - ".$email_error."
"; } ?> +
+
+ +
+
+
+ Personal Information +
+
+
+ + + ".$firstname_error."
"; } else { ?> + +
+ +
+ + + ".$lastname_error."
"; } else { ?> + +
+ +
+ + + ".$callsign_error."
"; } else { ?> + +
+ +
+ + + ".$locator_error."
"; } else { ?> + +
+ + -
- - - ".$password_error."
"; } else { ?> -
Leave blank to keep existing password
- +
+
+
+ Cloudlog Preferences +
+
+
+ + +
+ +
+ + + Choose which unit distances will be shown in. +
+
+
+ -
- - - ".$firstname_error."
"; } else { ?> - +
+
+ +
+
+
+ Logbook of the World +
+
+
+ + + ".$userlotwname_error."
"; } ?> +
+ +
+ + + ".$lotwpassword_error."
"; } else { ?> +
Leave blank to keep existing password
+ +
+
+ -
- - - ".$lastname_error."
"; } else { ?> - + +
+
+
+ eQSL +
+
+
+ + + ".$eqslusername_error."
"; } ?> +
+ +
+ + + ".$eqslpassword_error."
"; } else { ?> +
Leave blank to keep existing password
+ +
+
+ + + + +
+
+ +
+
+
+ Clublog +
+
+
+ + +
This is the Email or Callsign you use to login to Club Log
+ ".$userclublogname_error."
"; } ?> + +
+ +
+ + + ".$clublogpassword_error."
"; } else { ?> +
Leave blank to keep existing password
+ +
+
+ + -
- - - ".$callsign_error."
"; } else { ?> - - - -
- - - ".$locator_error."
"; } else { ?> - - - -
- - -
- -
- - - ".$userlotwname_error."
"; } ?> - - -
- - - ".$lotwpassword_error."
"; } else { ?> -
Leave blank to keep existing password
- - - -
- - - ".$eqslusername_error."
"; } ?> - - -
- - - ".$eqslpassword_error."
"; } else { ?> -
Leave blank to keep existing password
- - - -
- - -
This is the Email or Callsign you use to login to Club Log
- ".$userclublogname_error."
"; } ?> - - - -
- - - ".$clublogpassword_error."
"; } else { ?> -
Leave blank to keep existing password
- - - -
- - - Choose which unit distances will be shown in. -
- - - - - - - + +
+ +
+
+