summaryrefslogtreecommitdiff
path: root/actions/subscribers.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscribers.php')
-rw-r--r--actions/subscribers.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/actions/subscribers.php b/actions/subscribers.php
index fb8733c77..22faafaef 100644
--- a/actions/subscribers.php
+++ b/actions/subscribers.php
@@ -72,9 +72,13 @@ class SubscribersAction extends GalleryAction
function showContent()
{
+ parent::showContent();
+
$offset = ($this->page-1) * PROFILES_PER_PAGE;
$limit = PROFILES_PER_PAGE + 1;
+ $cnt = 0;
+
if ($this->tag) {
$subscribers = $this->user->getTaggedSubscribers($this->tag, $offset, $limit);
} else {
@@ -83,7 +87,7 @@ class SubscribersAction extends GalleryAction
if ($subscribers) {
$subscribers_list = new SubscribersList($subscribers, $this->user, $this);
- $subscribers_list->show();
+ $cnt = $subscribers_list->show();
}
$subscribers->free();
@@ -96,9 +100,9 @@ class SubscribersAction extends GalleryAction
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();