* Added new event hook frontend_sidebar_plugins to iterate through

sidebar plugins and modify their output. $eventData is the array
      of their data. (garvinhicking)
This commit is contained in:
Garvin Hicking 2009-08-11 19:53:10 +00:00
parent fa260b9d5e
commit 10875cea45
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,10 @@
Version 1.5 ()
------------------------------------------------------------------------
* Added new event hook frontend_sidebar_plugins to iterate through
sidebar plugins and modify their output. $eventData is the array
of their data. (garvinhicking)
* Added ability to specify a custom Xinha config. Either supply
a 'my_custom.js' file inside the template directory, or if
omitted, the default htmlarea/my_custom.js is used. With this

View File

@ -870,6 +870,8 @@ class serendipity_plugin_api
}
}
serendipity_plugin_api::hook_event('frontend_sidebar_plugins', $pluginData, $addData);
$serendipity['smarty']->assign_by_ref('plugindata', $pluginData);
$serendipity['smarty']->assign('pluginside', ucfirst($side));