phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.Template.inc.php,1.29,1.30


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.Template.inc.php,1.29,1.30
Date: Mon, 31 Mar 2003 11:51:27 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv11892

Modified Files:
        class.Template.inc.php 
Log Message:
made it more compatible with the version in 0.9.14

Index: class.Template.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.Template.inc.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** class.Template.inc.php      26 Oct 2002 00:27:46 -0000      1.29
--- class.Template.inc.php      31 Mar 2003 16:51:25 -0000      1.30
***************
*** 140,147 ****
                        // ralfbecker: readded for compatibility with old way 
to set blocks
                        
$this->set_var($parent,preg_replace($reg,'{'.$name.'}',$str));
                        if ($name != $handle)
                        {
                                $this->set_var($handle, $m[1][0]);
!                       }
                }
  
--- 140,150 ----
                        // ralfbecker: readded for compatibility with old way 
to set blocks
                        
$this->set_var($parent,preg_replace($reg,'{'.$name.'}',$str));
+               
+ /*    this is not compatible with the way 0.9.14 handles templates
                        if ($name != $handle)
                        {
                                $this->set_var($handle, $m[1][0]);
!                       } 
! */
                }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]