phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.nextmatchs.inc.php,1.43,1.44


From: Angelo Tony Puglisi <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.nextmatchs.inc.php,1.43,1.44
Date: Thu, 17 Jan 2002 15:52:34 -0500

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

Modified Files:
        class.nextmatchs.inc.php 
Log Message:
nextmatches arrows not plain href, no js anymore

Index: class.nextmatchs.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.nextmatchs.inc.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** class.nextmatchs.inc.php    30 Dec 2001 17:03:26 -0000      1.43
--- class.nextmatchs.inc.php    17 Jan 2002 20:52:31 -0000      1.44
***************
*** 737,744 ****
                        $out_vars['start'] = $feed_vars['start'];
                        // things that stay the same
                        $out_vars['total'] = $feed_vars['total'];
!                       $out_vars['cmd_prefix'] = $feed_vars['cmd_prefix'];
!                       $out_vars['cmd_suffix'] = $feed_vars['cmd_suffix'];
! 
                        // first page
                        if (($feed_vars['start'] != 0) &&
--- 737,743 ----
                        $out_vars['start'] = $feed_vars['start'];
                        // things that stay the same
+                       $out_vars['common_uri'] = $feed_vars['common_uri'];
                        $out_vars['total'] = $feed_vars['total'];
!                       
                        // first page
                        if (($feed_vars['start'] != 0) &&
***************
*** 750,754 ****
                        else
                        {
!                               $return_array['first_page'] = 
$this->set_icon_imap('left','first-grey.gif',lang('First page'));
                        }
                        // previous page
--- 749,753 ----
                        else
                        {
!                               $return_array['first_page']= 
$this->set_icon_imap('left','first-grey.gif',lang('First page'));
                        }
                        // previous page
***************
*** 798,802 ****
                        return $return_array;
                }
! 
                /*!
                @function set_link_imap
--- 797,801 ----
                        return $return_array;
                }
!               
                /*!
                @function set_link_imap
***************
*** 810,817 ****
                {
                        $img_full = 
$GLOBALS['phpgw']->common->image('phpgwapi',$img);
!                       $js_cmd = 
$out_vars['cmd_prefix'].$out_vars['start'].$out_vars['cmd_suffix'];
!                       return '<img src="'.$img_full.'" border="0" 
alt="'.$alt_text.'" width="12" height="12" onclick="'.$js_cmd.'">'."\r\n";
                }
! 
                function set_icon_imap($align,$img,$alt_text)
                {
--- 809,816 ----
                {
                        $img_full = 
$GLOBALS['phpgw']->common->image('phpgwapi',$img);
!                       $image_part = '<img src="'.$img_full.'" border="0" 
alt="'.$alt_text.'" width="12" height="12">';
!                       return '<a 
href="'.$out_vars['common_uri'].'&start='.$out_vars['start'].'">'.$image_part.'</a>';
                }
!               
                function set_icon_imap($align,$img,$alt_text)
                {




reply via email to

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