diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2004-02-15 14:03:19 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-02-15 14:03:19 +0000 |
commit | b745d5224f44e447fc5ed06d1804e10b58e7afd2 (patch) | |
tree | a8035fb95226c4546fe04e5e2f734b030ae1db04 /phpBB/adm | |
parent | d8609ba1c60803912c0b9de9c887290d7f6c5f90 (diff) | |
download | forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.tar forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.tar.gz forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.tar.bz2 forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.tar.xz forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.zip |
removed message type from message parser
assign message if specified
parse/decode html if enabled
validate url
git-svn-id: file:///svn/phpbb/trunk@4834 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm')
-rw-r--r-- | phpBB/adm/admin_attachments.php | 2 | ||||
-rw-r--r-- | phpBB/adm/admin_users.php | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/phpBB/adm/admin_attachments.php b/phpBB/adm/admin_attachments.php index e26cd7ddb8..bedef5885a 100644 --- a/phpBB/adm/admin_attachments.php +++ b/phpBB/adm/admin_attachments.php @@ -422,7 +422,7 @@ if ($submit && $mode == 'orphan') <h2><?php echo $user->lang['UPLOADING_FILES']; ?></h2> <?php include($phpbb_root_path . 'includes/message_parser.' . $phpEx); - $message_parser = new parse_message(0); + $message_parser = new parse_message(); $sql = 'SELECT forum_id, forum_name FROM ' . FORUMS_TABLE; diff --git a/phpBB/adm/admin_users.php b/phpBB/adm/admin_users.php index 506c8452fd..4dac8f1673 100644 --- a/phpBB/adm/admin_users.php +++ b/phpBB/adm/admin_users.php @@ -833,9 +833,7 @@ if ($submit || $preview || $deleteall || $deletemark) { include($phpbb_root_path . 'includes/message_parser.'.$phpEx); - $message_parser = new parse_message(); - - $message_parser->message = $signature; + $message_parser = new parse_message($signature); $message_parser->parse($enable_html, $enable_bbcode, $enable_urls, $enable_smilies); $sql_ary = array( @@ -1545,8 +1543,7 @@ function marklist(match, status) // Fudge-o-rama ... include($phpbb_root_path . 'includes/message_parser.'.$phpEx); - $message_parser = new parse_message(); - $message_parser->message = $signature_preview; + $message_parser = new parse_message($signature_preview); $message_parser->parse($enable_html, $enable_bbcode, $enable_urls, $enable_smilies); $signature_preview = $message_parser->message; |