]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add correct li for css magic for block stuff
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 05:16:24 +0000 (22:16 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 05:16:24 +0000 (22:16 -0700)
actions/blockedfromgroup.php
actions/groupmembers.php

index 1b7b317843fecd13af4bfea08a538339a47e0078..541ebcfd90701d1074f038a97d46b08300b1d002 100644 (file)
@@ -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');
         }
     }
 }
index 150b60a54e10cf3347bdce12c03883c1720a5e9f..65790b7ca3108be6c17a62f7cc304cb85595dde0 100644 (file)
@@ -180,10 +180,12 @@ class GroupMemberListItem 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 GroupBlockForm($this->out, $this->profile, $this->group,
                                 array('action' => 'groupmembers',
                                       'nickname' => $this->group->nickname));
             $bf->show();
+            $this->out->elementEnd('li');
         }
 
     }