includes/template.php
changeset 118 0c5efda996bf
parent 115 261f367623af
child 125 fb31c951d3a2
--- a/includes/template.php	Fri Sep 07 00:48:51 2007 -0400
+++ b/includes/template.php	Fri Sep 07 16:25:16 2007 -0400
@@ -762,6 +762,12 @@
     $this->tpl_bool['sidebar_left']  = ( $this->tpl_strings['SIDEBAR_LEFT']  != $min) ? true : false;
     $this->tpl_bool['sidebar_right'] = ( $this->tpl_strings['SIDEBAR_RIGHT'] != $min) ? true : false;
     $this->tpl_bool['right_sidebar'] = $this->tpl_bool['sidebar_right']; // backward compatibility
+    
+    $code = $plugins->setHook('template_var_init_end');
+    foreach ( $code as $cmd )
+    {
+      eval($cmd);
+    }
   }
   
   function header($simple = false)