noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 05/05: add version + alert if password or use


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 05/05: add version + alert if password or user not correct
Date: Sat, 29 Aug 2015 08:56:36 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit bd05d8d6c51279392e724de43e84870f3c1cbacd
Author: Dany De Bontridder <address@hidden>
Date:   Sat Aug 29 10:51:18 2015 +0200

    add version  + alert if password or user not correct
---
 html/index.php         |    2 +-
 include/class_user.php |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/index.php b/html/index.php
index bf580d5..79cffa0 100644
--- a/html/index.php
+++ b/html/index.php
@@ -226,7 +226,7 @@ if (isset ($_REQUEST['reconnect']) && isset 
($_REQUEST['backurl'])) {
 }
 echo '
 <span 
style="background-color:#879ed4;color:white;padding-left:4px;padding-right:4px;">
-version  6.8.1.8 - '.$my_domain.'
+version  6.8.1.9 - '.$my_domain.'
 </span>
 <BR>
 <BR>
diff --git a/include/class_user.php b/include/class_user.php
index a856114..29a37d9 100644
--- a/include/class_user.php
+++ b/include/class_user.php
@@ -193,7 +193,7 @@ class User
                        $cn->exec_sql($sql, array($_SESSION['g_user'], 
$_SERVER["REMOTE_ADDR"], $from, $_SERVER['REQUEST_URI'], 'FAIL'));
                        if (!$silent)
                        {
-                               alert(_('Utilisateur ou mot de passe 
incorrect'));
+                               echo '<script> alert(\''._('Utilisateur ou mot 
de passe incorrect').'\')</script>';
                                redirect('index.html');
                        }
                        $this->valid = 0;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]