'; } $id = ''; $bbdata['id'] = ''; if (array_key_exists('id', $bbdata) && $bbdata['id'] != "") { $id = 'id="'.$bbdata['id'].'"'; } $bbcodes .= substr($bbdata['value'], 0, 1) != "!" ? "\n" : ""; if (array_key_exists('dropdown', $bbdata) && $bbdata['dropdown'] == TRUE) { $bbcodes .= "'; $bbcodes .= ''; } } unset ($__BBCODE__); return "
\n".$bbcodes."
\n"; } function strip_bbcodes($text) { return $text; global $p_data; if (iADMIN) { return $text; } $textarea_name = ""; $inputform_name = ""; $bbcode_cache = cache_bbcode(); foreach ($bbcode_cache as $bbcode) { $locale = fusion_get_locale('', LOCALE.LOCALESET.'bbcodes/'.$bbcode.'.php'); include(INCLUDES."bbcodes/".$bbcode."_bbcode_include_var.php"); } if (!empty($__BBCODE_NOT_QUOTABLE__) and is_array($__BBCODE_NOT_QUOTABLE__)) { foreach ($__BBCODE_NOT_QUOTABLE__ as $bbname) { $text = preg_replace('#\['.$bbname.'(.*?)\](.*?)\[/'.$bbname.'\]#si', '', $text); } unset($__BBCODE_NOT_QUOTABLE__); } return $text; }