Version 4.7.8

This commit is contained in:
Neo committed 2025-12-19 16:10:42 -08:00
1 parent 7b7404e741
commit fd22d99e69
688 files changed
+19814 -10890

No files matched your search

+10
View File
@@ -157,6 +157,12 @@ class _Page extends \IPS\Patterns\ActiveRecord
'moderator' => 'club_page_moderators'
) ) ) );
}
/* Add the index setting if this page is shown to guests */
if ( $club->type !== \IPS\Member\Club::TYPE_PRIVATE AND \IPS\Member::loggedIn()->group['gbw_club_manage_indexing'] )
{
$form->add( new \IPS\Helpers\Form\YesNo('club_page_meta_index', ( $current ) ? $current->meta_index : TRUE, FALSE, [], NULL, NULL, NULL, 'club_page_meta_index' ) );
}
}
/**
@@ -178,6 +184,10 @@ class _Page extends \IPS\Patterns\ActiveRecord
{
$this->can_view = NULL;
}
if( array_key_exists( 'club_page_meta_index', $values ) )
{
$this->meta_index = $values['club_page_meta_index'];
}
}
/**