mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
template engine rework
- use smarty3 as default engine - new pluggable template engine system
This commit is contained in:
parent
a34b1ceb3a
commit
ddf1caf0fd
5 changed files with 136 additions and 34 deletions
11
object/TemplateEngine.php
Normal file
11
object/TemplateEngine.php
Normal 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_template_file($file, $root='');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue