* more templates moved to Twig

This commit is contained in:
slawkens
2017-08-29 17:38:32 +02:00
parent 61bc3a616a
commit 8a87186833
20 changed files with 1674 additions and 880 deletions

View File

@@ -39,6 +39,7 @@ $function = new Twig_SimpleFunction('getStyle', function ($i) {
return getStyle($i);
});
$twig->addFunction($function);
$twig->addGlobal('config', $config);
// trim values we receive
if(isset($_POST))