function convert_anchor_tag($url, $text, $pref = "") { if ($this->allow["LOG_ANCHOR"] == "N") { return "[URL]" . $text . "[/URL]"; } else { return parent::convert_anchor_tag($url, $text, $pref); } }