Version 4.7.8
This commit is contained in:
1 parent
7b7404e741
commit
fd22d99e69
688 files changed
+19814
-10890
No files matched your search
@@ -65,14 +65,19 @@ class _page extends \IPS\Dispatcher\Controller
|
||||
\IPS\Output::i()->sidebar['contextual'] .= \IPS\Theme::i()->getTemplate( 'clubs', 'core' )->clubLocationBox( $this->page->club, $location );
|
||||
}
|
||||
|
||||
if( $this->page->club->type != \IPS\Member\Club::TYPE_PUBLIC )
|
||||
if( $this->page->club->type != \IPS\Member\Club::TYPE_PUBLIC AND $this->page->club->canViewMembers() )
|
||||
{
|
||||
\IPS\Output::i()->sidebar['contextual'] .= \IPS\Theme::i()->getTemplate( 'clubs', 'core' )->clubMemberBox( $this->page->club );
|
||||
}
|
||||
|
||||
\IPS\Output::i()->breadcrumb[] = array( $this->page->club->url(), $this->page->club->name );
|
||||
\IPS\Output::i()->breadcrumb[] = array( NULL, $this->page->title );
|
||||
|
||||
|
||||
if( !$this->page->meta_index )
|
||||
{
|
||||
\IPS\Output::i()->metaTags['robots'] = 'noindex';
|
||||
}
|
||||
|
||||
parent::execute();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user