had to redo it as it breaks other stuff

This commit is contained in:
Ralf Becker 2003-03-31 17:34:38 +00:00
parent 64309e9e5a
commit 8a9884ec96

View File

@ -139,13 +139,10 @@
$this->set_var($name, $m[1][0]); $this->set_var($name, $m[1][0]);
// ralfbecker: readded for compatibility with old way to set blocks // ralfbecker: readded for compatibility with old way to set blocks
$this->set_var($parent,preg_replace($reg,'{'.$name.'}',$str)); $this->set_var($parent,preg_replace($reg,'{'.$name.'}',$str));
/* this is not compatible with the way 0.9.14 handles templates
if ($name != $handle) if ($name != $handle)
{ {
$this->set_var($handle, $m[1][0]); $this->set_var($handle, $m[1][0]);
} }
*/
} }
/* public: set_var(array $values) /* public: set_var(array $values)