|
@@ -354,17 +354,17 @@ function template_main()
|
|
|
// Show the IP to this user for this post - because you can moderate?
|
|
|
if (!empty($context['can_moderate_forum']) && !empty($message['member']['ip']))
|
|
|
echo '
|
|
|
- <li class="poster_ip"><a href="', $scripturl, '?action=', !empty($message['member']['is_guest']) ? 'trackip' : 'profile;area=tracking;sa=ip;u=' . $message['member']['id'], ';searchip=', $message['member']['ip'], '">', $message['member']['ip'], '</a> <a href="', $scripturl, '?action=helpadmin;help=see_admin_ip" onclick="return reqWin(this.href);" class="help">(?)</a></li>';
|
|
|
+ <li class="poster_ip"><a href="', $scripturl, '?action=', !empty($message['member']['is_guest']) ? 'trackip' : 'profile;area=tracking;sa=ip;u=' . $message['member']['id'], ';searchip=', $message['member']['ip'], '">', $message['member']['ip'], '</a> <a href="', $scripturl, '?action=helpadmin;help=see_admin_ip" onclick="return reqOverlayDiv(this.href);" class="help">(?)</a></li>';
|
|
|
|
|
|
// Or, should we show it because this is you?
|
|
|
elseif ($message['can_see_ip'])
|
|
|
echo '
|
|
|
- <li class="poster_ip"><a href="', $scripturl, '?action=helpadmin;help=see_member_ip" onclick="return reqWin(this.href);" class="help">', $message['member']['ip'], '</a></li>';
|
|
|
+ <li class="poster_ip"><a href="', $scripturl, '?action=helpadmin;help=see_member_ip" onclick="return reqOverlayDiv(this.href);" class="help">', $message['member']['ip'], '</a></li>';
|
|
|
|
|
|
// Okay, are you at least logged in? Then we can show something about why IPs are logged...
|
|
|
elseif (!$context['user']['is_guest'])
|
|
|
echo '
|
|
|
- <li class="poster_ip"><a href="', $scripturl, '?action=helpadmin;help=see_member_ip" onclick="return reqWin(this.href);" class="help">', $txt['logged'], '</a></li>';
|
|
|
+ <li class="poster_ip"><a href="', $scripturl, '?action=helpadmin;help=see_member_ip" onclick="return reqOverlayDiv(this.href);" class="help">', $txt['logged'], '</a></li>';
|
|
|
|
|
|
// Otherwise, you see NOTHING!
|
|
|
else
|