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
0e4f15c4
authored
2011-04-13 19:06:19 +0000
by
Kevin Burton
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
merged 229 into tag
1 parent
3afb664f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
com/Branding/css/tenzing.css
com/MySQLTable/MySQLTable.php
com/UserManager/UserManager.php
com/UserManager/views/edit_user_profile.php
com/Branding/css/tenzing.css
View file @
0e4f15c
...
...
@@ -488,7 +488,7 @@ input.dp-applied {
.cbv-report-list
tbody
td
{
text-align
:
left
;
font-size
:
11px
;
word-wrap
:
normal
;
padding
:
3px
5px
;
}
.cbv-report-list
tbody
tr
.odd
td
{
background-color
:
#f5f5f5
;
}
.cbv-report-list
thead
th
{
background-color
:
#e1e1e1
;
border-bottom
:
1px
solid
#e8e8e8
;
}
.cbv-report-list
tbody
td
{
border-bottom
:
1px
solid
#e8e8e8
;
min-width
:
120px
;}
.cbv-report-list
tbody
td
{
border-bottom
:
1px
solid
#e8e8e8
;
min-width
:
120px
;
background-color
:
#fff
;
}
#user-list-from
{
display
:
block
;
}
...
...
com/MySQLTable/MySQLTable.php
View file @
0e4f15c
<?php
namespace
Tz\WordPress\Tools\MySQLTable
;
function
array2table
(
$arr
,
$width
)
function
array2table
(
$arr
,
$width
=
"100%"
)
{
$count
=
count
(
$arr
);
if
(
$count
>
0
){
...
...
com/UserManager/UserManager.php
View file @
0e4f15c
...
...
@@ -220,6 +220,10 @@ class ProfileValidation extends Common\Validation {
update_user_meta
(
$_POST
[
'uid'
],
__FUNCTION__
,
$val
);
}
public
function
company_type
(
$val
)
{
update_user_meta
(
$_POST
[
'uid'
],
__FUNCTION__
,
$val
);
}
public
function
description
(
$val
)
{
update_user_meta
(
$_POST
[
'uid'
],
__FUNCTION__
,
User\clean_string
(
$val
));
}
...
...
com/UserManager/views/edit_user_profile.php
View file @
0e4f15c
...
...
@@ -170,6 +170,10 @@ $preference = get_user_meta($user->ID, 'email_address_preference', true);
<td><input
type=
"text"
name=
"company"
value=
"
<?php
echo
get_user_meta
(
$_GET
[
'uid'
],
'company'
,
true
);
?>
"
/></td>
</tr>
<tr
class=
"work-only"
>
<th>
Company Type:
</th>
<td>
<?php
echo
HTML\form_dropdown
(
'company_type'
,
HTML\Vars
::
$company_types
,
get_user_meta
(
$_GET
[
'uid'
],
'company_type'
,
true
),
"id='company_type'"
);
?>
</td>
</tr>
<tr
class=
"work-only"
>
<th>
Title:
</th>
<td><input
type=
"text"
name=
"title"
value=
"
<?php
echo
get_user_meta
(
$_GET
[
'uid'
],
'title'
,
true
);
?>
"
/></td>
</tr>
...
...
@@ -238,7 +242,7 @@ $preference = get_user_meta($user->ID, 'email_address_preference', true);
<script
src=
"
<?php
echo
Tools\url
(
'../'
);
?>
"
></script>
<script>
jQuery
(
function
(
$
)
{
$
(
'input[rel="mask-phone"]'
).
mask
(
"999-999-9999"
);
//
$('input[rel="mask-phone"]').mask("999-999-9999");
$
(
'input[rel="mask-birthdate"]'
).
mask
(
"9999-99-99"
);
/*
update_listing_preference();
...
...
Please
register
or
sign in
to post a comment