forked from GNUsocial/gnu-social
remove admin link from group page
This commit is contained in:
parent
394977b739
commit
79db73d4ac
@ -268,14 +268,6 @@ class ShowgroupAction extends Action
|
|||||||
if ($cur->isMember($this->group)) {
|
if ($cur->isMember($this->group)) {
|
||||||
$lf = new LeaveForm($this, $this->group);
|
$lf = new LeaveForm($this, $this->group);
|
||||||
$lf->show();
|
$lf->show();
|
||||||
if ($cur->isAdmin($this->group)) {
|
|
||||||
$edit = common_local_url('editgroup',
|
|
||||||
array('nickname' => $this->group->nickname));
|
|
||||||
$this->element('a',
|
|
||||||
array('href' => $edit,
|
|
||||||
'id' => 'group_admin'),
|
|
||||||
_('Admin'));
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
$jf = new JoinForm($this, $this->group);
|
$jf = new JoinForm($this, $this->group);
|
||||||
$jf->show();
|
$jf->show();
|
||||||
|
Loading…
Reference in New Issue
Block a user