Skip to content

Commit

Permalink
Update user_list.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Jan 23, 2025
1 parent 3c9e463 commit 10e8429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trunk/web/admin/user_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<td><?php echo $MSG_LAST_LOGIN?></td>
<td><?php echo $MSG_REGISTER?></td>
<td><?php echo $MSG_EXPIRY_DATE?></td>
<td><?php echo $MSG_DELETE?></td>
<td><?php echo isset($_GET['trash'])?$MSG_CLICK_TO_RECOVER:$MSG_DELETE?></td>
<td><?php echo $MSG_SETPASSWORD?></td>
<td><?php echo $MSG_PRIVILEGE."-".$MSG_ADD ?></td>
</tr>
Expand Down Expand Up @@ -100,7 +100,7 @@

if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) && $row['user_id']!=$_SESSION[$OJ_NAME."_user_id"]){
echo "<td><a href=user_df_change.php?cid=".$row['user_id']."&getkey=".$_SESSION[$OJ_NAME.'_'.'getkey'].">".
($row['defunct']=="N"?"<span class='label label-danger' title='$MSG_CLICK_TO_DELETE'>$MSG_CLICK_TO_DELETE</span>":"<span class='label label-success' title='$MSG_CLICK_TO_RECOVER'>$MSG_CLICK_TO_RECOVER</span>")
($row['defunct']=="N"?"<span class='label label-danger' title='$MSG_CLICK_TO_DELETE'>$MSG_DELETE</span>":"<span class='label label-success' title='$MSG_CLICK_TO_RECOVER'>$MSG_CLICK_TO_RECOVER</span>")
."</a></td>";
}
else {
Expand Down

0 comments on commit 10e8429

Please sign in to comment.