1
0

remove remaining tplold-links

This commit is contained in:
onli
2013-05-30 21:00:20 +02:00
parent 615a1300ec
commit ff9c31b88e

@ -212,8 +212,7 @@ function show_plugins($event_only = false, $sidebars = null)
$data['total'] = $total;
$serendipity['smarty']->assign($data);
$tpldir = ( !defined('SWITCH_TEMPLATE_VERSION') ) ? 'tplold' : 'tpl';
$tfile = dirname(__FILE__) . "/admin/$tpldir/show_plugins.fnc.tpl";
$tfile = dirname(__FILE__) . "/admin/tpl/show_plugins.fnc.tpl";
$serendipity['smarty']->display('file:'. $tfile);
}
@ -244,8 +243,7 @@ function ownership($authorid, $name, $is_plugin_owner = false) {
$data['show_ownership'] = true;
$serendipity['smarty']->assign($data);
$tpldir = ( !defined('SWITCH_TEMPLATE_VERSION') ) ? 'tplold' : 'tpl';
$tfile = dirname(__FILE__) . "/admin/$tpldir/show_ownership.fnc.tpl";
$tfile = dirname(__FILE__) . "/admin/tpl/show_ownership.fnc.tpl";
$serendipity['smarty']->display('file:'. $tfile);
}
@ -320,8 +318,7 @@ function serendipity_plugin_config(&$plugin, &$bag, &$name, &$desc, &$config_nam
if (!is_object($serendipity['smarty'])) {
serendipity_smarty_init();
}
$tpldir = ( !defined('SWITCH_TEMPLATE_VERSION') ) ? 'tplold' : 'tpl';
$tfile = dirname(__FILE__) . "/admin/$tpldir/out_stack_loop.tpl";
$tfile = dirname(__FILE__) . "/admin/tpl/out_stack_loop.tpl";
$data = array();
@ -753,8 +750,7 @@ function serendipity_plugin_config(&$plugin, &$bag, &$name, &$desc, &$config_nam
}
$serendipity['smarty']->assign($data);
$tpldir = ( !defined('SWITCH_TEMPLATE_VERSION') ) ? 'tplold' : 'tpl';
$tfile = dirname(__FILE__) . "/admin/$tpldir/serendipity_plugin_config.fnc.tpl";
$tfile = dirname(__FILE__) . "/admin/tpl/serendipity_plugin_config.fnc.tpl";
$content = $serendipity['smarty']->fetch('file:'. $tfile);
echo $content;