[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: infolog/inc class.linklist_widget.inc.php,NONE,1
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: infolog/inc class.linklist_widget.inc.php,NONE,1.1 class.linkto_widget.inc.php,1.2,1.3 |
Date: |
Tue, 24 Sep 2002 18:02:22 -0400 |
Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv14575
Modified Files:
class.linkto_widget.inc.php
Added Files:
class.linklist_widget.inc.php
Log Message:
changed interface for extensions to:
pre_process(&$cell,&$value,&$extension_data,&$readonlys)
post_process(&$cell,&$value,&$extension_data,&$loop)
***** Error reading new file: [Errno 2] No such file or directory:
'class.linklist_widget.inc.php'
Index: class.linkto_widget.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/class.linkto_widget.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.linkto_widget.inc.php 3 Sep 2002 23:08:00 -0000 1.2
--- class.linkto_widget.inc.php 24 Sep 2002 22:02:20 -0000 1.3
***************
*** 32,36 ****
}
! function pre_process(&$cell,&$value,&$templ)
{
$search = $value['search'] ? 1 : 0;
--- 32,36 ----
}
! function
pre_process(&$cell,&$value,&$extension_data,&$readonlys)
{
$search = $value['search'] ? 1 : 0;
***************
*** 40,44 ****
if ($search && count($ids =
$this->link->query($value['app'],$value['query'])))
{
!
$GLOBALS['phpgw_info']['etemplate']['extension_data']['linkto_widget'][$cell['name']]['app']
= $value['app'];
$value = array(
--- 40,44 ----
if ($search && count($ids =
$this->link->query($value['app'],$value['query'])))
{
! $extension_data['app'] = $value['app'];
$value = array(
***************
*** 53,57 ****
if (!$create)
{
!
$GLOBALS['phpgw_info']['etemplate']['extension_data']['linkto_widget'][$cell['name']]
= $value;
}
$value = array(
--- 53,57 ----
if (!$create)
{
! $extension_data = $value;
}
$value = array(
***************
*** 70,74 ****
}
! function post_process(&$cell,&$value,&$templ)
{
$search = $value['search'] ? 1 : 0;
--- 70,74 ----
}
! function post_process(&$cell,&$value,&$extension_data,&$loop)
{
$search = $value['search'] ? 1 : 0;
***************
*** 80,84 ****
if ($create)
{
! $value =
array_merge($value,$GLOBALS['phpgw_info']['etemplate']['extension_data']['linkto_widget'][$cell['name']]);
if ($value['to_app'])
// make the link
{
--- 80,84 ----
if ($create)
{
! $value = array_merge($value,$extension_data);
if ($value['to_app'])
// make the link
{
***************
*** 87,91 ****
}
}
! $templ->loop = $search || $create;
}
}
--- 87,91 ----
}
}
! $loop = $search || $create;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: infolog/inc class.linklist_widget.inc.php,NONE,1.1 class.linkto_widget.inc.php,1.2,1.3,
Ralf Becker <address@hidden> <=
- Prev 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
- Next by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.xul_io.inc.php,1.12,1.13
- Previous 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
- Next by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.xul_io.inc.php,1.12,1.13
- Index(es):