So,
check_file_for_given_string({SEARCH_STRING}); function replace($string) { $strings = array("{SEARCH_STRING}", "{TEMPLATE}", "{BLABLA}"); if(in_array($string, $strings)) { if($string == "{SEARCH_STRING}") { replace_the_found_string_with(<?php include("core/func/widget/search_results.php"); ?>); } } }If only there were a 'replace_the_found_string_with' function and a 'check_file_for_given_string' function, a man can dream... Thoughts on how this could be done, in an efficient way?
Obviously I code code myself a function that searches through a file or something like that, for the first function that is.
Also, did the highlighter break or something?