phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.16,1.17


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.16,1.17
Date: Tue, 24 Sep 2002 17:55:20 -0400

Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv5409

Modified Files:
        class.editor.inc.php 
Log Message:
show values now preservs the values which are arrays

Index: class.editor.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.editor.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** class.editor.inc.php        24 Sep 2002 09:58:07 -0000      1.16
--- class.editor.inc.php        24 Sep 2002 21:55:16 -0000      1.17
***************
*** 625,629 ****
                                {
                                        $vals["@$r"] = $key;
!                                       $vals["A$r"] = $val;
                                }
                                $show->data[$show->rows]['A']['name'] = 
'etemplate.editor.values';
--- 625,629 ----
                                {
                                        $vals["@$r"] = $key;
!                                       $vals["A$r"] = is_array($val) ? 
htmlspecialchars(serialize($val)).'#SeR#' : $val;
                                }
                                $show->data[$show->rows]['A']['name'] = 
'etemplate.editor.values';
***************
*** 639,643 ****
                                for ($r = 1; isset($vals["A$r"]); ++$r)
                                {
!                                       $content['cont'][$olds["@$r"]] = 
$vals["A$r"];
                                }
                        }
--- 639,644 ----
                                for ($r = 1; isset($vals["A$r"]); ++$r)
                                {
!                                       $content['cont'][$olds["@$r"]] = 
substr($vals["A$r"],-5)=='#SeR#' ?
!                                               
unserialize(substr($vals["A$r"],0,-5)) : $vals["A$r"];
                                }
                        }





reply via email to

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