parse($allow_bbcode, $allow_urls, $allow_smilies); $text = $message_parser->message; $bbcode_uid = $message_parser->bbcode_uid; $bbcode_bitfield = $message_parser->bbcode_bitfield; $bbcode = new bbcode(base64_encode($bbcode_bitfield)); $text = censor_text($text); $bbcode->bbcode_second_pass($text, $bbcode_uid, $bbcode_bitfield); $text = bbcode_nl2br($text); $text = smiley_text($text); $template->assign_vars(array( 'S_DISPLAY_WELCOME' => true, 'PORTAL_WELCOME_INTRO' => $text, )); ?>