static function ParseBBCode($text) { require_once JPATH_SITE . DS . 'components' . DS . 'com_fst' . DS . 'helper' . DS . 'bbcode.php'; $output = bbcode::tohtml($text); return "<div class='bbcode'>{$output}</div>"; }