forked from extern/egroupware
made it more compatible with the version in 0.9.14
This commit is contained in:
parent
ea968b1cd6
commit
64309e9e5a
@ -139,10 +139,13 @@
|
|||||||
$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)
|
||||||
|
Loading…
Reference in New Issue
Block a user