Added Designations to the UserManager
Showing
2 changed files
with
8 additions
and
0 deletions
| ... | @@ -220,6 +220,10 @@ class ProfileValidation extends Common\Validation { | ... | @@ -220,6 +220,10 @@ class ProfileValidation extends Common\Validation { |
| 220 | update_user_meta($_POST['uid'], __FUNCTION__, $val); | 220 | update_user_meta($_POST['uid'], __FUNCTION__, $val); |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | public function designations($val) { | ||
| 224 | update_user_meta($_POST['uid'], __FUNCTION__, $val); | ||
| 225 | } | ||
| 226 | |||
| 223 | public function company_type($val) { | 227 | public function company_type($val) { |
| 224 | update_user_meta($_POST['uid'], __FUNCTION__, $val); | 228 | update_user_meta($_POST['uid'], __FUNCTION__, $val); |
| 225 | } | 229 | } | ... | ... |
| ... | @@ -60,6 +60,10 @@ $preference = get_user_meta($user->ID, 'email_address_preference', true); | ... | @@ -60,6 +60,10 @@ $preference = get_user_meta($user->ID, 'email_address_preference', true); |
| 60 | <td><input type="text" name="degrees" value="<?php echo get_user_meta($_GET['uid'], 'degrees', true);?>" /></td> | 60 | <td><input type="text" name="degrees" value="<?php echo get_user_meta($_GET['uid'], 'degrees', true);?>" /></td> |
| 61 | </tr> | 61 | </tr> |
| 62 | <tr> | 62 | <tr> |
| 63 | <th>Designations:</th> | ||
| 64 | <td><input type="text" name="designations" value="<?php echo get_user_meta($_GET['uid'], 'designations', true);?>" /></td> | ||
| 65 | </tr> | ||
| 66 | <tr> | ||
| 63 | <th>Biography:</th> | 67 | <th>Biography:</th> |
| 64 | <td><textarea name="description"><?php echo get_user_meta($_GET['uid'], 'description', true);?></textarea></td> | 68 | <td><textarea name="description"><?php echo get_user_meta($_GET['uid'], 'description', true);?></textarea></td> |
| 65 | </tr> | 69 | </tr> | ... | ... |
-
Please register or sign in to post a comment