summaryrefslogtreecommitdiff
path: root/actions/usergroups.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-23 02:25:09 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-23 02:25:09 +0100
commit673ec133d2d36a436c951150a943a4fd4e759537 (patch)
treed4cf16ceb351d97a3ceb8979fe4c00bfa4fa35fd /actions/usergroups.php
parentf54f0a179a0369e145f02c8caed44644a8be6167 (diff)
Add a link to add a new group to user groups list
Diffstat (limited to 'actions/usergroups.php')
-rw-r--r--actions/usergroups.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/actions/usergroups.php b/actions/usergroups.php
index f56f9c6b2..252872214 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;