diff options
| author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-11 00:19:29 +0000 |
|---|---|---|
| committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-11 00:19:29 +0000 |
| commit | 4f55c9fb81287f7790a471ff5bf318cb8189d59f (patch) | |
| tree | c0e2d5e2e1f575f1dedfa925bd9d760eda6c8c78 /phpBB/viewtopic.php | |
| parent | f17c36cea455ac858511a9a191572a457c4a33f8 (diff) | |
| download | forums-4f55c9fb81287f7790a471ff5bf318cb8189d59f.tar forums-4f55c9fb81287f7790a471ff5bf318cb8189d59f.tar.gz forums-4f55c9fb81287f7790a471ff5bf318cb8189d59f.tar.bz2 forums-4f55c9fb81287f7790a471ff5bf318cb8189d59f.tar.xz forums-4f55c9fb81287f7790a471ff5bf318cb8189d59f.zip | |
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
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index cd1d8313ff..0ee15c0307 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -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 |
