diff options
author | Gina Haeussge <osd@foosel.net> | 2008-08-30 21:20:33 +0200 |
---|---|---|
committer | Gina Haeussge <osd@foosel.net> | 2008-08-30 21:20:33 +0200 |
commit | 7dee3468166de1bcaaf6062abb2ad20fedcea47c (patch) | |
tree | 859b3cd7e6ceb199cfb8213fcac7ae9451d8661e /inc | |
parent | 3c829837da502837a50ecf063483f64d64b5b121 (diff) | |
download | rpg-7dee3468166de1bcaaf6062abb2ad20fedcea47c.tar.gz rpg-7dee3468166de1bcaaf6062abb2ad20fedcea47c.tar.bz2 |
New event TPL_TOC_RENDER
This new event is triggered directly before rendering the TOC. An array
containing the current TOC items is given as eventdata and can be modified
by action plugins to e.g. add additional items to the TOC.
darcs-hash:20080830192033-2b4f5-29611563677679f5bfc0d030019e23d7e9a6bcf5.gz
Diffstat (limited to 'inc')
-rw-r--r-- | inc/template.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php index 9a874530d..5997e0d33 100644 --- a/inc/template.php +++ b/inc/template.php @@ -181,6 +181,7 @@ function tpl_toc($return=false){ } } + trigger_event('TPL_TOC_RENDER', $toc, NULL, false); $html = html_TOC($toc); if($return) return $html; echo $html; |