fixed lost filter in navigation bar
This commit is contained in:
parent
efd310e705
commit
9a91103229
|
@ -224,22 +224,23 @@ function draw_navigation_bar ($count) {
|
|||
global $max_pageentrys;
|
||||
global $page;
|
||||
global $list;
|
||||
global $searchfilter;
|
||||
|
||||
echo ("<table class=\"groupnav\" width=\"100%\" border=\"0\">\n");
|
||||
echo ("<tr>\n");
|
||||
echo ("<td><input type=\"submit\" name=\"refresh\" value=\"" . _("Refresh") . "\"> ");
|
||||
if ($page != 1)
|
||||
echo ("<a class=\"userlist\" href=\"listgroups.php?page=" . ($page - 1) . "&list=" . $list . "\"><=</a>\n");
|
||||
echo ("<a class=\"userlist\" href=\"listgroups.php?page=" . ($page - 1) . "&list=" . $list . $searchfilter . "\"><=</a>\n");
|
||||
else
|
||||
echo ("<=");
|
||||
echo (" ");
|
||||
|
||||
if ($page < ($count / $max_pageentrys))
|
||||
echo ("<a class=\"userlist\" href=\"listgroups.php?page=" . ($page + 1) . "&list=" . $list . "\">=></a>\n");
|
||||
echo ("<a class=\"userlist\" href=\"listgroups.php?page=" . ($page + 1) . "&list=" . $list . $searchfilter . "\">=></a>\n");
|
||||
else
|
||||
echo ("=></td>");
|
||||
|
||||
echo ("<td style=\"color:red\" align=\"right\">");
|
||||
echo ("<td class=\"userlist_activepage\" align=\"right\">");
|
||||
for ($i = 0; $i < ($count / $max_pageentrys); $i++) {
|
||||
if ($i == $page - 1)
|
||||
echo (" " . ($i + 1));
|
||||
|
|
|
@ -207,22 +207,23 @@ function draw_navigation_bar ($count) {
|
|||
global $max_pageentrys;
|
||||
global $page;
|
||||
global $list;
|
||||
global $searchfilter;
|
||||
|
||||
echo ("<table class=\"hostnav\" width=\"100%\" border=\"0\">\n");
|
||||
echo ("<tr>\n");
|
||||
echo ("<td><input type=\"submit\" name=\"refresh\" value=\"" . _("Refresh") . "\"> ");
|
||||
if ($page != 1)
|
||||
echo ("<a class=\"userlist\" href=\"listhosts.php?page=" . ($page - 1) . "&list=" . $list . "\"><=</a>\n");
|
||||
echo ("<a class=\"userlist\" href=\"listhosts.php?page=" . ($page - 1) . "&list=" . $list . $searchfilter . "\"><=</a>\n");
|
||||
else
|
||||
echo ("<=");
|
||||
echo (" ");
|
||||
|
||||
if ($page < ($count / $max_pageentrys))
|
||||
echo ("<a class=\"userlist\" href=\"listhosts.php?page=" . ($page + 1) . "&list=" . $list . "\">=></a>\n");
|
||||
echo ("<a class=\"userlist\" href=\"listhosts.php?page=" . ($page + 1) . "&list=" . $list . $searchfilter . "\">=></a>\n");
|
||||
else
|
||||
echo ("=></td>");
|
||||
|
||||
echo ("<td style=\"color:red\" align=\"right\">");
|
||||
echo ("<td class=\"userlist_activepage\" align=\"right\">");
|
||||
for ($i = 0; $i < ($count / $max_pageentrys); $i++) {
|
||||
if ($i == $page - 1)
|
||||
echo (" " . ($i + 1));
|
||||
|
|
Loading…
Reference in New Issue