phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.22.2.6,1.2


From: Lars Kneschke <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.22.2.6,1.22.2.7 class.uiaccounts.inc.php,1.23.2.5,1.23.2.6
Date: Thu, 20 Mar 2003 20:15:16 -0500

Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv1825

Modified Files:
      Tag: Version-0_9_14-branch
        class.boaccounts.inc.php class.uiaccounts.inc.php 
Log Message:
make the userlist always starting at 0
the first page always showed to much accounts



Index: class.boaccounts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.boaccounts.inc.php,v
retrieving revision 1.22.2.6
retrieving revision 1.22.2.7
diff -C2 -r1.22.2.6 -r1.22.2.7
*** class.boaccounts.inc.php    12 Mar 2003 14:47:29 -0000      1.22.2.6
--- class.boaccounts.inc.php    21 Mar 2003 01:15:14 -0000      1.22.2.7
***************
*** 560,563 ****
--- 560,566 ----
                                        $this->save_user($userData);
                                        $GLOBALS['hook_values']['account_id'] = 
$userData['account_id'];
+                                       $GLOBALS['hook_values']['account_lid'] 
= $userData['account_lid'];
+                                       
$GLOBALS['hook_values']['account_firstname'] = $userData['account_firstname'];
+                                       
$GLOBALS['hook_values']['account_lastname'] = $userData['account_lastname'];
                                        
$GLOBALS['phpgw']->hooks->process('editaccount');
  

Index: class.uiaccounts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uiaccounts.inc.php,v
retrieving revision 1.23.2.5
retrieving revision 1.23.2.6
diff -C2 -r1.23.2.5 -r1.23.2.6
*** class.uiaccounts.inc.php    27 Feb 2003 21:30:35 -0000      1.23.2.5
--- class.uiaccounts.inc.php    21 Mar 2003 01:15:14 -0000      1.23.2.6
***************
*** 179,185 ****
                                $cd = $param_cd;
                        }
! 
!                       $GLOBALS['query'] = 
(isset($GLOBALS['HTTP_POST_VARS']['query'])?$GLOBALS['HTTP_POST_VARS']['query']:'');
!                       $start = 
(isset($GLOBALS['HTTP_POST_VARS']['start'])?intval($GLOBALS['HTTP_POST_VARS']['start']):'');
                        
                        unset($GLOBALS['phpgw_info']['flags']['noheader']);
--- 179,196 ----
                                $cd = $param_cd;
                        }
!                       
!                       if(isset($GLOBALS['HTTP_POST_VARS']['query']))
!                       {
!                               $GLOBALS['query'] = 
$GLOBALS['HTTP_POST_VARS']['query'];
!                       }
!                       
!                       if(isset($GLOBALS['HTTP_POST_VARS']['start']))
!                       {
!                               $start = 
intval($GLOBALS['HTTP_POST_VARS']['start']);
!                       }
!                       else
!                       {
!                               $start = 0;
!                       }
                        
                        unset($GLOBALS['phpgw_info']['flags']['noheader']);
***************
*** 228,232 ****
                        );
                        $p->set_var($var);
! 
                        if (! 
$GLOBALS['phpgw']->acl->check('account_access',4,'admin'))
                        {
--- 239,243 ----
                        );
                        $p->set_var($var);
!                       
                        if (! 
$GLOBALS['phpgw']->acl->check('account_access',4,'admin'))
                        {
***************
*** 236,240 ****
                        if (! 
$GLOBALS['phpgw']->acl->check('account_access',2,'admin'))
                        {
!                               $p->set_var('input_search',lang('Search') . 
'&nbsp;<input type="text" name="query">');
                        }
  
--- 247,251 ----
                        if (! 
$GLOBALS['phpgw']->acl->check('account_access',2,'admin'))
                        {
!                               $p->set_var('input_search',lang('Search') . 
'&nbsp;<input type="text" name="query" value='.$GLOBALS['query'].'>');
                        }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]