/* Direct email addon */
$directEmailEnabled=TRUE;
$directEmailGuests=TRUE;
if($directEmailEnabled and $action=='userinfo') {
$fName=$pathToFiles.'lang/directemail_'.$lang.'.php';
if(file_exists($fName)) include($fName); else include($pathToFiles.'lang/directemail_eng.php');
}
if($directEmailEnabled and $action=='senddirect' and $genEmailDisable!=1) include($pathToFiles.'addon_directemail.php');
/* --Direct email addon */


function parseMessage(){

/* Direct email add-on - Report link */
if($GLOBALS['user_id']>1 or ($GLOBALS['user_id']==0 and $GLOBALS['directEmailGuests']) ) {
$GLOBALS['reportLink']=" <a href=\"{$GLOBALS['main_url']}/{$GLOBALS['indexphp']}action=senddirect&amp;user=1&amp;reportPost={$GLOBALS['cols'][6]}&amp;page={$GLOBALS['page']}\" class=\"mnblnk\">Report</a>";
}
/* --Direct email add-on - Report link */

return;
}