mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#914)
This commit is contained in:
parent
cb48b4dd98
commit
5e42154272
4 changed files with 8 additions and 6 deletions
|
@ -49,7 +49,7 @@ if (IS_ADMIN) {
|
|||
$rank_select = build_select('rank-sel', $rank_select, $user_rank);
|
||||
}
|
||||
|
||||
if (bf($profiledata['user_opt'], 'user_opt', 'user_viewemail') || $profiledata['user_id'] == $userdata['user_id'] || IS_AM) {
|
||||
if (bf($profiledata['user_opt'], 'user_opt', 'user_viewemail') || $profiledata['user_id'] == $userdata['user_id'] || IS_ADMIN) {
|
||||
$email_uri = ($bb_cfg['board_email_form']) ? 'profile.php?mode=email&' . POST_USERS_URL . '=' . $profiledata['user_id'] : 'mailto:' . $profiledata['user_email'];
|
||||
$email = '<a class="editable" href="' . $email_uri . '">' . $profiledata['user_email'] . '</a>';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue