Add tabset to group and admin tabs
This commit is contained in:
parent
5d162aeaef
commit
1499a5e048
|
@ -96,6 +96,8 @@ class EditgroupAction extends Action
|
|||
$this->clientError(_('No such group'), 404);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -124,6 +126,12 @@ class EditgroupAction extends Action
|
|||
$this->showPage();
|
||||
}
|
||||
|
||||
function showLocalNav()
|
||||
{
|
||||
$nav = new GroupNav($this, $this->group);
|
||||
$nav->show();
|
||||
}
|
||||
|
||||
function showContent()
|
||||
{
|
||||
$form = new GroupEditForm($this, $this->group);
|
||||
|
|
|
@ -144,6 +144,12 @@ class ShowgroupAction extends Action
|
|||
$this->showPage();
|
||||
}
|
||||
|
||||
function showLocalNav()
|
||||
{
|
||||
$nav = new GroupNav($this, $this->group);
|
||||
$nav->show();
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the page content
|
||||
*
|
||||
|
|
|
@ -83,7 +83,7 @@ class GroupNav extends Widget
|
|||
$nickname)),
|
||||
_('Group'),
|
||||
sprintf(_('%s group'), $nickname),
|
||||
$action_name == 'all',
|
||||
$action_name == 'group',
|
||||
'nav_group_group');
|
||||
$this->out->menuItem(common_local_url('groupmembers', array('nickname' =>
|
||||
$nickname)),
|
||||
|
|
Loading…
Reference in New Issue
Block a user