exit(1);
}
-require_once INSTALLDIR.'/lib/profilelist.php';
-
/**
* Widget to show a list of subscriptions
*
$this->owner = $owner;
}
- function newListItem($profile)
+ function newListItem(Profile $profile)
{
return new SubscriptionListItem($profile, $this->owner, $this->action);
}
$this->showBio();
// Relevant portion!
$this->showTags();
+ if ($this->isOwn()) {
+ $this->showOwnerControls();
+ }
$this->endProfile();
}
+ function showOwnerControls()
+ {
+ // pass
+ }
+
function isOwn()
{
$user = common_current_user();