forked from GNUsocial/gnu-social
		
	Group directory - add in asides
This commit is contained in:
		@@ -423,9 +423,6 @@ E_O_T
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // XXX This needs some adjustment
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
    function showSections()
 | 
			
		||||
    {
 | 
			
		||||
        $gbp = new GroupsByPostsSection($this);
 | 
			
		||||
@@ -433,6 +430,5 @@ E_O_T
 | 
			
		||||
        $gbm = new GroupsByMembersSection($this);
 | 
			
		||||
        $gbm->show();
 | 
			
		||||
    }
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -139,20 +139,6 @@ class SortableGroupListItem extends SortableSubscriptionListItem
 | 
			
		||||
        $this->owner = $owner;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function startItem()
 | 
			
		||||
    {
 | 
			
		||||
        $attr = array(
 | 
			
		||||
            'class' => 'profile',
 | 
			
		||||
            'id'    => 'profile-' . $this->profile->id
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
        if ($this->alt) {
 | 
			
		||||
            $attr['class'] .= ' alt';
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        $this->out->elementStart('tr', $attr);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function showHomepage()
 | 
			
		||||
    {
 | 
			
		||||
        if (!empty($this->profile->homepage)) {
 | 
			
		||||
@@ -197,33 +183,6 @@ class SortableGroupListItem extends SortableSubscriptionListItem
 | 
			
		||||
        $this->out->elementEnd('a');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function endItem()
 | 
			
		||||
    {
 | 
			
		||||
        $this->out->elementEnd('tr');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function startProfile()
 | 
			
		||||
    {
 | 
			
		||||
        $this->out->elementStart('td', 'entity_profile vcard entry-content');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function endProfile()
 | 
			
		||||
    {
 | 
			
		||||
        $this->out->elementEnd('td');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function startActions()
 | 
			
		||||
    {
 | 
			
		||||
        $this->out->elementStart('td', 'entity_actions');
 | 
			
		||||
        $this->out->elementStart('ul');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function endActions()
 | 
			
		||||
    {
 | 
			
		||||
        $this->out->elementEnd('ul');
 | 
			
		||||
        $this->out->elementEnd('td');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function show()
 | 
			
		||||
    {
 | 
			
		||||
        if (Event::handle('StartProfileListItem', array($this))) {
 | 
			
		||||
@@ -277,7 +236,7 @@ class SortableGroupListItem extends SortableSubscriptionListItem
 | 
			
		||||
 | 
			
		||||
    function showMemberCount()
 | 
			
		||||
    {
 | 
			
		||||
        $this->out->elementStart('td', 'entry_subscriber_count');
 | 
			
		||||
        $this->out->elementStart('td', 'entry_member_count');
 | 
			
		||||
        $this->out->raw($this->profile->getMemberCount());
 | 
			
		||||
        $this->out->elementEnd('td');
 | 
			
		||||
    }
 | 
			
		||||
@@ -291,7 +250,7 @@ class SortableGroupListItem extends SortableSubscriptionListItem
 | 
			
		||||
 | 
			
		||||
    function showAdmins()
 | 
			
		||||
    {
 | 
			
		||||
        $this->out->elementStart('td', 'entry_notice_count');
 | 
			
		||||
        $this->out->elementStart('td', 'entry_admins');
 | 
			
		||||
        // @todo
 | 
			
		||||
        $this->out->raw('gargargar');
 | 
			
		||||
        $this->out->elementEnd('td');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user