class SubscribersList extends ProfileList
{
- function showOwnerControls($profile)
+ function showBlockForm()
{
$bf = new BlockForm($this->out, $profile,
array('action' => 'subscribers',
$this->out->elementEnd('div');
+ $this->out->elementStart('div', 'entity_actions');
+
if ($user && $user->id != $this->profile->id) {
# XXX: special-case for user looking at own
# subscriptions page
$sf = new SubscribeForm($this->out, $this->profile);
$sf->show();
}
+ if ($user && $user->id == $this->owner->id) {
+ $this->showBlockForm();
+ }
}
+ $this->out->elementEnd('div');
+
$this->out->elementEnd('li');
}