[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.nextmatch_widget.inc.php,1.1
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.nextmatch_widget.inc.php,1.11,1.12 |
Date: |
Wed, 16 Oct 2002 11:22:33 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv8091
Modified Files:
class.nextmatch_widget.inc.php
Log Message:
- no empty data-line shown, if no data
- added option to disable nextmatch, if total entries <= nextmatch-max and no
search, filter or cat set
Index: class.nextmatch_widget.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.nextmatch_widget.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** class.nextmatch_widget.inc.php 16 Oct 2002 14:07:14 -0000 1.11
--- class.nextmatch_widget.inc.php 16 Oct 2002 15:22:06 -0000 1.12
***************
*** 119,123 ****
$max =
$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'];
$loop = False;
! if (is_array($value) && ($value['start_search'] ||
$value['cat_id'] != $old_value['cat_id'] ||
$old_value['filter'] != '' && $value['filter'] !=
$old_value['filter'] ||
$old_value['filter2'] != '' && $value['filter2'] !=
$old_value['filter2']))
--- 119,126 ----
$max =
$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'];
$loop = False;
! $is_array_value = is_array($value);
! $value['start'] = $old_value['start']; // need to be
set, to be reported back
!
! if ($is_array_value && ($value['start_search'] ||
$value['cat_id'] != $old_value['cat_id'] ||
$old_value['filter'] != '' && $value['filter'] !=
$old_value['filter'] ||
$old_value['filter2'] != '' && $value['filter2'] !=
$old_value['filter2']))
***************
*** 149,154 ****
$loop = True;
}
- $value['start'] = $old_value['start']; // need to be
set, to be reported back
-
return True;
}
--- 152,155 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.nextmatch_widget.inc.php,1.11,1.12,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: infolog/templates/default delete.tpl,1.8,NONE form.tpl,1.11,NONE info.css,1.3,NONE list.tpl,1.11,NONE
- Next by Date:
[Phpgroupware-cvs] CVS: property/setup tables_update.inc.php,1.12,1.13
- Previous by thread:
[Phpgroupware-cvs] CVS: infolog/templates/default delete.tpl,1.8,NONE form.tpl,1.11,NONE info.css,1.3,NONE list.tpl,1.11,NONE
- Next by thread:
[Phpgroupware-cvs] CVS: property/setup tables_update.inc.php,1.12,1.13
- Index(es):