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);
|
$this->clientError(_('No such group'), 404);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -124,6 +126,12 @@ class EditgroupAction extends Action
|
|||||||
$this->showPage();
|
$this->showPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showLocalNav()
|
||||||
|
{
|
||||||
|
$nav = new GroupNav($this, $this->group);
|
||||||
|
$nav->show();
|
||||||
|
}
|
||||||
|
|
||||||
function showContent()
|
function showContent()
|
||||||
{
|
{
|
||||||
$form = new GroupEditForm($this, $this->group);
|
$form = new GroupEditForm($this, $this->group);
|
||||||
|
@ -144,6 +144,12 @@ class ShowgroupAction extends Action
|
|||||||
$this->showPage();
|
$this->showPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showLocalNav()
|
||||||
|
{
|
||||||
|
$nav = new GroupNav($this, $this->group);
|
||||||
|
$nav->show();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show the page content
|
* Show the page content
|
||||||
*
|
*
|
||||||
|
@ -83,7 +83,7 @@ class GroupNav extends Widget
|
|||||||
$nickname)),
|
$nickname)),
|
||||||
_('Group'),
|
_('Group'),
|
||||||
sprintf(_('%s group'), $nickname),
|
sprintf(_('%s group'), $nickname),
|
||||||
$action_name == 'all',
|
$action_name == 'group',
|
||||||
'nav_group_group');
|
'nav_group_group');
|
||||||
$this->out->menuItem(common_local_url('groupmembers', array('nickname' =>
|
$this->out->menuItem(common_local_url('groupmembers', array('nickname' =>
|
||||||
$nickname)),
|
$nickname)),
|
||||||
|
Loading…
Reference in New Issue
Block a user