gforge-commits
[Top][All Lists]
Advanced

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

[Gforge-commits] gforge/www/account login.php,1.12,1.13


From: cbayle
Subject: [Gforge-commits] gforge/www/account login.php,1.12,1.13
Date: Thu, 15 Jul 2004 16:08:32 -0500

Update of /cvsroot/gforge/gforge/www/account
In directory db.perdue.net:/tmp/cvs-serv13757/www/account

Modified Files:
        login.php 
Log Message:
Introduced $userstatus 


Index: login.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/account/login.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- login.php   21 Apr 2004 21:49:19 -0000      1.12
+++ login.php   15 Jul 2004 21:08:29 -0000      1.13
@@ -71,14 +71,12 @@
 
 if ($login && !$success) {
                
-       if ($feedback == "Account Pending") {
-
+       // Account Pending
+       if ($userstatus == "P") {
                echo $Language->getText('account_login', 'pending_account', 
array($form_loginname));
-
        } else {
-               
                echo '<h2 style="color:red">'. $feedback .'</h2>';
-               if (stristr($feedback, "deleted")) {
+               if ($userstatus == "D") {
                        echo $Language->getText('account_login', 
'deleted_account', $GLOBALS[sys_name]);
                }
        } //end else





reply via email to

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