better have logic in php - fixes #165 1 b
This commit is contained in:
@ -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 : */
|
Reference in New Issue
Block a user