From 5761dd24a6d946a14bf857476242f972e7cd07d7 Mon Sep 17 00:00:00 2001 From: angles Date: Thu, 17 Jan 2002 20:52:31 +0000 Subject: [PATCH] nextmatches arrows not plain href, no js anymore --- phpgwapi/inc/class.nextmatchs.inc.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/phpgwapi/inc/class.nextmatchs.inc.php b/phpgwapi/inc/class.nextmatchs.inc.php index 60a38b9670..65d90f554b 100644 --- a/phpgwapi/inc/class.nextmatchs.inc.php +++ b/phpgwapi/inc/class.nextmatchs.inc.php @@ -736,10 +736,9 @@ // things that might change $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']; - $out_vars['cmd_prefix'] = $feed_vars['cmd_prefix']; - $out_vars['cmd_suffix'] = $feed_vars['cmd_suffix']; - + // first page if (($feed_vars['start'] != 0) && ($feed_vars['start'] > $this->maxmatches)) @@ -749,7 +748,7 @@ } else { - $return_array['first_page'] = $this->set_icon_imap('left','first-grey.gif',lang('First page')); + $return_array['first_page']= $this->set_icon_imap('left','first-grey.gif',lang('First page')); } // previous page if ($feed_vars['start'] != 0) @@ -797,7 +796,7 @@ } return $return_array; } - + /*! @function set_link_imap @abstract ? @@ -809,10 +808,10 @@ function set_link_imap($align,$img,$alt_text,$out_vars) { $img_full = $GLOBALS['phpgw']->common->image('phpgwapi',$img); - $js_cmd = $out_vars['cmd_prefix'].$out_vars['start'].$out_vars['cmd_suffix']; - return ''.$alt_text.''."\r\n"; + $image_part = ''.$alt_text.''; + return ''.$image_part.''; } - + function set_icon_imap($align,$img,$alt_text) { $img_full = $GLOBALS['phpgw']->common->image('phpgwapi',$img);