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

@ -251,8 +251,7 @@ if (!is_object($serendipity['smarty'])) {
}
$serendipity['smarty']->assign($data);
$tpldir = ( !defined('SWITCH_TEMPLATE_VERSION') ) ? 'tplold' : 'tpl';
$tfile = dirname(__FILE__) . "/$tpldir/users.inc.tpl";
$tfile = dirname(__FILE__) . "/tpl/users.inc.tpl";
$content = $serendipity['smarty']->fetch('file:'. $tfile);
echo $content;