uid == $account->uid && user_access('maintain own relationships')) || user_access('administer users'); $this_user_str = $account->uid == $relationship->requestee_id ? 'requester' : 'requestee'; $this_user = $relationship->{$this_user_str}; $row = array( theme('username', $this_user), $relationship->name . ($relationship->is_oneway ? ($this_user_str == 'requester' ? t(' (Sina neile)') : t(' (Nemad sulle)')) : NULL), $relationship->extra_for_display, $edit_access ? theme('user_relationships_remove_link', $account->uid, $relationship->rid) : ' ', ); if (variable_get('user_relationships_show_user_pictures', 0)) { array_unshift($row, theme('user_picture', $this_user)); } $rows[] = $row; } print '