From: Jean-Marc Pigeon Date: Fri, 12 Dec 2025 12:25:13 +0000 (-0500) Subject: Somme progress about translation X-Git-Tag: tag-0.19~7 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=e34e72b2d6a71e022d264ee89eda1ae6d5560d4e;p=jmp%2Fmailleur Somme progress about translation --- diff --git a/www/gesdis.php b/www/gesdis.php index 3bf19e8..649ec2d 100644 --- a/www/gesdis.php +++ b/www/gesdis.php @@ -39,7 +39,7 @@ switch ($pageref) { $sellang=""; break; case "lvlmai" : - $entete=gettranslate($userlang,"Main screen"); + $entete="Main screen"; $out=gettranslate($userlang,"Logout"); if ($isadmin==true) { $remotes=gettranslate($userlang,"SMTP server"); @@ -176,10 +176,12 @@ return $STR; function starthtml($js) { +$curtime=time(); //Loading time stamp + $JSTR=NULL; if ($js!=NULL) { $JSTR = << + EOT; } diff --git a/www/index.php b/www/index.php deleted file mode 100644 index d0f465a..0000000 --- a/www/index.php +++ /dev/null @@ -1,142 +0,0 @@ - - - - - Authentication - - - - - - - - -
-
- - - - - - - - - - -
Email: - - -
Password: - - - Show -
- - - - - -
- - - - - -
- -
-
-
-
- - - -
-
- -EOT; - -return $STR; -} - -//============================================================== -// -// To display login screen body -// -//============================================================== -function body() - -{ -global $isadmin; - -$start=starthtml("translations"); -$stop=endhtml(); -$top=topper($isadmin,NULL,"lvllog"); -$footer=footer("lvllog"); -$login=login(); - -$STR = <<"; - echo "alert('wrong username or password. Please try again.');"; - echo ""; - break; - default : - header('Location: lvlmai.php'); - break; - } - } - -//display main screen -echo body(); -?> - - - diff --git a/www/index.php b/www/index.php new file mode 120000 index 0000000..336b484 --- /dev/null +++ b/www/index.php @@ -0,0 +1 @@ +lvllog.php \ No newline at end of file diff --git a/www/translations.js b/www/translations.js index 6b8db51..b0005a0 100644 --- a/www/translations.js +++ b/www/translations.js @@ -5,6 +5,7 @@ const TR = [ ["Authentication", "Authentification"], ["Email", "Courriel"], ["Login", "Connexion"], + ["Main screen", "Ecran Principal"], ["Originator", "Expediteur"], ["Password", "Mot de passe"], ["Recipient", "Destinataire"], diff --git a/www/unilng.php b/www/unilng.php index 439b715..41b2b19 100644 --- a/www/unilng.php +++ b/www/unilng.php @@ -34,7 +34,6 @@ function gettranslate(lng $lang,$mot) { global $TR; -rou_alert(0,"JMPDBG lang="); foreach ($TR as $row) { if ($row[0]===$mot) { switch ($lang) {