phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.accounts_shared.inc.php, 1.56, 1.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] phpgwapi/inc class.accounts_shared.inc.php, 1.56, 1.57 class.nextmatchs.inc.php, 1.62, 1.63
Date: Tue, 11 Nov 2003 12:46:32 +0000

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv32435

Modified Files:
        class.accounts_shared.inc.php class.nextmatchs.inc.php 
Log Message:
update nextmatchs

Index: class.nextmatchs.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.nextmatchs.inc.php,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** class.nextmatchs.inc.php    10 Nov 2003 17:31:38 -0000      1.62
--- class.nextmatchs.inc.php    11 Nov 2003 12:46:30 -0000      1.63
***************
*** 714,717 ****
--- 714,747 ----
                }
  
+               function xslt_tpl($values = 0)
+               {
+                       
$GLOBALS['phpgw']->xslttpl->add_file($GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
 . SEP . 'nextmatchs');
+ 
+                       $data = array
+                       (
+                               'allow_all_rows'        => 
(isset($values['allow_all_rows'])?False:'yes'),
+                               'start_record'          => 
intval($values['start']),
+                               'record_limit'          => $this->maxmatches,
+                               'num_records'           => 
intval($values['num_records']),
+                               'all_records'           => 
intval($values['all_records']),
+                               'nextmatchs_url'        => 
$values['nextmatchs_url'],
+                               'first_img'                     => 
$GLOBALS['phpgw']->common->image('phpgwapi','first'),
+                               'first_grey_img'        => 
$GLOBALS['phpgw']->common->image('phpgwapi','first-grey'),
+                               'left_img'                      => 
$GLOBALS['phpgw']->common->image('phpgwapi','left'),
+                               'left_grey_img'         => 
$GLOBALS['phpgw']->common->image('phpgwapi','left-grey'),
+                               'right_img'                     => 
$GLOBALS['phpgw']->common->image('phpgwapi','right'),
+                               'right_grey_img'        => 
$GLOBALS['phpgw']->common->image('phpgwapi','right-grey'),
+                               'last_img'                      => 
$GLOBALS['phpgw']->common->image('phpgwapi','last'),
+                               'last_grey_img'         => 
$GLOBALS['phpgw']->common->image('phpgwapi','last-grey'),
+                               'all_img'                       => 
$GLOBALS['phpgw']->common->image('phpgwapi','down_nm'),
+                               'title_first'           => lang('first page'),
+                               'title_previous'        => lang('previous 
page'),
+                               'title_next'            => lang('next page'),
+                               'title_last'            => lang('last page'),
+                               'title_all'                     => lang('all 
records')
+                       );
+                       return $data;
+               }
+ 
                /*!
                @function alternate_row_color

Index: class.accounts_shared.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.accounts_shared.inc.php,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** class.accounts_shared.inc.php       10 Nov 2003 17:31:37 -0000      1.56
--- class.accounts_shared.inc.php       11 Nov 2003 12:46:29 -0000      1.57
***************
*** 318,323 ****
  
                        
$GLOBALS['phpgw']->xslttpl->add_file(array($GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
 . SEP . 'accounts_popup',
!                                                                               
                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'search_field',
!                                                                               
                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'nextmatchs'));
  
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('select accounts');
--- 318,322 ----
  
                        
$GLOBALS['phpgw']->xslttpl->add_file(array($GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
 . SEP . 'accounts_popup',
!                                                                               
                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'search_field'));
  
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('select accounts');
***************
*** 622,633 ****
                        );
  
!                       $data = array
                        (
                                'start_record'                                  
=> $start,
-                               'record_limit'                                  
=> $GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'],
                                'num_records'                                   
=> count($val_users),
                                'all_records'                                   
=> $total,
!                               'nextmatchs_url'                                
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
!                               'nextmatchs_img_path'                   => 
$GLOBALS['phpgw']->common->get_image_path('phpgwapi','default',($GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']=='funkwerk'?True:False)),
                                'lang_searchfield_statustext'   => lang('Enter 
the search string. To show all entries, empty this field and press the SUBMIT 
button again'),
                                'lang_searchbutton_statustext'  => lang('Submit 
the search string'),
--- 621,635 ----
                        );
  
!                       $nm = array
                        (
                                'start_record'                                  
=> $start,
                                'num_records'                                   
=> count($val_users),
                                'all_records'                                   
=> $total,
!                               'nextmatchs_url'                                
=> $GLOBALS['phpgw']->link('/index.php',$link_data)
!                       );
! 
!                       $data = array
!                       (
!                               'nm_data'                                       
        => $this->nextmatchs->xslt_tpl($nm),
                                'lang_searchfield_statustext'   => lang('Enter 
the search string. To show all entries, empty this field and press the SUBMIT 
button again'),
                                'lang_searchbutton_statustext'  => lang('Submit 
the search string'),





reply via email to

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