1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01:00

user status styling

This commit is contained in:
Cameron 2013-02-19 13:28:50 -08:00
parent 104534d26f
commit 73fc4b4e2b

View File

@ -1877,7 +1877,12 @@ class users_admin_form_ui extends e_admin_form_ui
function user_ban($curval,$mode)
{
$bo = array('Active',LAN_BANNED,LAN_NOTVERIFIED,LAN_BOUNCED);
$bo = array(
'<span class="label label-success">Active</span>',
"<span class='label label-important'>".LAN_BANNED."</span>",
"<span class='label'>".LAN_NOTVERIFIED."</span>",
"<span class='label label-inverse'>".LAN_BOUNCED."</span>"
);
if($mode == 'filter' || $mode == 'batch')
{
@ -1934,6 +1939,7 @@ class users_admin_form_ui extends e_admin_form_ui
{
$row = $this->getController()->getListModel()->getData();
$text = "";
if ($row['user_perms'] == "0")
{
@ -1952,7 +1958,7 @@ class users_admin_form_ui extends e_admin_form_ui
else
if ($row['user_ban'] == 2)
{
$text .= "<div style='padding-left:3px;padding-right:3px;text-align:center;white-space:nowrap' >".LAN_NOTVERIFIED."</div>";
$text .= "<div class='label' style='padding-left:3px;padding-right:3px;text-align:center;white-space:nowrap' >".LAN_NOTVERIFIED."</div>";
}
else
if ($row['user_ban'] == 3)