function theme_userpoints_list_users_row in User Points 5.3
Same name and namespace in other branches
- 6 userpoints.module \theme_userpoints_list_users_row()
1 theme call to theme_userpoints_list_users_row()
File
- ./
userpoints.module, line 1335
Code
function theme_userpoints_list_users_row(&$row) {
global $user;
if (!$row->cat) {
$row->cat = t('!Uncategorized', userpoints_translation());
}
if ($user->uid == $row->uid) {
$details = " " . l("(details)", "myuserpoints");
}
return array(
array(
'data' => theme('username', $row) . $details,
),
array(
'data' => $row->cat,
'align' => 'right',
),
array(
'data' => $row->points,
'align' => 'right',
),
);
}