$this->showSubscriptions();
$this->showSubscribers();
$this->showGroups();
- $this->showPeopletagSubs();
- $this->showPeopletags();
+ $this->showListsFor();
+ $this->showListSubscriptions();
$this->showStatistics();
}
$this->elementEnd('div');
}
- function showPeopletagSubs()
+ function showListsFor()
{
- $user = common_current_user();
- if (!empty($user) && $this->profile->id == $user->id) {
- if (Event::handle('StartShowPeopletagSubscriptionsSection', array($this))) {
+ if (Event::handle('StartShowListsForSection', array($this))) {
- $profile = $user->getProfile();
- $section = new PeopletagSubscriptionsSection($this, $profile);
- $section->show();
+ $section = new PeopletagsForUserSection($this, $this->profile);
+ $section->show();
- Event::handle('EndShowPeopletagSubscriptionsSection', array($this));
- }
+ Event::handle('EndShowListsForSection', array($this));
}
}
- function showPeopletags()
+ function showListSubscriptions()
{
- if (Event::handle('StartShowPeopletagsSection', array($this))) {
+ if (Event::handle('StartShowListSubscriptionsSection', array($this))) {
- $section = new PeopletagsForUserSection($this, $this->profile);
+ $section = new PeopletagSubscriptionsSection($this, $this->profile);
$section->show();
- Event::handle('EndShowPeopletagsSection', array($this));
+ Event::handle('EndShowListSubscriptionsSection', array($this));
}
}