[ticket/12885] New if for Index-page - board-index-text switch

PHPBB3-12885
Merge pull request #3161 from Crizz0/ticket/12885

[ticket/12885] New if for Index-page - board-index-text switch