1
0

allow php class_exists in smarty security and better 0ffd02c

Rferences #245
This commit is contained in:
Ian
2014-12-10 12:01:15 +01:00
parent 698c6ce698
commit ffe93c92fc
3 changed files with 3 additions and 4 deletions

View File

@ -147,7 +147,6 @@ function serendipity_printEntryForm($targetURL, $hiddens = array(), $entry = arr
serendipity_smarty_init();
$serendipity['smarty']->registerPlugin('modifier', 'emit_htmlarea_code', 'serendipity_emit_htmlarea_code');
$serendipity['smarty']->assign('admin_view', 'entryform');
$serendipity['smarty']->assign('has_freetag', class_exists('serendipity_event_freetag'));
serendipity_plugin_api::hook_event('backend_entryform_smarty', $template_vars);
$serendipity['smarty']->assignByRef('entry_vars', $template_vars);
return serendipity_smarty_show($template_vars['entry_template']);