You are here

function theme_userpoints_list_users_header in User Points 5.3

Same name and namespace in other branches
  1. 6 userpoints.module \theme_userpoints_list_users_header()
1 theme call to theme_userpoints_list_users_header()
userpoints_list_users in ./userpoints.module

File

./userpoints.module, line 1323

Code

function theme_userpoints_list_users_header() {
  return array(
    array(
      'data' => t('User'),
      'field' => 'u.name',
    ),
    array(
      'data' => t('Category'),
      'field' => 't.name',
    ),
    array(
      'data' => t('!Points', userpoints_translation()),
      'field' => 'p.points',
      'sort' => 'desc',
    ),
  );
}