[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.1,1.2 |
Date: |
Tue, 17 Sep 2002 18:53:34 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv3614
Modified Files:
class.nextmatch_widget.inc.php
Log Message:
showing the range of shown entries like eg. '1 - 20 of 100'
Index: class.nextmatch_widget.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.nextmatch_widget.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.nextmatch_widget.inc.php 17 Sep 2002 21:31:01 -0000 1.1
--- class.nextmatch_widget.inc.php 17 Sep 2002 22:53:32 -0000 1.2
***************
*** 59,62 ****
--- 59,64 ----
$start = $value['start'];
$max =
$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'];
+ $end = $start+$max > $total ? $total : $start+$max;
+ $value['range'] = (1+$start) . ' - ' . $end;
$nextmatch->set_cell_attribute('first','readonly',$start <= 0);
$nextmatch->set_cell_attribute('left',
'readonly',$start <= 0);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.nextmatch_widget.inc.php,1.1,1.2,
Ralf Becker <address@hidden> <=