From 9f22cd5d254525fcefd6fb43a5724559424ddfa3 Mon Sep 17 00:00:00 2001 From: Jean-Marc Pigeon Date: Mon, 24 Nov 2025 14:48:03 -0500 Subject: [PATCH] Improving myfilename definition within lvlmai.php --- www/lvlmai.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/www/lvlmai.php b/www/lvlmai.php index 97326b7..6693eaa 100644 --- a/www/lvlmai.php +++ b/www/lvlmai.php @@ -10,6 +10,12 @@ include_once "unienv.php"; include_once "gesdis.php"; include_once "gessql.php"; + +//Defining the applcation name +global $myfilename; +$myfilename="lvlmai"; + + function tblheader(string $remoteip,int $numrec,int $offset,int $limit) { @@ -21,7 +27,7 @@ $email=gettranslate($userlang,"Received email"); $STR = << -
+ @@ -49,7 +55,7 @@ $STR = << - + $email: @@ -172,8 +178,8 @@ foreach($actions as $action) { } $start=starthtml(NULL); $stop=endhtml(); -$top=topper($isadmin,$logname,"lvlmai"); -$footer=footer("lvlmai"); +$top=topper($isadmin,$logname,"$myfilename"); +$footer=footer("$myfilename"); $tblheader=tblheader($username,$numrec,$offset,$limit); $rqst->close(); -- 2.47.3