]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/usergroups.php
Added missing type-hint for EndPublicGroupNav (it is Menu).
[quix0rs-gnu-social.git] / actions / usergroups.php
index 84f159f38dfd5aececa100c3a562c1fd9e56aa28..ce5dc20178102b03dc39ee74b35aadca6963b5c5 100644 (file)
@@ -65,13 +65,13 @@ class UsergroupsAction extends GalleryAction
     function showPageNotice()
     {
         if ($this->scoped instanceof Profile && $this->scoped->sameAs($this->getTarget())) {
-            $this->element('p', null,
+            $this->element('p', 'instructions',
                            // TRANS: Page notice for page with an overview of all subscribed groups
                            // TRANS: of the logged in user's own profile.
                            _('These are the groups whose notices '.
                              'you listen to.'));
         } else {
-            $this->element('p', null,
+            $this->element('p', 'instructions',
                            // TRANS: Page notice for page with an overview of all groups a user other
                            // TRANS: than the logged in user. %s is the user nickname.
                            sprintf(_('These are the groups whose '.
@@ -129,7 +129,6 @@ class UsergroupsAction extends GalleryAction
         // TRANS: %s is a user nickname.
         $message = sprintf(_('%s is not a member of any group.'), $this->getTarget()->getNickname()) . ' ';
         if (common_logged_in()) {
-            $current_user = common_current_user();
             if ($this->scoped->sameAs($this->getTarget())) {
                 // TRANS: Text on group page for a user that is not a member of any group. This message contains
                 // TRANS: a Markdown link in the form [link text](link) and a variable that should not be changed.