+
+ function showEmptyListMessage()
+ {
+ if (common_logged_in()) {
+ $current_user = common_current_user();
+ if ($this->user->id === $current_user->id) {
+ // TRANS: Subscriber list text when the logged in user has no subscribers.
+ $message = _('You have no subscribers. Try subscribing to people you know and they might return the favor.');
+ } else {
+ // TRANS: Subscriber list text when looking at the subscribers for a of a user other
+ // TRANS: than the logged in user that has no subscribers. %s is the user nickname.
+ $message = sprintf(_('%s has no subscribers. Want to be the first?'), $this->user->nickname);
+ }
+ }
+ else {
+ // TRANS: Subscriber list text when looking at the subscribers for a of a user that has none
+ // TRANS: as an anonymous user. %s is the user nickname.
+ // TRANS: This message contains a Markdown URL. The link description is between
+ // TRANS: square brackets, and the link between parentheses. Do not separate "]("
+ // TRANS: and do not change the URL part.
+ $message = sprintf(_('%s has no subscribers. Why not [register an account](%%%%action.register%%%%) and be the first?'), $this->user->nickname);
+ }
+
+ $this->elementStart('div', 'guide');
+ $this->raw(common_markup_to_html($message));
+ $this->elementEnd('div');
+ }
+
+ function showSections()
+ {
+ parent::showSections();
+ }
+}
+
+class SubscribersList extends SubscriptionList
+{
+ function newListItem($profile)
+ {
+ return new SubscribersListItem($profile, $this->owner, $this->action);
+ }