}
}
- $subscriptions->free();
-
$this->pagination($this->page > 1, $cnt > PROFILES_PER_PAGE,
$this->page, 'subscriptions',
array('nickname' => $this->user->nickname));
$this->elementEnd('div');
}
- function showSections()
+ /**
+ * Link to feeds of subscriptions
+ *
+ * @return array of Feed objects
+ */
+ function getFeeds()
{
- parent::showSections();
- $cloud = new SubscriptionsPeopleTagCloudSection($this);
- $cloud->show();
-
- $cloud2 = new SubscriptionsPeopleSelfTagCloudSection($this);
- $cloud2->show();
+ return array(new Feed(Feed::ATOM,
+ common_local_url('AtomPubSubscriptionFeed',
+ array('subscriber' => $this->profile->id)),
+ // TRANS: Atom feed title. %s is a profile nickname.
+ sprintf(_('Subscription feed for %s (Atom)'),
+ $this->profile->nickname)));
}
}
}
$this->out->element('input', $attrs);
- // TRANS: Checkbox label for enabling Jabber messages for a profile in a subscriptions list.
- $this->out->element('label', array('for' => 'jabber-'.$this->profile->id), _('IM'));
+ // TRANS: Checkbox label for enabling IM messages for a profile in a subscriptions list.
+ $this->out->element('label', array('for' => 'jabber-'.$this->profile->id), _m('LABEL','IM'));
} else {
$this->out->hidden('jabber', $sub->jabber);
}