[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.3,1.4
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.3,1.4 |
Date: |
Mon, 13 May 2002 14:17:47 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv3551
Modified Files:
class.editor.inc.php
Log Message:
corrected some leftover from the last change (app_session and not more
HTTP_POST_VARS) in the template-test function show
Index: class.editor.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.editor.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.editor.inc.php 17 Feb 2002 19:09:15 -0000 1.3
--- class.editor.inc.php 13 May 2002 18:17:44 -0000 1.4
***************
*** 392,400 ****
if (!$msg && isset($post_vars['values']) &&
!isset($post_vars['vals']))
{
! $cont =
$this->etemplate->process_show($post_vars);
for ($r = 1; list($key,$val) = @each($cont);
++$r)
{
! $vals["A$r"] = $key;
! $vals["B$r"] = $val;
}
$show->data[$show->rows]['A']['name'] =
'etemplate.editor.values';
--- 392,401 ----
if (!$msg && isset($post_vars['values']) &&
!isset($post_vars['vals']))
{
! $cont = $post_vars['cont'];
! $this->etemplate->process_show($cont); // need
to be done manually as name is set to $this->etemplate object
for ($r = 1; list($key,$val) = @each($cont);
++$r)
{
! $vals["@$r"] = $key;
! $vals["A$r"] = $val;
}
$show->data[$show->rows]['A']['name'] =
'etemplate.editor.values';
***************
*** 406,414 ****
$show->data[$show->rows]['A']['name'] =
$this->etemplate;
$vals = $post_vars['vals'];
! $olds =
unserialize(stripslashes($post_vars['olds']));
! for ($r = 1; isset($vals["B$r"]); ++$r)
{
! $content['cont'][$olds["A$r"]] =
$vals["B$r"];
}
}
--- 407,415 ----
$show->data[$show->rows]['A']['name'] =
$this->etemplate;
$vals = $post_vars['vals'];
! $olds = $post_vars['olds'];
//unserialize(stripslashes($post_vars['olds']));
! for ($r = 1; isset($vals["A$r"]); ++$r)
{
! $content['cont'][$olds["@$r"]] =
$vals["A$r"];
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.3,1.4,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: infolog csv_import.php,1.7.2.1,1.7.2.2
- Next by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.date_widget.inc.php,NONE,1.1 class.datefield_widget.inc.php,NONE,1.1 class.boetemplate.inc.php,1.5,1.6 class.editor.inc.php,1.4,1.5 class.uietemplate.inc.php,1.4,1.5
- Previous by thread:
[Phpgroupware-cvs] CVS: infolog csv_import.php,1.7.2.1,1.7.2.2
- Next by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.date_widget.inc.php,NONE,1.1 class.datefield_widget.inc.php,NONE,1.1 class.boetemplate.inc.php,1.5,1.6 class.editor.inc.php,1.4,1.5 class.uietemplate.inc.php,1.4,1.5
- Index(es):