aboutsummaryrefslogtreecommitdiffstats
path: root/include/template_processor.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/template_processor.php')
-rwxr-xr-xinclude/template_processor.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/template_processor.php b/include/template_processor.php
index 794155f84..74acc9c67 100755
--- a/include/template_processor.php
+++ b/include/template_processor.php
@@ -248,7 +248,11 @@
return $s;
}
-
+
+ private function replace($s,$r) {
+ $this->replace_macros($s, $r);
+ }
+
// TemplateEngine interface
public function replace_macros($s, $r) {
$this->r = $r;
@@ -274,7 +278,6 @@
public function get_markup_template($file, $root='') {
$template_file = theme_include($file, $root);
- $template_file = "";
if ($template_file) {
$content = file_get_contents($template_file);
}