コード例 #1
0
 function showFullName()
 {
     parent::showFullName();
     if ($this->profile->isAdmin($this->group)) {
         $this->out->text(' ');
         // for separating the classes.
         // TRANS: Indicator in group members list that this user is a group administrator.
         $this->out->element('span', 'role', _m('GROUPADMIN', 'Admin'));
     }
 }
コード例 #2
0
 function showFullName()
 {
     parent::showFullName();
     if ($this->profile->id == $this->peopletag->tagger) {
         $this->out->text(' ');
         // TRANS: Addition in tag subscribers list for creator of a tag.
         $this->out->element('span', 'role', _('Creator'));
     }
 }
コード例 #3
0
ファイル: groupmembers.php プロジェクト: stevertiqo/StatusNet
 function showFullName()
 {
     parent::showFullName();
     if ($this->profile->isAdmin($this->group)) {
         $this->out->text(' ');
         $this->out->element('span', 'role', _('Admin'));
     }
 }