function showContent()
{
+ parent::showContent();
+
$offset = ($this->page-1) * PROFILES_PER_PAGE;
$limit = PROFILES_PER_PAGE + 1;
- $subscribers = $this->user->getSubscribers($offset, $limit);
+ $cnt = 0;
+
+ if ($this->tag) {
+ $subscribers = $this->user->getTaggedSubscribers($this->tag, $offset, $limit);
+ } else {
+ $subscribers = $this->user->getSubscribers($offset, $limit);
+ }
if ($subscribers) {
$subscribers_list = new SubscribersList($subscribers, $this->user, $this);
- $subscribers_list->show();
+ $cnt = $subscribers_list->show();
}
$subscribers->free();
class SubscribersList extends ProfileList
{
- function showOwnerControls($profile)
+ function showBlockForm()
{
- $bf = new BlockForm($this->out, $profile,
+ $bf = new BlockForm($this->out, $this->profile,
array('action' => 'subscribers',
'nickname' => $this->owner->nickname));
$bf->show();
}
+
+ function isReadOnly()
+ {
+ return true;
+ }
}