summaryrefslogtreecommitdiff
path: root/actions/usergroups.php
diff options
context:
space:
mode:
authorMeitar Moscovitz <meitarm@gmail.com>2009-02-07 04:03:25 +1100
committerMeitar Moscovitz <meitarm@gmail.com>2009-02-07 04:03:25 +1100
commit8ec312043f8f4026d560e2cd0805200cb6c0f31a (patch)
treef3929b1b1b0d8b14016cc9d103f6f572518067ba /actions/usergroups.php
parent5cdead72cdee1261e506cdc89dd81242bfb9ba84 (diff)
Add a link to the group search page from a user's own group list.
I've seen a request or two pop up for this on the Laconica group on Identica, and I'd personally like there to be a link to the search page from my own groups listing, as I often find myself looking for one and end up at my browser's address bar.
Diffstat (limited to 'actions/usergroups.php')
-rw-r--r--actions/usergroups.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/usergroups.php b/actions/usergroups.php
index 58cf7eeb6..ded4ba76b 100644
--- a/actions/usergroups.php
+++ b/actions/usergroups.php
@@ -125,6 +125,12 @@ class UsergroupsAction extends Action
_('Create a new group'));
$this->elementEnd('p');
+ $this->elementStart('p', array('id' => 'group_search'));
+ $this->element('a', array('href' => common_local_url('groupsearch'),
+ 'class' => 'more'),
+ _('Search for more groups'));
+ $this->elementEnd('p');
+
$offset = ($this->page-1) * GROUPS_PER_PAGE;
$limit = GROUPS_PER_PAGE + 1;