mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
85ea291085
commit
c875156313
@ -18,11 +18,11 @@ $page_cfg['include_bbcode_js'] = true;
|
||||
$tracking_topics = get_tracks('topic');
|
||||
|
||||
$user_id = $userdata['user_id'];
|
||||
if (isset($_GET['uid']))
|
||||
if (isset($_GET[POST_USERS_URL]))
|
||||
{
|
||||
if (get_username($_GET['uid']))
|
||||
if (get_username($_GET[POST_USERS_URL]))
|
||||
{
|
||||
if ($_GET['uid'] == $userdata['user_id'] || IS_ADMIN) $user_id = DB()->escape($_GET['uid']);
|
||||
if ($_GET[POST_USERS_URL] == $userdata['user_id'] || IS_ADMIN) $user_id = DB()->escape($_GET[POST_USERS_URL]);
|
||||
else bb_die($lang['NOT_AUTHORISED']);
|
||||
}
|
||||
else bb_die($lang['USER_NOT_EXIST']);
|
||||
|
@ -376,7 +376,7 @@ ajax.callback.gen_passkey = function(data){
|
||||
[ <a href="{U_SEARCH_USER}" class="med">{L_SEARCH_USER_POSTS}</a> ]
|
||||
[ <a href="{U_SEARCH_TOPICS}" class="med">{L_SEARCH_USER_TOPICS}</a> ]
|
||||
[ <a href="{U_SEARCH_RELEASES}" class="med">{L_SEARCH_RELEASES}</a> ]
|
||||
<!-- IF PROFILE_USER || IS_ADMIN -->[ <a href="{U_WATCHED_TOPICS}&uid={PROFILE_USER_ID}" class="med">{L_WATCHED_TOPICS}</a> ]<!-- ENDIF -->
|
||||
<!-- IF PROFILE_USER || IS_ADMIN -->[ <a href="{U_WATCHED_TOPICS}&u={PROFILE_USER_ID}" class="med">{L_WATCHED_TOPICS}</a> ]<!-- ENDIF -->
|
||||
[ <a title="{L_ATOM_SUBSCRIBE}" href="#" onclick="return post2url('feed.php', {mode: 'get_feed_url', type: 'u', id: {PROFILE_USER_ID}})">{FEED_IMG}</a> ]
|
||||
</p>
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user