Add a link to add a new group to user groups list
This commit is contained in:
parent
f54f0a179a
commit
673ec133d2
@ -114,6 +114,10 @@ class UsergroupsAction extends Action
|
|||||||
|
|
||||||
function showContent()
|
function showContent()
|
||||||
{
|
{
|
||||||
|
$this->element('a', array('href' => common_local_url('newgroup'),
|
||||||
|
'id' => 'new_group'),
|
||||||
|
_('Create a new group'));
|
||||||
|
|
||||||
$offset = ($this->page-1) * GROUPS_PER_PAGE;
|
$offset = ($this->page-1) * GROUPS_PER_PAGE;
|
||||||
$limit = GROUPS_PER_PAGE + 1;
|
$limit = GROUPS_PER_PAGE + 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user