use smarty3 as default template engine. add pluggable template system

This commit is contained in:
fabrixxm
2013-05-08 03:51:38 -04:00
parent 51c27579ba
commit 31a21ac24c
7 changed files with 178 additions and 68 deletions

11
include/ITemplateEngine.php Executable file
View File

@@ -0,0 +1,11 @@
<?php
require_once 'boot.php';
/**
* Interface for template engines
*/
interface ITemplateEngine {
public function replace_macros($s,$v);
public function get_markup_template($file, $root='');
}