','',$content_html); $content_html=explode('',$new_file); $head_html=$content_html[0]; $content_html=$content_html[1]; $array_glossary=GlossaryManager::get_glossary_terms(); if (count($array_glossary)>0) { foreach ($array_glossary as $index_glossary => $value_glossary) { $to_be_replaced[]=$str_href=''.$value_glossary['name'].''; $to_replaced[]=$value_glossary['name']; } } $new_file=str_replace($to_replaced,$to_be_replaced,$content_html); $new_file=$head_html.$new_file; echo $new_file; ?>