]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/groupnav.php
Allow users to be unblocked from a group
[quix0rs-gnu-social.git] / lib / groupnav.php
index 90bdc10149b30cda2cb0aab8dca759d615e90c78..194247982cc6ae7e6b25c71fd816125902d9d66e 100644 (file)
@@ -95,6 +95,12 @@ class GroupNav extends Widget
         $cur = common_current_user();
 
         if ($cur && $cur->isAdmin($this->group)) {
+            $this->out->menuItem(common_local_url('blockedfromgroup', array('nickname' =>
+                                                                            $nickname)),
+                                 _('Blocked'),
+                                 sprintf(_('%s blocked users'), $nickname),
+                                 $action_name == 'blockedfromgroup',
+                                 'nav_group_blocked');
             $this->out->menuItem(common_local_url('editgroup', array('nickname' =>
                                                                      $nickname)),
                                  _('Admin'),