From 673ec133d2d36a436c951150a943a4fd4e759537 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 23 Jan 2009 02:25:09 +0100 Subject: [PATCH] Add a link to add a new group to user groups list --- actions/usergroups.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/actions/usergroups.php b/actions/usergroups.php index f56f9c6b29..2528722147 100644 --- a/actions/usergroups.php +++ b/actions/usergroups.php @@ -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; -- 2.39.5