1
0

assign has_freetag in backend

Fixes commit f60df79b15
References #245
This commit is contained in:
Ian
2014-12-06 15:52:31 +01:00
parent c004d90a6c
commit 0ffd02cf1c
2 changed files with 1 additions and 2 deletions

View File

@ -147,6 +147,7 @@ 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']);