From 1b7c32f825252ae0a9c752081331217cb8cfc5cd Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 26 May 2004 20:32:51 +0000 Subject: message/mail updates git-svn-id: file:///svn/phpbb/trunk@4898 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'phpBB/includes/functions_posting.php') diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index a0ccf9f1a3..4b2f2f2c71 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -105,7 +105,7 @@ function format_display(&$message, &$signature, $uid, $siguid, $enable_html, $en // If we allow users to disable display of emoticons we'll need an appropriate // check and preg_replace here - $message = smilie_text($message, !$enbale_smilies); + $message = smilie_text($message, !$enable_smilies); // Replace naughty words such as farty pants $message = str_replace("\n", '
', censor_text($message)); @@ -513,10 +513,6 @@ function create_thumbnail($source, $new_file, $mimetype) return true; } -// -// TODO -// - // DECODE TEXT -> This will/should be handled by bbcode.php eventually function decode_text(&$message, $bbcode_uid = '') { @@ -654,7 +650,7 @@ function posting_gen_inline_attachments($message_parser) function posting_gen_topic_types($forum_id, $cur_topic_type = POST_NORMAL) { - global $auth, $user, $template; + global $auth, $user, $template, $topic_type; $toggle = false; -- cgit v1.2.1