[Top][All Lists]
[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"];
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.16,1.17,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.xul_io.inc.php,1.11,1.12
- Next by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.date_widget.inc.php,1.3,1.4 class.datefield_widget.inc.php,1.4,1.5 class.nextmatch_widget.inc.php,1.6,1.7 class.tab_widget.inc.php,1.5,1.6 class.uietemplate.inc.php,1.20,1.21
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.xul_io.inc.php,1.11,1.12
- Next by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.date_widget.inc.php,1.3,1.4 class.datefield_widget.inc.php,1.4,1.5 class.nextmatch_widget.inc.php,1.6,1.7 class.tab_widget.inc.php,1.5,1.6 class.uietemplate.inc.php,1.20,1.21
- Index(es):