--- 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('<pre>'.htmlspecialchars($text).'</pre>');
eval ( $text );
+ $code = $plugins->setHook('pageprocess_render_tail');
+ foreach ( $code as $cmd )
+ {
+ eval($cmd);
+ }
+
if ( $incl_inner_headers )
{
display_page_footers();