]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
urlfilter.dat: Added Older/Newer links at top of page
authorMatthias Fischer <matthias.fischer@ipfire.org>
Tue, 26 Dec 2017 12:36:20 +0000 (13:36 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 10 Jan 2018 16:55:23 +0000 (16:55 +0000)
Hi,

Triggered by:
https://forum.ipfire.org/viewtopic.php?f=4&t=19998#p112930

Added 'Older'/'Newer'-links for better page browsing.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/logs.cgi/urlfilter.dat

index ce642e1cb539732029e409375f78ca9392aadc5e..221ed74ac6ef2574da7e2495e1e7298c70a6fe78 100644 (file)
@@ -304,6 +304,10 @@ if ($cgiparams{'LOGTYPE'} eq 'urlfilter')
 
 if ($logsettings{'LOGVIEW_REVERSE'} eq 'on') { @slice = reverse @slice; }
 
+if ($lines != 0) {
+
+&oldernewer();
+
 if ($lines)
 {
 
@@ -369,7 +373,7 @@ if ($lines)
        print "</table><br>\n";
 
 }
-
+}
 &oldernewer();
 
 &Header::closebox();