From f206df84d1227d625cb7f936b594565a4e603e7b Mon Sep 17 00:00:00 2001 From: Jean-Marc Pigeon Date: Thu, 27 Nov 2025 15:21:41 -0500 Subject: [PATCH] Adding search and display at the lvlmai page if too many items --- www/lvlmai.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/lvlmai.php b/www/lvlmai.php index 9d7d6ea..50c2b64 100644 --- a/www/lvlmai.php +++ b/www/lvlmai.php @@ -26,6 +26,7 @@ $debut=$offset+1; $email=gettranslate($userlang,"Received email"); $STR = <<
@@ -79,6 +80,7 @@ $email:
+ EOT; return $STR; @@ -187,6 +189,9 @@ $stop=endhtml(); $top=topper($isadmin,$logname,"$myfilename"); $footer=footer("$myfilename"); $tblheader=tblheader($username,$numrec,$offset,$limit); +$tblfooter=""; +if ($limit>30) + $tblfooter=$tblheader; $rqst->close(); @@ -195,7 +200,6 @@ $STR = << - $tblheader
@@ -210,7 +214,7 @@ $tblheader $line
- +$tblfooter
$footer -- 2.47.3