- $first = array_slice($items, 0, -1);
- $last = array_slice($items, -1, 1);
- // TRANS: Separator in list of user names like "You, Bob, Mary".
- $sepataror = _(', ');
- // TRANS: For building a list such as "You, bob, mary and 5 others have favored this notice".
- // TRANS: %1$s is a list of users, separated by a separator (default: ", "), %2$s is the last user in the list.
- return sprintf(_m('FAVELIST', '%1$s and %2$s'), implode($separator, $first), implode($separator, $last));
- }
- }
-}
-
-/**
- * Placeholder for showing faves...
- */
-class ThreadedNoticeListFavesItem extends NoticeListActorsItem
-{
- function getProfiles()
- {
- $fave = Fave::byNotice($this->notice->id);
- $profiles = array();
- while ($fave->fetch()) {
- $profiles[] = $fave->user_id;