Skip to content

Commit

Permalink
Update admin_users page
Browse files Browse the repository at this point in the history
  • Loading branch information
MioVisman committed Jun 30, 2023
1 parent 0f88a62 commit 61ba4e7
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions admin_users.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,14 @@
{
$user_title = get_title($user_data[$cur_poster['poster_id']]);

$actions = '<a href="admin_users.php?ip_stats='.$user_data[$cur_poster['poster_id']]['id'].'">'.$lang_admin_users['Results view IP link'].'</a> | <a href="search.php?action=show_user_posts&amp;user_id='.$user_data[$cur_poster['poster_id']]['id'].'">'.$lang_admin_users['Results show posts link'].'</a>';
$actions = $pun_user['g_id'] == PUN_ADMIN ? '<a href="admin_users.php?ip_stats='.$user_data[$cur_poster['poster_id']]['id'].'">'.$lang_admin_users['Results view IP link'].'</a>' : '&#160;';

?>
<tr>
<td class="tcl"><?php echo '<a href="profile.php?id='.$user_data[$cur_poster['poster_id']]['id'].'">'.pun_htmlspecialchars($user_data[$cur_poster['poster_id']]['username']).'</a>' ?></td>
<td class="tc2"><a href="mailto:<?php echo pun_htmlspecialchars($user_data[$cur_poster['poster_id']]['email']) ?>"><?php echo pun_htmlspecialchars($user_data[$cur_poster['poster_id']]['email']) ?></a></td>
<td class="tc3"><?php echo $user_title ?></td>
<td class="tc4"><?php echo forum_number_format($user_data[$cur_poster['poster_id']]['num_posts']) ?></td>
<td class="tc4"><a href="search.php?action=show_user_posts&amp;user_id=<?php echo $user_data[$cur_poster['poster_id']]['id'] ?>"><?php echo forum_number_format($user_data[$cur_poster['poster_id']]['num_posts']) ?></a></td>
<td class="tc5"><?php echo ($user_data[$cur_poster['poster_id']]['admin_note'] != '') ? pun_htmlspecialchars($user_data[$cur_poster['poster_id']]['admin_note']) : '&#160;' ?></td>
<td class="tcr"><?php echo $actions ?></td>
</tr>
Expand Down Expand Up @@ -890,14 +890,14 @@
if (($user_data['g_id'] == '' || $user_data['g_id'] == PUN_UNVERIFIED) && $user_title != $lang_common['Banned'])
$user_title = '<span class="warntext">'.$lang_admin_users['Not verified'].'</span>';

$actions = ($pun_user['g_id'] == PUN_ADMIN ? '<a href="admin_users.php?ip_stats='.$user_data['id'].'">'.$lang_admin_users['Results view IP link'].'</a> | ' : '').'<a href="search.php?action=show_user_posts&amp;user_id='.$user_data['id'].'">'.$lang_admin_users['Results show posts link'].'</a>';
$actions = $pun_user['g_id'] == PUN_ADMIN ? '<a href="admin_users.php?ip_stats='.$user_data['id'].'">'.$lang_admin_users['Results view IP link'].'</a>' : '&#160;';

?>
<tr>
<td class="tcl"><?php echo '<a href="profile.php?id='.$user_data['id'].'">'.pun_htmlspecialchars($user_data['username']).'</a>' ?></td>
<td class="tc2"><a href="mailto:<?php echo pun_htmlspecialchars($user_data['email']) ?>"><?php echo pun_htmlspecialchars($user_data['email']) ?></a></td>
<td class="tc3"><?php echo $user_title ?></td>
<td class="tc4"><?php echo forum_number_format($user_data['num_posts']) ?></td>
<td class="tc4"><a href="search.php?action=show_user_posts&amp;user_id=<?php echo $user_data['id'] ?>"><?php echo forum_number_format($user_data['num_posts']) ?></a></td>
<td class="tc5"><?php echo ($user_data['admin_note'] != '') ? pun_htmlspecialchars($user_data['admin_note']) : '&#160;' ?></td>
<td class="tcr"><?php echo $actions ?></td>
<?php if ($can_action): ?> <td class="tcmod"><input type="checkbox" name="users[<?php echo $user_data['id'] ?>]" value="1" /></td>
Expand Down
4 changes: 2 additions & 2 deletions style/Air/base_admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
}

#users2 .tcr {
width: 20%;
width: 10%;
}

#bans1 .tcr {
Expand All @@ -152,7 +152,7 @@
}

#users2 .tcmod {
width: 10%;
width: 2em;
text-align: center;
}

Expand Down
4 changes: 2 additions & 2 deletions style/Earth/base_admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
}

#users2 .tcr {
width: 20%;
width: 10%;
}

#bans1 .tcr {
Expand All @@ -152,7 +152,7 @@
}

#users2 .tcmod {
width: 10%;
width: 2em;
text-align: center;
}

Expand Down
4 changes: 2 additions & 2 deletions style/Fire/base_admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
}

#users2 .tcr {
width: 20%;
width: 10%;
}

#bans1 .tcr {
Expand All @@ -152,7 +152,7 @@
}

#users2 .tcmod {
width: 10%;
width: 2em;
text-align: center;
}

Expand Down
4 changes: 2 additions & 2 deletions style/GrayOrange/base_admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
}

#users2 .tcr {
width: 20%;
width: 10%;
}

#bans1 .tcr {
Expand All @@ -152,7 +152,7 @@
}

#users2 .tcmod {
width: 10%;
width: 2em;
text-align: center;
}

Expand Down
6 changes: 3 additions & 3 deletions style/imports/base_admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ table#forumperms .atcl {text-align: left; width: 15em; white-space: nowrap}

/*** User/Ban Search Result Tables ***/
#users2 th, #bans1 th {text-align: left}
#users2 th.tcmod {text-align: center}
#users2 th.tcmod {text-align: center; overflow: hidden;}
#users2 .tcl, #bans1 .tcl {width: auto; text-align: left; padding: 4px 6px}
#users2 .tc2, #bans1 .tc2 {width: 18%; text-align: left; padding: 4px 6px}
#users2 .tc3, #users2 .tc5, #bans1 .tc3, #bans1 .tc5, #bans1 .tc6 {width: 12%; text-align: left; padding: 4px 6px}
#users2 .tc4, #bans1 .tc4 {width: 10%; text-align: center}
#users2 .tcr {width: 20%;}
#users2 .tcr {width: 10%;}
#bans1 .tcr {width: 15%; white-space: nowrap}
#users2 .tcmod {width: 10%; text-align: center}
#users2 .tcmod {width: 2em; text-align: center}
#adminconsole #linkst, #adminconsole #linksb a {font-weight: bold}

/*** Plugins ***/
Expand Down

0 comments on commit 61ba4e7

Please sign in to comment.