fix internal
This commit is contained in:
parent
31a21ac24c
commit
c753fa19d2
@ -249,6 +249,10 @@
|
|||||||
return $s;
|
return $s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function replace($s,$r) {
|
||||||
|
$this->replace_macros($s, $r);
|
||||||
|
}
|
||||||
|
|
||||||
// TemplateEngine interface
|
// TemplateEngine interface
|
||||||
public function replace_macros($s, $r) {
|
public function replace_macros($s, $r) {
|
||||||
$this->r = $r;
|
$this->r = $r;
|
||||||
@ -274,7 +278,6 @@
|
|||||||
|
|
||||||
public function get_markup_template($file, $root='') {
|
public function get_markup_template($file, $root='') {
|
||||||
$template_file = theme_include($file, $root);
|
$template_file = theme_include($file, $root);
|
||||||
$template_file = "";
|
|
||||||
if ($template_file) {
|
if ($template_file) {
|
||||||
$content = file_get_contents($template_file);
|
$content = file_get_contents($template_file);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user