mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1461)
* Minor improvements * Update edit_user_profile.php * Update init_bb.php * Update init_bb.php * Update init_bb.php * Update usercp_register.tpl * Update admin_ug_auth.php * Update admin_ug_auth.tpl * Update tpl_config.php * Update viewprofile.php * Update group_membership.php * Update group_membership.php * Update viewtopic.tpl * Update admin_ug_auth.php * Update functions.php * Update admin_ug_auth.php * Update admin_ug_auth.php * Update admin_ug_auth.php * Update admin_forums.php * Update admin_forums.php * Update posting_tpl.php * Update viewforum.php * Update viewforum.tpl * Update admin_forums.php * Update admin_ug_auth.php * Update admin_ug_auth.php * Update usercp_viewprofile.tpl * Update register.php * Update admin_ug_auth.php * Update admin_ug_auth.php * Update posts.php * Update posting_tpl.php * Update viewforum.php * Update admin_forums.php * Update admin_forums.php * Update admin_forumauth.php * Update index_map.tpl * Update index.tpl * Update index.tpl * Update group.php * Update viewtopic.tpl * Update change_torrent.php * Update viewtopic.tpl * Update viewtopic.php * Update viewtopic.php * Update admin_log.php * Update search.php * Update usercp_register.tpl * Update CHANGELOG.md
This commit is contained in:
parent
9d3bc2c178
commit
0ca5fe3abe
26 changed files with 83 additions and 85 deletions
|
@ -38,7 +38,7 @@ switch ($mode) {
|
|||
$href = GROUP_URL . $row['group_id'];
|
||||
|
||||
if (IS_ADMIN) {
|
||||
$href .= "&u=$user_id";
|
||||
$href .= "&" . POST_USERS_URL . "=$user_id";
|
||||
$link = '<a href="' . $href . '" class="' . $class . '" target="_blank">' . htmlCHR($row['group_name']) . '</a>';
|
||||
$html[] = $link;
|
||||
} else {
|
||||
|
@ -48,7 +48,7 @@ switch ($mode) {
|
|||
}
|
||||
if ($row['group_moderator'] == $user->id) {
|
||||
$class .= ' selfMod';
|
||||
$href .= "&u=$user_id"; // сам юзер модератор этой группы
|
||||
$href .= "&" . POST_USERS_URL . "=$user_id"; // сам юзер модератор этой группы
|
||||
}
|
||||
$link = '<a href="' . $href . '" class="' . $class . '" target="_blank">' . htmlCHR($row['group_name']) . '</a>';
|
||||
$html[] = $link;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue