diff -r 105457df35e5 -r 4d9a4da1975b includes/pageprocess.php --- a/includes/pageprocess.php Mon Dec 31 21:16:27 2007 -0500 +++ b/includes/pageprocess.php Tue Jan 01 22:30:53 2008 -0500 @@ -646,6 +646,12 @@ echo $redir_html; } + $code = $plugins->setHook('pageprocess_render_head'); + foreach ( $code as $cmd ) + { + eval($cmd); + } + if ( $incl_inner_headers ) { $text = '?>' . RenderMan::render($text); @@ -658,6 +664,12 @@ // echo('
'.htmlspecialchars($text).'
'); eval ( $text ); + $code = $plugins->setHook('pageprocess_render_tail'); + foreach ( $code as $cmd ) + { + eval($cmd); + } + if ( $incl_inner_headers ) { display_page_footers();