]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/blockedfromgroup.php
A script to GC sessions correctly
[quix0rs-gnu-social.git] / actions / blockedfromgroup.php
index 1b7b317843fecd13af4bfea08a538339a47e0078..5c1eab35425775693a8b067741352ac297c8e68b 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('LACONICA')) {
  * @link     http://laconi.ca/
  */
 
-class BlockedfromgroupAction extends Action
+class BlockedfromgroupAction extends GroupDesignAction
 {
     var $page = null;
 
@@ -176,10 +176,12 @@ class GroupBlockListItem extends ProfileListItem
         $user = common_current_user();
 
         if (!empty($user) && $user->id != $this->profile->id && $user->isAdmin($this->group)) {
+            $this->out->elementStart('li', 'entity_block');
             $bf = new GroupUnblockForm($this->out, $this->profile, $this->group,
                                        array('action' => 'blockedfromgroup',
                                              'nickname' => $this->group->nickname));
             $bf->show();
+            $this->out->elementEnd('li');
         }
     }
 }