From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] urlfilter.dat: Added Older/Newer links at top of page Date: Tue, 26 Dec 2017 13:36:20 +0100 Message-ID: <20171226123620.2034-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0834516698108383634==" List-Id: --===============0834516698108383634== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, Triggered by: https://forum.ipfire.org/viewtopic.php?f=3D4&t=3D19998#p112930 Added 'Older'/'Newer'-links for better page browsing. Best, Matthias Signed-off-by: Matthias Fischer --- html/cgi-bin/logs.cgi/urlfilter.dat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/html/cgi-bin/logs.cgi/urlfilter.dat b/html/cgi-bin/logs.cgi/urlf= ilter.dat index ce642e1cb..221ed74ac 100644 --- a/html/cgi-bin/logs.cgi/urlfilter.dat +++ b/html/cgi-bin/logs.cgi/urlfilter.dat @@ -304,6 +304,10 @@ if ($cgiparams{'LOGTYPE'} eq 'urlfilter') =20 if ($logsettings{'LOGVIEW_REVERSE'} eq 'on') { @slice =3D reverse @slice; } =20 +if ($lines !=3D 0) { + +&oldernewer(); + if ($lines) { =20 @@ -369,7 +373,7 @@ if ($lines) print "
\n"; =20 } - +} &oldernewer(); =20 &Header::closebox(); --=20 2.15.1 --===============0834516698108383634==--