X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fusergroups.php;h=ded4ba76b1bc1bcd7371d33d91cd318008ba6a16;hb=28ef2ccf427683837dde29f8b89ea8d5378f287b;hp=20f2e5a75831d94400b1879b4369b08091eb77e2;hpb=a7c85bebd5be9ea019a8c80d74730d7eb28d4651;p=quix0rs-gnu-social.git diff --git a/actions/usergroups.php b/actions/usergroups.php index 20f2e5a758..ded4ba76b1 100644 --- a/actions/usergroups.php +++ b/actions/usergroups.php @@ -52,6 +52,11 @@ class UsergroupsAction extends Action var $page = null; var $profile = null; + function isReadOnly() + { + return true; + } + function title() { if ($this->page == 1) { @@ -114,9 +119,17 @@ class UsergroupsAction extends Action function showContent() { + $this->elementStart('p', array('id' => 'new_group')); $this->element('a', array('href' => common_local_url('newgroup'), - 'id' => 'new_group'), + 'class' => 'more'), _('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;