require_once(DIR . '/includes/class_template_parser.php'); $parser = new vB_TemplateParser('<a class="title'); $parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible()); $find = trim($parser->_parse_nodes($parser->dom_doc->childNodes())); $parser = new vB_TemplateParser('<a style="{vb:raw thread.vsa_tlmu_css}" class="title'); $parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible()); $replace = trim($parser->_parse_nodes($parser->dom_doc->childNodes())); $vbulletin->templatecache['threadbit'] = str_replace($find, $replace, $vbulletin->templatecache['threadbit']); unset($find, $replace);