cvs: pearweb /public_html admin.php
| From: | Stig Bakken | Date: | Sat, 11 Jan 2003 23:27:52 +0000 |
| Subject: | cvs: pearweb /public_html admin.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8198@lists.php.net to get a copy of this message | ||
ssb Sat Jan 11 18:27:52 2003 EDT
Modified files:
/pearweb/public_html admin.php
Log:
* don't show rejected accounts in the "Account Requests" table
Index: pearweb/public_html/admin.php
diff -u pearweb/public_html/admin.php:1.22 pearweb/public_html/admin.php:1.23
--- pearweb/public_html/admin.php:1.22 Sat Dec 14 12:14:07 2002
+++ pearweb/public_html/admin.php Sat Jan 11 18:27:52 2003
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: admin.php,v 1.22 2002/12/14 17:14:07 mj Exp $
+ $Id: admin.php,v 1.23 2003/01/11 23:27:52 ssb Exp $
*/
auth_require(true);
@@ -223,7 +223,9 @@
foreach ($requests as $handle => $data) {
list($name, $note) = $data;
$rejected = (preg_match("/^Account rejected:/", $note));
-
+ if ($rejected) {
+ continue;
+ }
$bb->plainRow($name,
$handle,
($rejected ? "rejected" : "<font
color=\"#FF0000\">open</font>"),