|
@@ -641,7 +641,7 @@ function template_single_post($message, $force_alternate = null)
|
|
|
// Don't show the email address if they want it hidden.
|
|
|
if (in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')) && $context['can_send_email'])
|
|
|
echo '
|
|
|
- <li><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.png" alt="' . $txt['email'] . '" title="' . $txt['email'] . '" />' : $txt['email']), '</a></li>';
|
|
|
+ <li><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<span class="generic_icons mail icon" title="' . $txt['email'] . '" style="vertical-align:middle"></span>' : $txt['email']), '</a></li>';
|
|
|
|
|
|
|
|
|
// Since we know this person isn't a guest, you *can* message them.
|
|
@@ -668,7 +668,7 @@ function template_single_post($message, $force_alternate = null)
|
|
|
// Otherwise, show the guest's email.
|
|
|
elseif (!empty($message['member']['email']) && in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')) && $context['can_send_email'])
|
|
|
echo '
|
|
|
- <li class="email"><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.png" alt="' . $txt['email'] . '" title="' . $txt['email'] . '" />' : $txt['email']), '</a></li>';
|
|
|
+ <li class="email"><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<span class="generic_icons mail icon" title="' . $txt['email'] . '" style="vertical-align:middle"></span>' : $txt['email']), '</a></li>';
|
|
|
|
|
|
// Show the IP to this user for this post - because you can moderate?
|
|
|
if (!empty($context['can_moderate_forum']) && !empty($message['member']['ip']))
|