Added text decoration depending on user status
This commit is contained in:
parent
9bab32d2ae
commit
cd6cfc3e78
1 changed files with 4 additions and 1 deletions
|
@ -129,12 +129,15 @@ class editusers_panel extends admin_module{
|
|||
foreach($user as $u){
|
||||
if($u['active']==1){
|
||||
$u['activetext']=$lang->_('ACTIVE');
|
||||
$u['activestyle']='';
|
||||
}elseif($u['active']==2){
|
||||
$u['activetext']=$lang->_('BANNED');
|
||||
$u['activestyle']='style="text-decoration:line-through;"';
|
||||
}else{
|
||||
$u['activetext']=$lang->_('INACTIVE');
|
||||
$u['activestyle']='style="font-style:italic;"';
|
||||
}
|
||||
$panel->content.="<tr>
|
||||
$panel->content.="<tr ".$u['activestyle'].">
|
||||
<td align=\"center\">".$u["uid"]."</td>
|
||||
<td align=\"center\">".$u["username"]."</td>
|
||||
<td align=\"center\">".$u["realname"]."</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue