removing the pressed first, left, right and last button-values from the returned result, as we use them (only) internal

This commit is contained in:
Ralf Becker 2005-03-05 14:55:38 +00:00
parent df847f6d8f
commit 89dadea91f

View File

@ -320,21 +320,25 @@
elseif ($value['first'])
{
$value['start'] = 0;
unset($value['first']);
$loop = True;
}
elseif ($value['left'])
{
$value['start'] = $old_value['start'] - $max;
unset($value['left']);
$loop = True;
}
elseif ($value['right'])
{
$value['start'] = $old_value['start'] + $max;
unset($value['right']);
$loop = True;
}
elseif ($value['last'])
{
$value['start'] = (int) (($old_value['total']-2) / $max) * $max;
unset($value['last']);
$loop = True;
}
elseif ($nm_global['order'])