Move themes to resources/views/themes folder

This commit is contained in:
DariusIII
2018-03-06 14:36:00 +01:00
parent c73720863c
commit 873e2d4ad3
670 changed files with 27 additions and 857 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
/**
* Smarty plugin to execute PHP code.
*
* @author Uwe Tews
*/
/**
* Smarty {php}{/php} block plugin.
*
* @param string $content contents of the block
* @param object $template template object
* @param bool $ &$repeat repeat flag
* @return string content re-formatted
*/
function smarty_block_php($params, $content, $template, &$repeat)
{
if (! $template->allow_php_tag) {
throw new SmartyException('{php} is deprecated, set allow_php_tag = true to enable');
}
eval($content);
return '';
}