fix eb5ac2d
to keep eventData array in the flow
This commit is contained in:
parent
eb5ac2dac1
commit
e7ff92136a
@ -181,7 +181,11 @@ if ( $serendipity['GET']['adminAction'] == 'edit' || $serendipity['GET']['adminA
|
||||
$categories = serendipity_fetchCategories('all');
|
||||
$categories = serendipity_walkRecursive($categories, 'categoryid', 'parentid', VIEWMODE_THREADED);
|
||||
$data['categories'] = $categories;
|
||||
// hook 'backend_category_showForm' moved to category.inc.tpl, to place inside the form
|
||||
// hook content as var to category.inc.tpl, to place inside the form
|
||||
ob_start();
|
||||
serendipity_plugin_api::hook_event('backend_category_showForm', $cid, $this_cat);
|
||||
$data['category_showForm'] = ob_get_contents();
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
|
||||
|
@ -143,7 +143,7 @@
|
||||
</figure>
|
||||
</div>
|
||||
|
||||
{serendipity_hookPlugin hook="backend_category_showForm" data=$cid hookAll="true"}
|
||||
{$category_showForm|default:''}
|
||||
|
||||
<a class="button_link" href="?serendipity[adminModule]=category&serendipity[adminAction]=view">{$CONST.BACK}</a>
|
||||
<input class="standalone" name="SAVE" type="submit" value="{$save}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user