Update admin_users page
This commit is contained in:
parent
0f88a6204a
commit
61ba4e7603
6 changed files with 15 additions and 15 deletions
|
@ -213,14 +213,14 @@ if (isset($_GET['show_users']))
|
|||
{
|
||||
$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&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>' : ' ';
|
||||
|
||||
?>
|
||||
<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&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']) : ' ' ?></td>
|
||||
<td class="tcr"><?php echo $actions ?></td>
|
||||
</tr>
|
||||
|
@ -890,14 +890,14 @@ else if (isset($_GET['find_user']))
|
|||
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&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>' : ' ';
|
||||
|
||||
?>
|
||||
<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&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']) : ' ' ?></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>
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
}
|
||||
|
||||
#users2 .tcr {
|
||||
width: 20%;
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
#bans1 .tcr {
|
||||
|
@ -152,7 +152,7 @@
|
|||
}
|
||||
|
||||
#users2 .tcmod {
|
||||
width: 10%;
|
||||
width: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
}
|
||||
|
||||
#users2 .tcr {
|
||||
width: 20%;
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
#bans1 .tcr {
|
||||
|
@ -152,7 +152,7 @@
|
|||
}
|
||||
|
||||
#users2 .tcmod {
|
||||
width: 10%;
|
||||
width: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
}
|
||||
|
||||
#users2 .tcr {
|
||||
width: 20%;
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
#bans1 .tcr {
|
||||
|
@ -152,7 +152,7 @@
|
|||
}
|
||||
|
||||
#users2 .tcmod {
|
||||
width: 10%;
|
||||
width: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
}
|
||||
|
||||
#users2 .tcr {
|
||||
width: 20%;
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
#bans1 .tcr {
|
||||
|
@ -152,7 +152,7 @@
|
|||
}
|
||||
|
||||
#users2 .tcmod {
|
||||
width: 10%;
|
||||
width: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ***/
|
||||
|
|
Loading…
Reference in a new issue