mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Display of ban status accurately reflects ban
This commit is contained in:
@@ -10,9 +10,9 @@
|
|||||||
* Administration Area - Users
|
* Administration Area - Users
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $
|
||||||
* $Revision: 1.71 $
|
* $Revision: 1.72 $
|
||||||
* $Date: 2009-11-23 01:17:29 $
|
* $Date: 2010-02-07 18:32:35 $
|
||||||
* $Author: e107coders $
|
* $Author: e107steved $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
require_once ('../class2.php');
|
require_once ('../class2.php');
|
||||||
@@ -1203,6 +1203,10 @@ class users
|
|||||||
return $prm->renderPerms($row[$key],$row['user_id']);
|
return $prm->renderPerms($row[$key],$row['user_id']);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'user_ban' :
|
||||||
|
return ($row[$key] == 1) ? ADMIN_TRUE_ICON : ''; // We may want to show more of the status later
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch($type) // switch based on type.
|
switch($type) // switch based on type.
|
||||||
|
Reference in New Issue
Block a user