From 9a91103229281a9dd9ba17bc1e5dc3d21227e076 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 23 May 2003 17:30:47 +0000 Subject: [PATCH] fixed lost filter in navigation bar --- lam/templates/lists/listgroups.php | 7 ++++--- lam/templates/lists/listhosts.php | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lam/templates/lists/listgroups.php b/lam/templates/lists/listgroups.php index 23e22e8e..4f27ad6a 100644 --- a/lam/templates/lists/listgroups.php +++ b/lam/templates/lists/listgroups.php @@ -224,22 +224,23 @@ function draw_navigation_bar ($count) { global $max_pageentrys; global $page; global $list; + global $searchfilter; echo ("\n"); echo ("\n"); echo (""); - echo ("
  "); if ($page != 1) - echo ("<=\n"); + echo ("<=\n"); else echo ("<="); echo (" "); if ($page < ($count / $max_pageentrys)) - echo ("=>\n"); + echo ("=>\n"); else echo ("=>"); + echo (""); for ($i = 0; $i < ($count / $max_pageentrys); $i++) { if ($i == $page - 1) echo (" " . ($i + 1)); diff --git a/lam/templates/lists/listhosts.php b/lam/templates/lists/listhosts.php index ef9ab8b3..332b5e42 100644 --- a/lam/templates/lists/listhosts.php +++ b/lam/templates/lists/listhosts.php @@ -207,22 +207,23 @@ function draw_navigation_bar ($count) { global $max_pageentrys; global $page; global $list; + global $searchfilter; echo ("\n"); echo ("\n"); echo (""); - echo ("
  "); if ($page != 1) - echo ("<=\n"); + echo ("<=\n"); else echo ("<="); echo (" "); if ($page < ($count / $max_pageentrys)) - echo ("=>\n"); + echo ("=>\n"); else echo ("=>"); + echo (""); for ($i = 0; $i < ($count / $max_pageentrys); $i++) { if ($i == $page - 1) echo (" " . ($i + 1));