* @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
* @link http://status.net/
- *
*/
class GroupAction extends Action
{
'class' => 'section'));
if (Event::handle('StartShowGroupMembersMiniList', array($this))) {
-
+
// TRANS: Header for mini list of group members on a group page (h2).
$this->elementStart('h2');
$this->text(' ');
$this->text($this->group->getMemberCount());
-
+
$this->elementEnd('h2');
$gmml = new GroupMembersMiniList($member, $this);
$this->elementEnd('div');
}
-
function showPending()
{
if ($this->group->join_policy != User_group::JOIN_POLICY_MODERATE) {
'class' => 'section'));
if (Event::handle('StartShowGroupPendingMiniList', array($this))) {
-
+
$this->elementStart('h2');
$this->element('a', array('href' => common_local_url('groupqueue', array('nickname' =>
$this->text(' ');
$this->text($pending);
-
+
$this->elementEnd('h2');
$gmml = new ProfileMiniList($request, $this);
'class' => 'section'));
if (Event::handle('StartShowGroupBlockedMiniList', array($this))) {
-
+
$this->elementStart('h2');
$this->element('a', array('href' => common_local_url('blockedfromgroup', array('nickname' =>
$this->text(' ');
$this->text($this->group->getBlockedCount());
-
+
$this->elementEnd('h2');
$gmml = new GroupBlockedMiniList($blocked, $this);
$adminSection->show();
}
-
function noticeFormOptions()
{
$options = parent::noticeFormOptions();
parent::__construct(new GroupNoticeStream($group, $profile));
}
}
-