+ function otherProfiles()
+ {
+ $others = array();
+
+ Event::handle('OtherAccountProfiles', array($this->profile, &$others));
+
+ return $others;
+ }
+
+ function showTags()
+ {
+ $cur = common_current_user();
+
+ $self_tags = new SelftagsWidget($this->out, $this->profile, $this->profile);
+ $self_tags->show();
+
+ if ($cur) {
+ // don't show self-tags again
+ if ($cur->id != $this->profile->id && $cur->getProfile()->canTag($this->profile)) {
+ $tags = new PeopletagsWidget($this->out, $cur, $this->profile);
+ $tags->show();
+ }
+ }
+ }
+