]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add a link to add a new group to user groups list
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 01:25:09 +0000 (02:25 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 01:25:09 +0000 (02:25 +0100)
actions/usergroups.php

index f56f9c6b29119c3c1ced54e05fab06c7d983c813..25287221479931130be306cc7e4eda9985b42037 100644 (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;