1
0

removed TEMPLATE_SWITCH

This commit is contained in:
onli
2013-05-27 21:06:52 +02:00
parent 9f59ab6081
commit a56b5382e1
36 changed files with 16 additions and 2635 deletions

View File

@ -41,8 +41,7 @@ if (!is_object($serendipity['smarty'])) {
}
$serendipity['smarty']->assign($data);
$tpldir = ( !defined('SWITCH_TEMPLATE_VERSION') ) ? 'tplold' : 'tpl';
$tfile = dirname(__FILE__) . "/$tpldir/overview.inc.tpl";
$tfile = dirname(__FILE__) . "/tpl/overview.inc.tpl";
$content = $serendipity['smarty']->fetch('file:'. $tfile); // short notation with Smarty3 in S9y 1.7 and up
echo $content;