1
0

better have logic in php - fixes 1 b

This commit is contained in:
Ian
2014-05-20 17:45:53 +02:00
parent b8e60cd7ef
commit 38204c4053
2 changed files with 6 additions and 4 deletions
include/admin
templates/2k11/admin

@ -214,6 +214,12 @@ foreach ($stack as $theme => $info) {
/* TODO: Smarty versioncheck */
}
$data['cur_tpl'] = $data['templates'][$data['cur_template']];
unset($data['templates'][$data['cur_template']]);
$data['cur_tpl_backend'] = $data['templates'][$data['cur_template_backend']];
echo serendipity_smarty_show('admin/templates.inc.tpl', $data);
/* vim: set sts=4 ts=4 expandtab : */