You are here

function og_list_users_faces_page in Organic groups 5.2

Same name and namespace in other branches
  1. 5.8 og.module \og_list_users_faces_page()
  2. 5 og.module \og_list_users_faces_page()
  3. 5.3 og.module \og_list_users_faces_page()
  4. 5.7 og.module \og_list_users_faces_page()
1 string reference to 'og_list_users_faces_page'
og_menu in ./og.module

File

./og.module, line 946

Code

function og_list_users_faces_page($gid) {
  $sql = og_list_users_sql(0, 0, 'ou.is_admin DESC, u.picture DESC, u.name ASC');

  /* list group admins first, pending subscribers second, regular subscribers last.  Alphabetize within each of these catergories */
  $result = pager_query($sql, 100, 0, NULL, $gid);
  return theme('og_picture_grid', $result);
}