<?php
/**
* Product Title: board
* Product Version: 1.5.0
* Author: Michael McCune
* Website: Invision Focus
* Website URL: __invisionfocus.com/
* Email:
[email protected]
*/
if ( !defined( 'IN_IPB' ) )
{
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
exit();
}
$_SEOTEMPLATES = array( 'cat' => array( 'app' => 'board',
'allowRedirect' => 1,
'isPagesMode' => 1,
'out' => array( '#app=board(?:&|&)cat=(.+?)(&|$)#i', 'board/category/$1-#{__title__}/$2' ),
'in' => array( 'regex' => "#/board/category/(d+?)-#i",
'matches' => array( array( 'app', 'board' ), array( 'cat', '$1' ) ) ) ),
'article' => array( 'app' => 'board',
'allowRedirect' => 1,
'isPagesMode' => 1,
'out' => array( '#app=board(?:&|&)article=(.+?)(&|$|#)#i', 'board/article/$1-#{__title__}/$2' ),
'in' => array( 'regex' => "#/board/article/(d+?)-#i",
'matches' => array( array( 'app', 'board' ), array( 'article', '$1' ) ) ) ),
'all_comments' => array( 'app' => 'board',
'allowRedirect' => 1,
'isPagesMode' => 1,
'out' => array( '#app=board(?:&|&)module=display(?:&|&)section=comments?(&|$)#i', 'board/comments/&' ),
'in' => array( 'regex' => "#/board/comments#i",
'matches' => array( array( 'app', 'board' ), array( 'module', 'display' ), array( 'section', 'comments' ) ) ) ),
'adv_stats' => array( 'app' => 'board',
'allowRedirect' => 1,
'out' => array( '#app=board(?:&|&)module=display(?:&|&)section=stats?(&|$)#i', 'board/stats/$2' ),
'in' => array( 'regex' => "#/board/stats#i",
'matches' => array( array( 'app', 'board' ), array( 'module', 'display' ), array( 'section', 'stats' ) ) ) ),
'random_art' => array( 'app' => 'board',
'allowRedirect' => 1,
'out' => array( '#app=board(?:&|&)module=actions(?:&|&)section=random?(&|$)#i', 'board/random/$2' ),
'in' => array( 'regex' => "#/board/random#i",
'matches' => array( array( 'app', 'board' ), array( 'module', 'actions' ), array( 'section', 'random' ) ) ) ),
'app=board' => array( 'app' => 'board',
'allowRedirect' => 1,
'out' => array( '#app=board$#i', 'board/' ),
'in' => array( 'regex' => "#^/board/?$#i",
'matches' => array( array( 'app', 'board' ) ) ) ),
);
так?