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->startProfile();
$this->showAvatar($this->profile);
+ $this->showNickname();
$this->showFullName();
$this->showLocation();
$this->showHomepage();
$this->showBio();
// Relevant portion!
$this->showTags();
+ if ($this->isOwn()) {
+ $this->showOwnerControls();
+ }
$this->endProfile();
}
+ function showOwnerControls()
+ {
+ // pass
+ }
+
function isOwn()
{
$user = common_current_user();