]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Ticket 1404. Showing the link to the members list page.
authorSarven Capadisli <csarven@controlyourself.ca>
Fri, 17 Apr 2009 01:11:38 +0000 (01:11 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Fri, 17 Apr 2009 01:11:38 +0000 (01:11 +0000)
actions/grouprss.php
actions/showgroup.php

index a9a2eef877c442396424ada89c55eab7289e27b8..0b7280a11c33648584096b95176eafb63fea7835 100644 (file)
@@ -34,7 +34,7 @@ if (!defined('LACONICA')) {
 
 require_once INSTALLDIR.'/lib/rssaction.php';
 
-define('MEMBERS_PER_SECTION', 81);
+define('MEMBERS_PER_SECTION', 27);
 
 /**
  * Group RSS feed
index 025f8383a276d56ab61dfa51ac830fac177ed06e..a7df397273af91e940b8fa816745add5df24f728 100644 (file)
@@ -35,7 +35,7 @@ if (!defined('LACONICA')) {
 require_once INSTALLDIR.'/lib/noticelist.php';
 require_once INSTALLDIR.'/lib/feedlist.php';
 
-define('MEMBERS_PER_SECTION', 81);
+define('MEMBERS_PER_SECTION', 27);
 
 /**
  * Group main page
@@ -361,7 +361,7 @@ class ShowgroupAction extends Action
              $this->element('p', null, _('(None)'));
         }
 
-        if ($cnt == MEMBERS_PER_SECTION) {
+        if ($cnt > MEMBERS_PER_SECTION) {
             $this->element('a', array('href' => common_local_url('groupmembers',
                                                                  array('nickname' => $this->group->nickname))),
                            _('All members'));