for those having problems with the edit posts and new threads posts, PMS etc etc i have made this little addition that will switch to the light version if you view them pages (i think it works lol)
PHP Code:
$thisscriptis = array(
'editpost',
'register',
'newreply',
'newthread',
'sendmessage'
);
if (!in_array(THIS_SCRIPT, $thisscriptis))
{
$patterns = array('/\>\s+\</', '/^\s*/m');
$replace = array('> <', '');
$vartext = preg_replace($patterns, $replace, $vartext);
}
else
{
$vartext = preg_replace('/\>\s+\</', '> <', $vartext);
}
thanks to mystic for the code fix i forgot to add
i wrote that out really quick so sorry if its not coded proppa but you get the idea