Add tabset to group and admin tabs

This commit is contained in:
Evan Prodromou 2009-01-21 09:55:44 -05:00
parent 5d162aeaef
commit 1499a5e048
3 changed files with 15 additions and 1 deletions

View File

@ -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);

View File

@ -144,6 +144,12 @@ class ShowgroupAction extends Action
$this->showPage();
}
function showLocalNav()
{
$nav = new GroupNav($this, $this->group);
$nav->show();
}
/**
* Show the page content
*

View File

@ -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)),