aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-05-26 20:32:51 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-05-26 20:32:51 +0000
commit1b7c32f825252ae0a9c752081331217cb8cfc5cd (patch)
tree6a0536fe6d5c2d55555453c89e7b965e1412cbe0 /phpBB/includes/functions_posting.php
parent40203496d8ee42d9643024895a058badca39e870 (diff)
downloadforums-1b7c32f825252ae0a9c752081331217cb8cfc5cd.tar
forums-1b7c32f825252ae0a9c752081331217cb8cfc5cd.tar.gz
forums-1b7c32f825252ae0a9c752081331217cb8cfc5cd.tar.bz2
forums-1b7c32f825252ae0a9c752081331217cb8cfc5cd.tar.xz
forums-1b7c32f825252ae0a9c752081331217cb8cfc5cd.zip
message/mail updates
git-svn-id: file:///svn/phpbb/trunk@4898 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php8
1 files changed, 2 insertions, 6 deletions
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", '<br />', 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;