$r[$a] = $this->_get_var($b);
}
$this->nodes = Array();
- $tpl = load_view_file($tplfile);
+ $tpl = get_markup_template($tplfile);
$ret = $this->replace($tpl, $r);
$this->_pop_stack();
return $ret;
#$s = str_replace(array("\n","\r"),array("§n§","§r§"),$s);
$s = $this->_build_nodes($s);
$s = preg_replace_callback('/\|\|([0-9]+)\|\|/', array($this, "_replcb_node"), $s);
- $s = str_replace($this->search,$this->replace,$s);
+ $s = str_replace($this->search,$this->replace, (string) $s);
return $s;
}