]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/groupaction.php
Remove missing twittersettings page from subscriptions helper
[quix0rs-gnu-social.git] / lib / groupaction.php
index 08de66b149637afb6d4e9ef3bda81be13b221f33..a5e62a2a5a523f3e3ea456bd4a833a4fcc0931ef 100644 (file)
@@ -92,7 +92,7 @@ class GroupAction extends Action
         $this->group = User_group::staticGet('id', $local->group_id);
 
         if (!$this->group) {
-                // TRANS: Client error displayed if no local group with a given name was found requesting group page.
+            // TRANS: Client error displayed if no local group with a given name was found requesting group page.
             $this->clientError(_('No such group.'), 404);
             return false;
         }
@@ -117,9 +117,13 @@ class GroupAction extends Action
             $this->showPending();
             $this->showBlocked();
         }
+
         $this->showAdmins();
-        $cloud = new GroupTagCloudSection($this, $this->group);
-        $cloud->show();
+
+        if (!common_config('performance', 'high')) {
+            $cloud = new GroupTagCloudSection($this, $this->group);
+            $cloud->show();
+        }
     }
 
     /**
@@ -139,12 +143,11 @@ class GroupAction extends Action
                                          'class' => 'section'));
 
         if (Event::handle('StartShowGroupMembersMiniList', array($this))) {
-
-            // TRANS: Header for mini list of group members on a group page (h2).
             $this->elementStart('h2');
 
             $this->element('a', array('href' => common_local_url('groupmembers', array('nickname' =>
                                                                                        $this->group->nickname))),
+                           // TRANS: Header for mini list of group members on a group page (h2).
                            _('Members'));
 
             $this->text(' ');
@@ -202,6 +205,7 @@ class GroupAction extends Action
 
             $this->element('a', array('href' => common_local_url('groupqueue', array('nickname' =>
                                                                                      $this->group->nickname))),
+                           // TRANS: Header for mini list of users with a pending membership request on a group page (h2).
                            _('Pending'));
 
             $this->text(' ');
@@ -236,6 +240,7 @@ class GroupAction extends Action
 
             $this->element('a', array('href' => common_local_url('blockedfromgroup', array('nickname' =>
                                                                                            $this->group->nickname))),
+                           // TRANS: Header for mini list of users that are blocked in a group page (h2).
                            _('Blocked'));
 
             $this->text(' ');