Hi:
I found a minor bug, the count page doesn't work in "Vendor" and "Sites" menu, it shows:
http://xxxxxx/cacti/plugins/mactrack/ma ... php&page=2
and should be:
http://xxxxxx/cacti/plugins/mactrack/ma ... ormacs.php?filter=&page=2
so, I changed from:
/* generate page list */
$url_page_select = str_replace("&page", "?page", get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, $row_limit, $total_rows, "mactrack_vendormacs.php"));
To:
/* generate page list */
$url_page_select = str_replace("&page", "?page", get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, $row_limit, $total_rows, "mactrack_vendormacs.php?filter="));
That's all.
Count Page "Vendor" and "Sites" Menu
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 0 guests