Last active
May 12, 2017 21:24
-
-
Save dlenettr/cedf57426379453f52324e0a8a659785 to your computer and use it in GitHub Desktop.
Yorum alanında kullanıcı ismi renkleri (2594)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dosya: engine/modules/show.full.php | |
Bul: | |
$tpl->set( '{login}', $row['autor'] ); | |
Altına ekle: | |
$_user = $db->super_query( "SELECT user_group FROM " . PREFIX . "_users WHERE name = '{$row['autor']}'" ); | |
$tpl->set( '{author-color}', "<a onclick=\"ShowProfile('" . urlencode( $row['autor'] ) . "', '" . $go_page . "', '" . $user_group[$member_id['user_group']]['admin_editusers'] . "'); return false;\" href=\"" . $go_page . "\">" . $user_group[$_user['user_group']]['group_prefix'] . $row['autor'] . $user_group[$_user['user_group']]['group_suffix'] . "</a>" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment