1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

BBCode parser + decoder, missing some tags and mildly broken at this time

git-svn-id: file:///svn/phpbb/trunk@3812 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-04-11 00:19:29 +00:00
parent f17c36cea4
commit 4f55c9fb81
5 changed files with 479 additions and 570 deletions

View File

@@ -25,6 +25,8 @@ include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
// Instantiate BBCode class
$bbcode = new bbcode();
// Initial var setup
$forum_id = (isset($_GET['f'])) ? max(intval($_GET['f']), 0) : 0;
@@ -777,7 +779,7 @@ if ($row = $db->sql_fetchrow($result))
// Second parse bbcode here
$bbcode->bbcode_second_pass(&$message, $bbcode_uid, $row['bbcode_bitfield']);
// If we allow users to disable display of emoticons