Add a link to add a new group to user groups list

This commit is contained in:
Evan Prodromou 2009-01-23 02:25:09 +01:00
parent f54f0a179a
commit 673ec133d2

View File

@ -114,6 +114,10 @@ class UsergroupsAction extends Action
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;
$limit = GROUPS_PER_PAGE + 1;