forked from GNUsocial/gnu-social
Remove superfluous whitespace.
This commit is contained in:
parent
5a37d0bdc6
commit
82e1716656
@ -41,7 +41,6 @@ define('MEMBERS_PER_SECTION', 27);
|
|||||||
* @author Zach Copley <zach@status.net>
|
* @author Zach Copley <zach@status.net>
|
||||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||||
* @link http://status.net/
|
* @link http://status.net/
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
class GroupAction extends Action
|
class GroupAction extends Action
|
||||||
{
|
{
|
||||||
@ -140,7 +139,7 @@ class GroupAction extends Action
|
|||||||
'class' => 'section'));
|
'class' => 'section'));
|
||||||
|
|
||||||
if (Event::handle('StartShowGroupMembersMiniList', array($this))) {
|
if (Event::handle('StartShowGroupMembersMiniList', array($this))) {
|
||||||
|
|
||||||
// TRANS: Header for mini list of group members on a group page (h2).
|
// TRANS: Header for mini list of group members on a group page (h2).
|
||||||
$this->elementStart('h2');
|
$this->elementStart('h2');
|
||||||
|
|
||||||
@ -151,7 +150,7 @@ class GroupAction extends Action
|
|||||||
$this->text(' ');
|
$this->text(' ');
|
||||||
|
|
||||||
$this->text($this->group->getMemberCount());
|
$this->text($this->group->getMemberCount());
|
||||||
|
|
||||||
$this->elementEnd('h2');
|
$this->elementEnd('h2');
|
||||||
|
|
||||||
$gmml = new GroupMembersMiniList($member, $this);
|
$gmml = new GroupMembersMiniList($member, $this);
|
||||||
@ -176,7 +175,6 @@ class GroupAction extends Action
|
|||||||
$this->elementEnd('div');
|
$this->elementEnd('div');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function showPending()
|
function showPending()
|
||||||
{
|
{
|
||||||
if ($this->group->join_policy != User_group::JOIN_POLICY_MODERATE) {
|
if ($this->group->join_policy != User_group::JOIN_POLICY_MODERATE) {
|
||||||
@ -199,7 +197,7 @@ class GroupAction extends Action
|
|||||||
'class' => 'section'));
|
'class' => 'section'));
|
||||||
|
|
||||||
if (Event::handle('StartShowGroupPendingMiniList', array($this))) {
|
if (Event::handle('StartShowGroupPendingMiniList', array($this))) {
|
||||||
|
|
||||||
$this->elementStart('h2');
|
$this->elementStart('h2');
|
||||||
|
|
||||||
$this->element('a', array('href' => common_local_url('groupqueue', array('nickname' =>
|
$this->element('a', array('href' => common_local_url('groupqueue', array('nickname' =>
|
||||||
@ -209,7 +207,7 @@ class GroupAction extends Action
|
|||||||
$this->text(' ');
|
$this->text(' ');
|
||||||
|
|
||||||
$this->text($pending);
|
$this->text($pending);
|
||||||
|
|
||||||
$this->elementEnd('h2');
|
$this->elementEnd('h2');
|
||||||
|
|
||||||
$gmml = new ProfileMiniList($request, $this);
|
$gmml = new ProfileMiniList($request, $this);
|
||||||
@ -233,7 +231,7 @@ class GroupAction extends Action
|
|||||||
'class' => 'section'));
|
'class' => 'section'));
|
||||||
|
|
||||||
if (Event::handle('StartShowGroupBlockedMiniList', array($this))) {
|
if (Event::handle('StartShowGroupBlockedMiniList', array($this))) {
|
||||||
|
|
||||||
$this->elementStart('h2');
|
$this->elementStart('h2');
|
||||||
|
|
||||||
$this->element('a', array('href' => common_local_url('blockedfromgroup', array('nickname' =>
|
$this->element('a', array('href' => common_local_url('blockedfromgroup', array('nickname' =>
|
||||||
@ -243,7 +241,7 @@ class GroupAction extends Action
|
|||||||
$this->text(' ');
|
$this->text(' ');
|
||||||
|
|
||||||
$this->text($this->group->getBlockedCount());
|
$this->text($this->group->getBlockedCount());
|
||||||
|
|
||||||
$this->elementEnd('h2');
|
$this->elementEnd('h2');
|
||||||
|
|
||||||
$gmml = new GroupBlockedMiniList($blocked, $this);
|
$gmml = new GroupBlockedMiniList($blocked, $this);
|
||||||
@ -279,7 +277,6 @@ class GroupAction extends Action
|
|||||||
$adminSection->show();
|
$adminSection->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function noticeFormOptions()
|
function noticeFormOptions()
|
||||||
{
|
{
|
||||||
$options = parent::noticeFormOptions();
|
$options = parent::noticeFormOptions();
|
||||||
@ -376,4 +373,3 @@ class ThreadingGroupNoticeStream extends ThreadingNoticeStream
|
|||||||
parent::__construct(new GroupNoticeStream($group, $profile));
|
parent::__construct(new GroupNoticeStream($group, $profile));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user