97f44ca0 by Kevin Burton

Added Designations to the UserManager

1 parent 051ace63
......@@ -220,6 +220,10 @@ class ProfileValidation extends Common\Validation {
update_user_meta($_POST['uid'], __FUNCTION__, $val);
}
public function designations($val) {
update_user_meta($_POST['uid'], __FUNCTION__, $val);
}
public function company_type($val) {
update_user_meta($_POST['uid'], __FUNCTION__, $val);
}
......
......@@ -60,6 +60,10 @@ $preference = get_user_meta($user->ID, 'email_address_preference', true);
<td><input type="text" name="degrees" value="<?php echo get_user_meta($_GET['uid'], 'degrees', true);?>" /></td>
</tr>
<tr>
<th>Designations:</th>
<td><input type="text" name="designations" value="<?php echo get_user_meta($_GET['uid'], 'designations', true);?>" /></td>
</tr>
<tr>
<th>Biography:</th>
<td><textarea name="description"><?php echo get_user_meta($_GET['uid'], 'description', true);?></textarea></td>
</tr>
......