Magnus Manske wrote:
$isRedirect = false ;
if ( trim ( substr ( $s , 0 , 10 ) ) == '#REDIRECT' ) $isRedirect = true ;
This needs to use the keywords so that translations of the "REDIRECT" keyword work as well. Also, the REDIRECT thingie is not supposed to be case-sensitive.
Timwi