Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
97f44ca0
authored
2011-04-14 13:06:51 +0000
by
Kevin Burton
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added Designations to the UserManager
1 parent
051ace63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
com/UserManager/UserManager.php
com/UserManager/views/edit_user_profile.php
com/UserManager/UserManager.php
View file @
97f44ca
...
...
@@ -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
);
}
...
...
com/UserManager/views/edit_user_profile.php
View file @
97f44ca
...
...
@@ -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>
...
...
Please
register
or
sign in
to post a comment