From a2cff4195f9f2bae3e5e04444b3d41b75b7b99c8 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Fri, 21 Apr 2017 14:32:31 +0200 Subject: [PATCH] Added code to autocomplete with ux transactions --- pandora_console/include/functions_ui.php | 52 ++++++++++++++++++------ 1 file changed, 40 insertions(+), 12 deletions(-) diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index c951576511..68fe027615 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -1638,20 +1638,12 @@ function ui_pagination ($count, $url = false, $offset = 0, } $number_of_pages = ceil($count / $pagination); - //~ html_debug_print('number_of_pages'); - //~ html_debug_print($number_of_pages); $actual_page = floor($offset / $pagination); - //~ html_debug_print('actual_page'); - //~ html_debug_print($actual_page); $ini_page = floor($actual_page / $block_limit) * $block_limit; - //~ html_debug_print('ini_page'); - //~ html_debug_print($ini_page); $end_page = $ini_page + $block_limit - 1; if ($end_page > $number_of_pages) { $end_page = $number_of_pages - 1; } - //~ html_debug_print('end_page'); - //~ html_debug_print($end_page); $output = "